Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

hDeviceIDof 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
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

PHONE_STATE (TAPI)