PHONEMESSAGE structure (tapi.h)

The PHONEMESSAGE structure contains the next message queued for delivery to the application. The phoneGetMessage function returns this structure.

Syntax

typedef struct phonemessage_tag {
  DWORD     hDevice;
  DWORD     dwMessageID;
  DWORD_PTR dwCallbackInstance;
  DWORD_PTR dwParam1;
  DWORD_PTR dwParam2;
  DWORD_PTR dwParam3;
} PHONEMESSAGE, *LPPHONEMESSAGE;

Members

hDevice

Handle to a phone device.

dwMessageID

Phone message.

dwCallbackInstance

Instance data passed back to the application, which was specified by the application in phoneInitializeEx. This value is not interpreted by TAPI.

dwParam1

Parameter for the message.

dwParam2

Parameter for the message.

dwParam3

Parameter for the message.

Remarks

For information about parameter values passed in this structure, see Phone Device Messages.

Requirements

Requirement Value
Header tapi.h

See also

phoneGetMessage

phoneInitializeEx