Skip to content

Latest commit

 

History

History
133 lines (81 loc) · 3.16 KB

xtyp-connect-confirm.md

File metadata and controls

133 lines (81 loc) · 3.16 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
XTYP_CONNECT_CONFIRM transaction (Ddeml.h)
A Dynamic Data Exchange (DDE) server callback function, DdeCallback, receives the XTYP\_CONNECT\_CONFIRM transaction to confirm that a conversation has been established with a client and to provide the server with the conversation handle.
4db67539-9322-44d7-bf2b-749bd6cfcbb4
XTYP_CONNECT_CONFIRM transaction Data Exchange
apiref
XTYP_CONNECT_CONFIRM
Ddeml.h
HeaderDef
reference
05/31/2018

XTYP_CONNECT_CONFIRM transaction

A Dynamic Data Exchange (DDE) server callback function, DdeCallback, receives the XTYP_CONNECT_CONFIRM 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.

#define     XTYPF_NOBLOCK            0x0002
#define     XCLASS_NOTIFICATION      0x8000
#define     XTYP_CONNECT_CONFIRM    (0x0070 | XCLASS_NOTIFICATION | XTYPF_NOBLOCK)

Parameters

uType

The transaction type.

uFmt

Not used.

hconv

A handle to the new conversation.

hsz1

A handle to the topic name on which the conversation has been established.

hsz2

A handle to the service name on which the conversation has been established.

hdata

Not used.

dwData1

Not used.

dwData2

Specifies whether the client is the same application instance as the server. If the parameter is 1, the client is the same instance. If the parameter is 0, the client is a different instance.

Remarks

This transaction is filtered if the server application specified the CBF_SKIP_CONNECT_CONFIRMS flag in the DdeInitialize function.

A server cannot block this transaction type; the CBR_BLOCK return code is ignored.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Ddeml.h (include Windows.h)

See also

Reference

DdeConnect

DdeConnectList

DdeInitialize

Conceptual

Dynamic Data Exchange Management Library