IHTMLElement2::readyStateValue Property

Gets the current state of the object.

Syntax

HRESULT IHTMLElement2::get_readyStateValue(long *p);

Parameters

  • p
    Pointer to a variable of type long that receives one of the values listed in Possible Values.

Possible Values

0 Uninitialized
1 Loading
2 Loaded
3 Interactive
4 Complete

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLElement2::readyState