OLESTATUS OleQueryOpen(lpObject)
LPOLEOBJECT lpObject;
The OleQueryOpen function checks whether the specified object is open.
Parameter | Description |
lpObject | Points to the object to query. |
The return value is OLE_OK if the object is open; otherwise, it could be one of the following:
OLE_ERROR_OBJECT
OLE_ERROR_NOT_OPEN
See AlsoOleActivate