virtual bool CAsyHandler<T>::GetStatus(ULONG *pnAsynchPhase=NULL, ULONG *pnProgress=NULL, ULONG *pnProgressMax=NULL, ULONG nOperation=DBASYNCHOP_OPEN, LPOLESTR *pStrStatusText=NULL, HCHAPTER hChapter=DB_NULL_HCHAPTER);

Return Value

        true if successful; otherwise false.

Parameters

        [out] pnAsynchPhase:

                A pointer to memory in which to return the progress of the asynchronous operation.

        [out] pnProgress:

                A pointer to memory in which to return the current progress of the asynchronous operation.

        [out] pnProgressMax:

                A pointer to memory in which to return the expected maximum value of the pnProgress parameter.

        [in] nOperation:

                The operation for which the asynchronous status is requested. This should be DBASYNCHOP_OPEN.

        [in/out] pStrStatusText:

                A pointer to memory containing extra information of the operation.

        [in] hChapter:

                The chapter handle for a rowset. If the associated OLEDB object is not rowset, it should be DB_NULL_HCHAPTER.

Remark

       Retrieves the status of an asynchronously executing operation. Refers to IDBAsynchStatus::GetStatus.

CAsyHandler<T> Class Overview & Class Members