OleIsRunning function
Determines whether a compound document object is currently in the running state.
Syntax
BOOL OleIsRunning( _In_ LPOLEOBJECT pObject );
Parameters
- pObject [in]
-
Pointer to the IOleObject interface on the object of interest.
Return value
The return value is TRUE if the object is running; otherwise, it is FALSE.
Remarks
You can use OleIsRunning and IRunnableObject::IsRunning interchangeably. OleIsRunning queries the object for a pointer to the IRunnableObject interface and calls its IRunnableObject::IsRunning method. If successful, the function returns the results of the call to IRunnableObject::IsRunning.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: