OleQueryOpen

  OLESTATUS OleQueryOpen(lpObject)    
  LPOLEOBJECT lpObject; /* pointer to object to query */

The OleQueryOpen function determines whether the specified object is open.

Parameters

lpObject

Points to the object to query.

Return Value

The return value is OLE_OK if the object is open. Otherwise, it is an error value, which can be OLE_ERROR_OBJECT, OLE_ERROR_STATIC, or OLE_ERROR_COMM.

See Also

OleActivate