Microsoft DirectX 9.0

IAMExtendedErrorInfo::get_ErrorCode

The get_ErrorCode method retrieves the current error code.

Syntax

HRESULT get_ErrorCode(
  long *  pErrorCode
);

Parameters

pErrorCode

[out] Pointer to a variable that receives the error code.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

See Also