MONCBSTRUCT structure (ddeml.h)

Contains information about the current Dynamic Data Exchange (DDE) transaction. A DDE debugging application can use this structure when monitoring transactions that the system passes to the DDE callback functions of other applications.

Syntax

typedef struct tagMONCBSTRUCT {
  UINT        cb;
  DWORD       dwTime;
  HANDLE      hTask;
  DWORD       dwRet;
  UINT        wType;
  UINT        wFmt;
  HCONV       hConv;
  HSZ         hsz1;
  HSZ         hsz2;
  HDDEDATA    hData;
  ULONG_PTR   dwData1;
  ULONG_PTR   dwData2;
  CONVCONTEXT cc;
  DWORD       cbData;
  DWORD       Data[8];
} MONCBSTRUCT, *PMONCBSTRUCT;

Members

cb

Type: UINT

The structure's size, in bytes.

dwTime

Type: DWORD

The Windows time at which the transaction occurred. Windows time is the number of milliseconds that have elapsed since the system was booted.

hTask

Type: HANDLE

A handle to the task (application instance) containing the DDE callback function that received the transaction.

dwRet

Type: DWORD

The value returned by the DDE callback function that processed the transaction.

wType

Type: UINT

The transaction type.

wFmt

Type: UINT

The format of the data exchanged (if any) during the transaction.

hConv

Type: HCONV

A handle to the conversation in which the transaction took place.

hsz1

Type: HSZ

A handle to a string.

hsz2

Type: HSZ

A handle to a string.

hData

Type: HDDEDATA

A handle to the data exchanged (if any) during the transaction.

dwData1

Type: ULONG_PTR

Additional data.

dwData2

Type: ULONG_PTR

Additional data.

cc

Type: CONVCONTEXT

The language information used to share data in different languages.

cbData

Type: DWORD

The amount, in bytes, of data being passed with the transaction. This value can be more than 32 bytes.

Data[8]

Type: DWORD[8]

Contains the first 32 bytes of data being passed with the transaction (8 * sizeof(DWORD)).

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

CONVCONTEXT

Conceptual

Dynamic Data Exchange Management Library

MONERRSTRUCT

MONHSZSTRUCT

MONLINKSTRUCT

MONMSGSTRUCT

Reference