public static interface DdemlUtil.DisconnectHandler
|Modifier and Type||Method and Description|
An application's Dynamic Data Exchange (DDE) callback function, DdeCallback, receives the XTYP_DISCONNECT transaction when the application's partner in a conversation uses the DdeDisconnect function to terminate the conversation.
void onDisconnect(int transactionType, Ddeml.HCONV hconv, boolean sameInstance)
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.
transactionType- uType - The transaction type.
hconv- A handle to that the conversation was terminated.
sameInstance- dwData2 - Specifies whether the client is the same application instance as the server.