Platform SDK: TAPI

phoneShutdown

The phoneShutdown function shuts down the application's usage of TAPI's phone abstraction.

LONG WINAPI phoneShutdown(
  HPHONEAPP hPhoneApp  
);

Parameters

hPhoneApp
The application's usage handle for TAPI.

Return Values

Returns zero if the request succeeds or a negative error number if an error occurs. Possible return values are:

PHONEERR_INVALAPPHANDLE, PHONEERR_NOMEM, PHONEERR_UNINITIALIZED, PHONEERR_RESOURCEUNAVAIL.

Remarks

If this function is called when the application has open phone devices, these devices are closed.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later.
  Version: Requires TAPI 1.3 or later.
  Header: Declared in Tapi.h.
  Library: Use Tapi32.lib.