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 { // mmst 
    UINT   cb; 
    HWND   hwndTo; 
    DWORD  dwTime; 
    HANDLE hTask; 
    UINT   wMsg; 
    WPARAM wParam; 
    LPARAM lParam; 
    DDEML_MSG_HOOK_DATA dmhd; 
} MONMSGSTRUCT; 
 

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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ddeml.h.

See Also

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