The DdePostAdvise function causes the system to send an XTYP_ADVREQ transaction to the calling (server) application’s dynamic data exchange (DDE) callback function for each client with an active advise loop on the specified topic and item. A server application should call this function whenever the data associated with the topic name or item name pair changes.
BOOL DdePostAdvise(
DWORD idInst, |
// instance identifier |
HSZ hszTopic, |
// handle to topic name string |
HSZ hszItem |
// handle to item name string |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The DdeGetLastError function can be used to get the error code, which may be one of the following values:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_DLL_USAGE
DMLERR_NO_ERROR
A server that has nonenumerable topics or items should set the hszTopic and hszItem parameters to NULL so that the system generates transactions for all active advise loops. The server’s DDE callback function returns NULL for any advise loops that must not be updated.
If a server calls DdePostAdvise with a topic, item, and format name set that includes the set currently being handled in an XTYP_ADVREQ callback, a stack overflow may result.
file: /Techref/os/win/api/win32/func/src/f14_2.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/30 21:15,
3.144.48.72: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://massmind.org/techref/os/win/api/win32/func/src/f14_2.htm"> DdePostAdvise</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.