The DdeCallback function is an application-defined callback function that processes dynamic data exchange (DDE) transactions sent to the function in response to Dynamic Data Exchange Management Library (DDEML) calls by other applications.
HDDEDATA CALLBACK DdeCallback(
UINT uType, |
// transaction type |
UINT uFmt, |
// clipboard data format |
HCONV hconv, |
// handle to the conversation |
HSZ hsz1, |
// handle to a string |
HSZ hsz2, |
// handle to a string |
HDDEDATA hdata, |
// handle to a global memory object |
DWORD dwData1, |
// transaction-specific data |
DWORD dwData2 |
// transaction-specific data |
); |
Class |
Meaning |
XCLASS_BOOL |
A DDE callback function should return TRUE or FALSE when it finishes processing a transaction that belongs to this class. The XCLASS_BOOL transaction class consists of the following types: |
|
|
XCLASS_DATA |
A DDE callback function should return a DDE handle, the CBR_BLOCK return code, or NULL when it finishes processing a transaction that belongs to this class. The XCLASS_DATA transaction class consists of the following types: |
|
|
XCLASS_FLAGS |
A DDE callback function should return DDE_FACK, DDE_FBUSY, or DDE_FNOTPROCESSED when it finishes processing a transaction that belongs to this class. The XCLASS_FLAGS transaction class consists of the following types: |
|
|
XCLASS_NOTIFICATION |
The transaction types that belong to this class are for notification purposes only. The return value from the callback function is ignored. The XCLASS_NOTIFICATION transaction class consists of the following types:
XTYP_ADVSTOP |
The return value depends on the transaction class. For more information about the return values, see descriptions of the individual transaction types.
The callback function is called asynchronously for transactions that do not involve the creation or termination of conversations. An application that does not frequently accept incoming messages will have reduced DDE performance because the DDEML uses messages to initiate transactions.
An application must register the callback function by specifying a pointer to the function in a call to the DdeInitialize function.
DdeCallback is a placeholder for the application-defined or library-defined function name.
DdeEnableCallback, DdeInitialize
file: /Techref/os/win/api/win32/func/src/f13_4.htm, 7KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 23:25,
18.191.130.149:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f13_4.htm"> DdeCallback</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.