Partager via


phoneShutdown (Compact 2013)

3/26/2014

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

TAPI32.dll

See Also

Reference

TAPI Phone Device Functions