#include <ddeml.h>
XTYP_CONNECT_CONFIRM
hszTopic = hsz1; /* handle of topic-name string */
hszService = hsz2; /* handle of service-name string */
fSameInst = (BOOL) dwData2; /* same instance flag */
A server's DDE callback function receives this transaction to confirm that a conversation has been established with a client and to provide the server with the conversation handle. The system sends this transaction as a result of a previous XTYP_CONNECT or XTYP_WILDCONNECT transaction.
hszTopic
Value of hsz1. Identifies the topic name on which the conversation has been established.
hszService
Value of hsz2. Identifies the service name on which the conversation has been established.
fSameInst
Value of dwData2. Specifies whether the client is the same application instance as the server. If this parameter is a nonzero value, the client is the same instance. If this parameter is zero, the client is a different instance.
This transaction does not return a value.
If the server application specified the CBF_FAIL_CONFIRMS flag in the DdeInitialize function, this transaction is filtered.
A server cannot block this transaction type; the CBR_BLOCK return value is ignored.