This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 5/16/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.