다음을 통해 공유


phoneShutdown (Windows Embedded CE 6.0)

1/6/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

See Also

Concepts

TAPI Phone Device Functions