GetExtendedError
Provides extended error information for certain IDCRL errors. This method may be used to get additional information from another IDCRL method call.
HRESULT GetExtendedError(
IN PassportIdentityHandle hIdentity,
IN LPVOID pReserved,
OUT DWORD *pdwCategory,
OUT DWORD *pdwError,
OUT OPTIONAL LPWSTR *pszErrorBlob
);
Parameters
hIdentity
An identity handle that will contain the extended error information.
pReserved
Reserved for future use.
pdwCategory
An IDCRL_ERROR_CATEGORY enumeration value.
pdwError
The error value.
pszErrorBlob
A string that contains additional error information, such as trace statements, or request or response data.
Requesting the error block is optional. You must free the memory allocated for the error block by calling the PassportFreeMemory method when done using the block.
Return Value
S_OK. Indicates success.