XTYP_DISCONNECT

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.

Parameters

wFmt

Not used.

hConv

Identifies the conversation was terminated.

hsz1

Not used.

hsz2

Not used.

hData

Not used.

dwData1

Not used.

dwData2

Specifies whether the partners in the conversation are the same application instance. If 1, the partners are the same instance. If 0, the partners are different instances.

Comments

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.

See Also

DdeDisconnect, DdeQueryConvInfo