OleIsRunning
Determines
whether a compound document object is currently in the running state.
BOOL OleIsRunning(
LPOLEOBJECT pObject |
//Pointer to the interface |
); |
|
Parameter
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
Note The
implementation of OleIsRunning in earlier versions of OLE differs from
that described here.
See Also