B.2 OleQueryReleaseMethod Return Codes
The following codes are returned in response to an OleQueryReleaseMethod function call on a specific object. The return value indicates which server operation (method) caused the OLE library to send an OLE_RELEASE message to the client during asynchronous operations. For information on the OLEQueryReleaseMethod function, see Chapter 9, "The OLE Client DLL."
Code |
Value |
Server Operation |
OLE_NONE |
0 |
No operation is active |
OLE_DELETE |
1 |
Object delete |
OLE_LNKPASTE |
2 |
PasteLink(auto reconnect) |
OLE_EMBPASTE |
3 |
Paste(and update) |
OLE_SHOW |
4 |
Show |
OLE_RUN |
5 |
Run |
OLE_ACTIVATE |
6 |
Activate |
OLE_UPDATE |
7 |
Update |
OLE_CLOSE |
8 |
Close |
OLE_RECONNECT |
9 |
Reconnect |
OLE_SETUPDATEOPTIONS |
10 |
Setting update options |
OLE_SERVERUNLAUNCH |
11 |
Server is being unlaunched |
OLE_LOADFROMSTREAM |
12 |
LoadFromStream(auto reconnect) |
OLE_SETDATA |
13 |
OleSetData |
OLE_REQUESTDATA |
14 |
OleRequestData |
OLE_OTHER |
15 |
Other misc async operations |
OLE_CREATE |
16 |
Create |
OLE_CREATEFROMTEMPLATE |
17 |
CreatefromTemplate |
OLE_CREATELINKFROMFILE |
18 |
CreateLinkFromFile |
OLE_COPYFROMLNK |
19 |
CopyFromLink(auto reconnect) |
OLE_CREATEFROMFILE |
20 |
CreateFromFile |
OLE_CREATEINVISIBLE |
21 |
CreateInvisible |