MONHSZSTRUCT

3.1

#include <ddeml.h>

typedef struct tagMONHSZSTRUCT { /* mhst */
    UINT   cb;
    BOOL   fsAction;
    DWORD  dwTime;
    HSZ    hsz;
    HANDLE hTask;
    WORD   wReserved;
    char   str[1];
} MONHSZSTRUCT;

The MONHSZSTRUCT structure contains information about a dynamic data exchange (DDE) string handle. A DDE monitoring application can use this structure when monitoring the activity of the string-manager component of the DDE Management Library (DDEML).

Members

cb

Specifies the length, in bytes, of the structure.

fsAction

Specifies the action being performed on the string handle identified by the hsz member.

Value Meaning

MH_CLEANUP An application is freeing its DDE resources, causing the system to delete string handles that the application had created. (The application called the DdeUninitialize function.)
MH_CREATE An application is creating a string handle. (The application called the DdeCreateStringHandle function.)
MH_DELETE An application is deleting a string handle. (The application called the DdeFreeStringHandle function.)
MH_KEEP An application is increasing the use count of a string handle. (The application called the DdeKeepStringHandle function.)

dwTime

Specifies the Windows time at which the action specified by the fsAction member takes place. Windows time is the number of milliseconds that have elapsed since the system was booted.

hsz

Identifies the string.

hTask

Identifies the task (application instance) performing the action on the string handle.

wReserved

Reserved.

str

Points to the string identified by the hsz member.

See Also

MONCBSTRUCT, MONCONVSTRUCT, MONERRSTRUCT, MONLINKSTRUCT, MONMSGSTRUCT