Class: Win::Dde::MonHszStruct

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/win/dde.rb

Overview

The MONHSZSTRUCT structure contains information about a Dynamic Data Exchange (DDE) string handle. A DDE monitoring App can use this structure when monitoring the activity of the string manager component of the DDE Management Library.

Typedef

struct { UINT cb; BOOL fsAction; DWORD dwTime; HSZ hsz; HANDLE hTask; TCHAR str } MONHSZSTRUCT;

cb

Specifies the structure’s size, in bytes.

fsAction

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

MH_CLEANUP

An App is freeing its DDE resources, causing the system to delete string handles the App had created. (The App called the DdeUninitialize function.)

MH_CREATE

An App is creating a string handle. (The app called the DdeCreateStringHandle)

MH_DELETE

An App is deleting a string handle. (The app called the DdeFreeStringHandle)

MH_KEEP

An App is increasing the usage count of a string handle. (The App 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

Handle to the string. Because string handles are local to the process, this member is a global atom.

hTask

Handle to the task (App instance) performing the action on the string handle.

str

Pointer to the string identified by the hsz member.


Structure Information Header Declared in Ddeml.h, include Windows.h