PHONEMESSAGE (Compact 2013)

3/26/2014

This 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 dwCallbackInstance;
  DWORD dwParam1;
  DWORD dwParam2;
  DWORD dwParam3;
} PHONEMESSAGE, FAR* LPPHONEMESSAGE;

Members

  • hDevice
    Handle to a phone device.
  • dwMessageID
    A phone message.
  • dwCallbackInstance
    Instance data passed back to the application, which was specified by the application in the phoneInitializeEx function. This DWORD 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 the phone device messages.

Requirements

Header

tapi.h

See Also

Reference

TAPI Structures
phoneInitializeEx
phoneGetMessage