|
PHONEERR_ Constants
This is the list of error codes that the implementation may return when
invoking operations on phone devices. Consult the individual function descriptions to
determine which of these error codes each function may return.
PHONEERR_ALLOCATED
The specified resource is already allocated.
PHONEERR_BADDEVICEID
The specified device ID is invalid or out of range.
PHONEERR_INCOMPATIBLEAPIVERSION
The application requested an API version or version range that cannot be
supported by the Telephony API implementation and/or corresponding service provider.
PHONEERR_INCOMPATIBLEEXTVERSION
The application requested an extension version or version range that cannot
supported by the service provider.
PHONEERR_INIFILECORRUPT
Because of internal inconsistencies or formatting problems in the TELEPHON.INI
file, it cannot be read and understood properly by TAPI.
PHONEERR_INUSE
The device is currently in use. The device cannot be configured.
PHONEERR_INVALAPPHANDLE
The application's specified usage handle or registration handle is invalid.
PHONEERR_INVALAPPNAME
The specified application name is invalid. If an application name is specified
by the application, it is assumed that the string does not contain any
nondisplayable characters and is NULL-terminated.
PHONEERR_INVALBUTTONLAMPID
The specified button/lamp ID is out of range or invalid.
PHONEERR_INVALBUTTONMODE
The button mode parameter is invalid.
PHONEERR_INVALBUTTONSTATE
The button states parameter is invalid.
PHONEERR_INVALDATAID
The specified data ID is invalid.
PHONEERR_INVALDEVICECLASS
The specified phone does not support the indicated device class.
PHONEERR_INVALHOOKSWITCHDEV
The hookswitch device parameter is invalid.
PHONEERR_INVALHOOKSWITCHMODE
The hookswitch mode parameter is invalid.
PHONEERR_INVALLAMPMODE
The specified lamp mode parameter is invalid.
PHONEERR_INVALPARAM
A parameter, such as a row or column value or a window handle, is invalid or
out of range.
PHONEERR_INVALPHONEHANDLE
The specified device handle is invalid.
PHONEERR_INVALPHONESTATE
The phone device is not in a valid state for the requested operation.
PHONEERR_INVALPOINTER
One or more of the specified pointer parameters are invalid.
PHONEERR_INVALPRIVILEGE
The dwPrivilege parameter is invalid.
PHONEERR_INVALRINGMODE
The ring mode parameter is invalid.
PHONEERR_NODEVICE
The specified device ID, which was previously valid, is no longer accepted
because the associated device has been removed from the system since TAPI was last
initialized.
PHONEERR_NODRIVER
The telephone service provider for the specified device found that one of its
components is missing or corrupt in a way that was not detected at
initialization time. The user should be advised to use the Telephony Control Panel to
correct the problem.
PHONEERR_NOMEM
Insufficient memory to complete the requested operation, or unable to allocate
or lock memory.
PHONEERR_NOTOWNER
The application does not have owner privilege to the specified phone device.
PHONEERR_OPERATIONFAILED
The operation failed for an unspecified reason.
PHONEERR_OPERATIONUNAVAIL
The operation is not available.
PHONEERR_REINIT
If TAPI reinitialization has been requested, for example as a result of adding
or removing a telephony service provider, then phoneInitialize, phoneInitializeEx or phoneOpen requests are rejected with this error until the last application shuts down
its usage of the API (using phoneShutdown), at which time the new configuration becomes effective and applications are
once again permitted to call phoneInitialize or phoneInitializeEx.
PHONEERR_RESOURCEUNAVAIL
The operation cannot be completed because of resource overcommitment.
PHONEERR_STRUCTURETOOSMALL
The specified phone caps structure is too small.
PHONEERR_UNINITIALIZED
The operation was invoked before any application called phoneInitialize, phoneInitializeEx.
The values 0xC0000000 through 0xFFFFFFFF are available for device-specific
extensions; the values 0x80000000 through 0xBFFFFFFF are reserved; and 0x00000000
through 0x7FFFFFFF are used as request IDs.
If an application gets an error return that it does not specifically handle
(such as an error defined by a device-specific extension), it should treat the
error as a PHONEERR_OPERATIONFAILED (for an unspecified reason).
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|