IHTMLElement2::readyState Property
Retrieves the current state of the object.
Syntax
HRESULT IHTMLElement2::get_readyState(VARIANT *p);
Parameters
- p
Pointer to a variable of type VARIANT that receives one of the values listed in Possible Values.
Possible Values
uninitialized Object is not initialized with data. loading Object is loading its data. loaded Object has finished loading its data. interactive User can interact with the object even though it is not fully loaded. complete Object is completely initialized.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The states through which an object passes are determined by that object; an object can skip certain states (for example,
interactive
) if those states do not apply to that object.