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.

See also