XTYP_WILDCONNECT
XTYP_WILDCONNECT
A dynamic
data exchange (DDE) server callback function receives the XTYP_WILDCONNECT
transaction when a client specifies a NULL service name, a NULL topic name, or
both in a call to the DdeConnect
Parameters
uFmt
Not used.
hconv
Not used.
hsz1
Identifies
the topic name. If this parameter is NULL, the client is requesting a
conversation on all topic names that the server supports.
hsz2
Identifies
the service name. If this parameter is NULL, the client is requesting a
conversation on all service names that the server supports.
hdata
Not used.
dwData1
Points to a CONVCONTEXT
dwData2
Specifies
whether the client is the same application instance as the server. If the
parameter is 1, the client is same instance. If the parameter is 0, the client
is a different instance.
Return Value
The server
should return a data handle that identifies an array of HSZPAIR
The server
should return NULL to refuse the XTYP_WILDCONNECT transaction.
Remarks
This
transaction is filtered if the server application specified the
CBF_FAIL_CONNECTIONS flag in the DdeInitialize function.
A server
cannot block this transaction type; the CBR_BLOCK return code is ignored.
See Also