次の方法で共有


PHONE_DEVSPECIFIC (TSPI) (Compact 2013)

3/26/2014

This message is sent to the PHONEEVENT callback function to notify TAPI about device-specific events occurring at the phone. The meaning of the message and the interpretation of the parameters is implementation defined.

Syntax

PHONE_DEVSPECIFIC
    htPhone = (HTAPIPHONE) hPhoneDevice;
    dwMsg = (DWORD) PHONE_DEVSPECIFIC;
    dwParam1 = (DWORD) DeviceData1;
    dwParam2 = (DWORD) DeviceData2;
    dwParam3 = (DWORD) DeviceData3;

Parameters

  • htPhone
    The TAPI opaque object handle to the phone device.
  • dwMsg
    The value PHONE_DEVSPECIFIC.
  • dwParam1
    Device specific.
  • dwParam2
    Device specific.
  • dwParam3
    Device specific.

Remarks

TAPI sends the PHONE_DEVSPECIFIC message to applications in response to receiving this message from a service provider. The htPhone is translated to the appropriate hPhone as the hDevice parameter at the TAPI level. The dwParam1, dwParam2, and dwParam3 parameters are passed through unmodified.

Requirements

Header

tspi.h

See Also

Reference

TSPI Messages
PHONEEVENT