Retrieves the current state of the object.
HRESULT IHTMLElement2::get_readyState(VARIANT *p);
- Pointer to a variable of type VARIANT that receives one of the values listed in 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.
Returns S_OK if successful, or an error value otherwise.
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.