Retrieves the current state of an object being downloaded.
Syntax
HRESULT get_readyState( BSTR *p );
Parameters
- p
- Address of a string (BSTR) variable that receives the state. For details, see the readyState property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Each object can independently determine which of the states it exposes.