IOlkErrorUnknown::GetLastError

IOlkErrorUnknown::GetLastError

Gets a message string for the specified error.

Quick Info

See IOlkErrorUnknown.

  HRESULT IOlkErrorUnknown::GetLastError( 
	HRESULT hr,
	LPWSTR *ppwszError
);

Parameters

hr

[in] Error code to look up.

ppwszError

[out] Error message corresponding to hr.

Return Values

E_INVALIDARG

A specified argument is not valid.

See Also

Constants for the Account Management API