OLESTATUS OleQueryOpen(lpObject) | |||||
LPOLEOBJECT lpObject; | /* pointer to object to query | */ |
The OleQueryOpen function determines 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 can be OLE_ERROR_OBJECT, OLE_ERROR_STATIC, or OLE_ERROR_COMM.
OleActivate