IHTMLOptionsHolder::errorCode Property

Retrieves or sets the current error code for the error being reported.

Syntax

HRESULT IHTMLOptionsHolder::get_errorCode(long *p);
HRESULT IHTMLOptionsHolder::put_errorCode(long v);

Parameters

  • p
    Pointer to a variable of type long that receives the error code to set.
  • v
    long that specifies the error code to set.

Return Value

Returns S_OK if successful, or an error value otherwise.