Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
This function shuts down the application's usage of TAPI's phone abstraction.
Syntax
LONG WINAPI phoneShutdown(
HPHONEAPP hPhoneApp
);
Parameters
- hPhoneApp
Application's usage handle for TAPI.
Return Value
Zero indicates success. A negative error number indicates that an error occurred. The following table shows the return values for this function.
| Value | Description |
|---|---|
PHONEERR_INVALAPPHANDLE |
The application handle is invalid. |
PHONEERR_NOMEM |
Not enough memory is available. |
PHONEERR_UNINITIALIZED |
The parameter is uninitialized. |
PHONEERR_RESOURCEUNAVAIL |
The resource is unavailable. |
Remarks
If this function is called when the application has open phone devices, these devices are closed.
Requirements
| Header | tapi.h |
| Library | coredll.lib |
| Windows Embedded CE | Windows CE 3.0 and later |
| Windows Mobile | Windows Mobile Version 5.0 and later |