#include <ddeml.h>
XTYP_DISCONNECT
fSameInst = (BOOL) dwData2; /* same instance flag */
An application's DDE callback function receives this transaction when the application's partner in a conversation uses the DdeDisconnect function to terminate the conversation.
fSameInst
Value of dwData2. Specifies whether the partners in the conversation are the same application instance. If this parameter is TRUE, the partners are the same instance. If this parameter is FALSE, the partners are different instances.
This transaction does not return a value.
If the application specified the CBF_SKIP_DISCONNECTS flag in the DdeInitialize function, this transaction is filtered.
The application can obtain the status of the terminated conversation by calling the DdeQueryConvInfo function while processing this transaction. The conversation handle becomes invalid after the callback function returns.
An application cannot block this transaction type; the CBR_BLOCK return value is ignored.