IOlkErrorUnknown::GetLastError
Gets a message string for the specified error.
Quick Info
See IOlkErrorUnknown.
HRESULT IOlkErrorUnknown::GetLastError(
HRESULT hr,
LPWSTR *ppwszError
);
Parameters
- hr
[in] The error code to look up.
- ppwszError
[out] The error message that corresponds to hr.
Return Values
HRESULT | Description |
---|---|
S_OK |
The call succeeded. |
E_INVALIDARG |
One or more arguments are invalid. |