XTYP_XACT_COMPLETE transaction

A Dynamic Data Exchange (DDE) client callback function, DdeCallback, receives the XTYP_XACT_COMPLETE transaction when an asynchronous transaction, initiated by a call to the DdeClientTransaction function, has completed.

#define     XCLASS_NOTIFICATION      0x8000
#define     XTYP_XACT_COMPLETE      (0x0080 | XCLASS_NOTIFICATION  )

Parameters

uType

The transaction type.

uFmt

The format of the data associated with the completed transaction (if applicable) or NULL if no data was exchanged during the transaction.

hconv

A handle to the conversation.

hsz1

A handle to the topic name involved in the completed transaction.

hsz2

A handle to the item name involved in the completed transaction.

hdata

A handle to the data involved in the completed transaction, if applicable. If the transaction was successful but involved no data, this parameter is TRUE. This parameter is NULL if the transaction was unsuccessful.

dwData1

The transaction identifier of the completed transaction.

dwData2

Any applicable DDE_ status flags in the low word. This parameter provides support for applications dependent on DDE_APPSTATUS bits. It is recommended that applications no longer use these bits they may not be supported in future versions of the DDEML.

Remarks

An application must not free the data handle obtained during this transaction. An application must, however, copy the data associated with the data handle if the application must process the data after the callback function returns. An application can use the DdeGetData function to copy the data.

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

DdeClientTransaction

DdeGetData

Conceptual

Dynamic Data Exchange Management Library