다음을 통해 공유


BthAGGetNameByPhoneNumber (Windows CE 5.0)

Send Feedback

This function retrieves the name of the caller by using the Call Line Identification (CLI) feature defined by the Hands-Free profile specification.

BOOL BthAGGetNameByPhoneNumber (  LPCWSTR pwszNumber,  LPWSTR pwszName);

Parameters

  • pwszNumber
    [in] Specifies the phone number that CLI must identify.
  • pwszName
    [in/out] Receives the name of the caller identified by CLI.

Return Values

Returns FALSE if you want to use the number. If the caller name can be provided, copy the name string to pszName and return TRUE.

Remarks

The length of the name received in pszName cannot exceed MAX_DISPLAY_NAME that is defined in the file, btagpub.h

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Btagpub.h.
Link Library: Btagsvc_phoneext.lib.

See Also

Phone-Extension Component

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.