IWebBrowser2::ReadyStateRequirements Runs on Versions Defined in Include Link to Windows CE OS .NET 4.0 and later Exdisp.h Exdisp.h Shdocvw.dll This method retrieves the ready state of the object.HRESULT IWebBrowser2::get_ReadyState( READYSTATE *plReadyState ); Parameters plReadyState Pointer to a variable that receives one of the READYSTATE enumeration values. Return Values Returns S_OK if successful, or an error value otherwise. //////////////////////////////////////////////////////////////////////////////////READYSTATE Enumerated Type--------------------------------------------------------------------------------Contains values that indicate what state an object is in. Syntaxtypedef enum tagREADYSTATE { READYSTATE_UNINITIALIZED = 0, READYSTATE_LOADING = 1, READYSTATE_LOADED = 2, READYSTATE_INTERACTIVE = 3, READYSTATE_COMPLETE = 4 } READYSTATE;ConstantsREADYSTATE_UNINITIALIZED Default initialization state.READYSTATE_LOADING Object is currently loading its properties.READYSTATE_LOADED Object has been initialized.READYSTATE_INTERACTIVE Object is interactive, but not all of its data is available.READYSTATE_COMPLETE Object has received all of its data.
Runs on Versions Defined in Include Link to
Windows CE OS .NET 4.0 and later Exdisp.h Exdisp.h Shdocvw.dll This method retrieves the ready state of the object.HRESULT IWebBrowser2::get_ReadyState(
READYSTATE *plReadyState
);
Parameters
plReadyState
Pointer to a variable that receives one of the READYSTATE enumeration values.
Return Values
Returns S_OK if successful, or an error value otherwise.
//////////////////////////////////////////////////////////////////////////////////READYSTATE Enumerated Type--------------------------------------------------------------------------------Contains values that indicate what state an object is in. Syntaxtypedef enum tagREADYSTATE {
READYSTATE_UNINITIALIZED = 0,
READYSTATE_LOADING = 1,
READYSTATE_LOADED = 2,
READYSTATE_INTERACTIVE = 3,
READYSTATE_COMPLETE = 4
} READYSTATE;ConstantsREADYSTATE_UNINITIALIZED
Default initialization state.READYSTATE_LOADING
Object is currently loading its properties.READYSTATE_LOADED
Object has been initialized.READYSTATE_INTERACTIVE
Object is interactive, but not all of its data is available.READYSTATE_COMPLETE
Object has received all of its data.