#include <ole.h> |
OLESTATUS OleQueryOpen(lpObject) | |||||
LPOLEOBJECT lpObject; | /* address of object to query | */ |
The OleQueryOpen function checks whether the specified object is open.
lpObject
Points to the object to query.
The return value is OLE_OK if the object is open. Otherwise, it is an error value, which may be one of the following:
OLE_ERROR_COMM
OLE_ERROR_OBJECT
OLE_ERROR_STATIC