GetHResult
Applies To: Windows 8, Windows 8.1
Returns an HRESULT value that indicates the error code.
HRESULT GetHResult
([out, retval] HRESULT* pHResult)
;
Parameters
- pHResult
[out] Pointer to the HRESULT value that indicates the error code.
Return Value
The following table describes possible return values.
Return Value | Description |
---|---|
S_OK |
The function successfully returned the error code. |
E_POINTER |
Invalid pointer. |