XTYP_XACT_COMPLETE

A DDE client callback function receives this transaction when an asynchronous transaction, initiated by a call to the DdeClientTransaction function, has completed.

Parameters

wFmt

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

hConv

Identifies the conversation.

hsz1

Identifies the topic name involved in the completed transaction.

hsz2

Identifies the item name involved in the completed transaction.

hData

Identifies the data involved in the completed transaction, if applicable. If the transaction was successful but involved no data, this parameter will be TRUE. This parameter will be NULL if the transaction was unsuccessful.

dwData1

Contains the transaction identifier of the completed transaction.

dwData2

Contains any applicable DDE_ status flags in the low word. This provides support for applications dependent on DDE_APPSTATUS bits. It is recommended that applications no long use these bits—future versions of DDEML may not support them.

Comments

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

See Also

DdeClientTransaction