Platform SDK: Interprocess Communications

MONMSGSTRUCT

The MONMSGSTRUCT structure contains information about a DDE message. A DDE monitoring application can use this structure to obtain information about a DDE message that was sent or posted.

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
Specifies the structure's size, in bytes.
hwndTo
Handle to the window that receives the DDE message.
dwTime
Specifies 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
Handle to the task (application instance) containing the window that receives the DDE message.
wMsg
Specifies the identifier of the DDE message.
wParam
Specifies the wParam parameter of the DDE message.
lParam
Specifies the lParam parameter of the DDE message.
dmhd
Specifies a DDEML_MSG_HOOK_DATA structure that contains additional information about the DDE message.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Ddeml.h; include Windows.h.

See Also

Dynamic Data Exchange Management Library Overview, Dynamic Data Exchange Management Structures, DDEML_MSG_HOOK_DATA, MONCBSTRUCT, MONCONVSTRUCT, MONERRSTRUCT, MONHSZSTRUCT, MONLINKSTRUCT