Retrieves the current error code for the error being reported.
Syntax
HRESULT get_errorCode( long *p );
Parameters
- p
- Address of a long variable that receives the error code.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the error code for the error being reported.
Syntax
HRESULT put_errorCode( long v );
Parameters
- v
- Long value that specifies the error code to set.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0