Export (0) Print
Expand All

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

Ole2.h

Library

Ole32.lib

DLL

Ole32.dll

See also

IRunnableObject::IsRunning

 

 

Community Additions

ADD
Show:
© 2014 Microsoft