XTYP_DISCONNECT
An application's dynamic data exchange (DDE) callback function receives the XTYP_DISCONNECT transaction when the application's partner in a conversation uses the DdeDisconnect function to terminate the conversation.
This transaction is filtered if the application specified the CBF_SKIP_DISCONNECTS flag in the DdeInitialize function.
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 code is ignored.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ddeml.h.
Dynamic Data Exchange Management Library Overview, Dynamic Data Exchange Management Transactions, DdeDisconnect, DdeInitialize, DdeQueryConvInfo