Поделиться через


PHONE_CREATE (TAPI) (Compact 2013)

3/26/2014

This message is sent to inform applications of the creation of a new phone device.

Syntax

PHONE_CREATE
    hPhone = (HPHONE) hPhoneDev;
    dwCallbackInstance = (DWORD) 0;
    dwParam1 = (DWORD) idDevice;
    dwParam2 = (DWORD) 0;
    dwParam3 = (DWORD) 0;

Parameters

  • hPhone
    Not used by this message. Value is NULL.
  • dwCallbackInstance
    Not used by this message. Value is NULL.
  • dwParam1
    hDeviceID of the newly created device.
  • dwParam2
    Not used by this message. Value is NULL.
  • dwParam3
    Not used by this message. Value is NULL.

Return Value

None.

Remarks

Applications supporting TAPI 1.4 or later are sent a PHONE_CREATE message. This informs them of the existence of the new device and its new device identifier. The application can then choose whether or not to attempt working with the new device at its leisure.

Requirements

Header

tapi.h

See Also

Reference

TAPI Messages
PHONE_STATE (TAPI)