Share via


phoneShutdown

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

LONG WINAPI phoneShutdown(
  HPHONEAPP hPhoneApp
);

Parameters

  • hPhoneApp
    Application's usage handle for TAPI.

Return Values

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

OS Versions: Windows CE 3.0 and later.
Header: Tapi.h.
Link Library: Coredll.lib.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.