MONMSGSTRUCT structure (ddeml.h)

Contains information about a Dynamic Data Exchange (DDE) message. A DDE monitoring application can use this structure to obtain information about a DDE message that was sent or posted.

Syntax

typedef struct tagMONMSGSTRUCT {
  UINT                cb;
  HWND                hwndTo;
  DWORD               dwTime;
  HANDLE              hTask;
  UINT                wMsg;
  WPARAM              wParam;
  LPARAM              lParam;
  DDEML_MSG_HOOK_DATA dmhd;
} MONMSGSTRUCT, *PMONMSGSTRUCT;

Members

cb

Type: UINT

The structure's size, in bytes.

hwndTo

Type: HWND

A handle to the window that receives the DDE message.

dwTime

Type: DWORD

The Windows time at which the message was sent or posted. 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 window that receives the DDE message.

wMsg

Type: UINT

The identifier of the DDE message.

wParam

Type: WPARAM

The wParam parameter of the DDE message.

lParam

Type: LPARAM

The lParam parameter of the DDE message.

dmhd

Type: DDEML_MSG_HOOK_DATA

Additional information about the DDE message.

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

Conceptual

DDEML_MSG_HOOK_DATA

Dynamic Data Exchange Management Library

MONCBSTRUCT

MONCONVSTRUCT

MONERRSTRUCT

MONHSZSTRUCT

MONLINKSTRUCT

Reference