Click to return to the Reusing Browser Technology home page    
IHTMLImgElement::get_prot...     IHTMLImgElement::get_src ...     IHTMLImgElement Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLImgElement::get_readyState Method


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. It can be one of the following values:
complete Object is completely loaded.
interactive Object can be interacted with even though it is not fully loaded.
loading Object is currently being loaded.
unitialized Object is not created.This value usually means that the object is being downloaded.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Each object can independently determine which of the states they expose.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.