HRESULT SLS_GetErrorMessage( The SLS_GetErrorMessage returns an error message associated with an error code.
Parameters
hr
Specifies an error status code returned from any SLSAPI function
pszErrorMessage
Points to a buffer allocated by caller to receive the error message specified in the error code hr. The minimum length of the buffer is 256 bytes.
Return Values
SLS_SUCCESS if the function is successful. Otherwise an error status code is returned to indicate the cause of the error. |