IDStorageStatusArray::GetHResult method (dstorage.h)
Returns the HRESULT code of all requests between the specified status entry and the status entry enqueued before it.
Syntax
HRESULT GetHResult(
UINT32 index
);
Parameters
index
Specifies the index of the status entry to retrieve.
Return value
HRESULT code of the requests.
Remarks
If any requests have not completed yet, then the return value is E_PENDING.
If all requests have completed, and there were failure(s), then the return value stores the failure code of the first failed request in the enqueue order.
If all requests have completed successfully, then the return value is S_OK.
Requirements
Header | dstorage.h |