Retrieves the current state of the object.
HRESULT IHTMLObjectElement::get_readyState(long *p);
- Pointer to a variable of type long that receives one of the values listed in Possible Values.
0 Object is not initialized with data. 1 Object is loading its data. 2 Object has finished loading its data. 3 User can interact with the object even though it is not fully loaded. 4 Object is completely initialized.
Returns S_OK if successful, or an error value otherwise.