BthAGSetServiceCallback (Windows CE 5.0)

Send Feedback

This function is called by the Audio Gateway (AG) service to determine whether or not the phone has cellular service.

DWORD BthAGSetServiceCallback(  PFN_PhoneExtServiceCallbackpfn);

Parameters

  • pfn
    [in] Points to a callback function to be called when the cellular service changes.

    The following is an excerpt from the header file, Btagpub.h, that shows the function pointer declaration.

    typedef void (*PFN_PhoneExtServiceCallback) (BOOL fHaveService);
    

    Where, fHaveService determines if the phone has cellular service.

Return Values

Returns TRUE if the phone has cellular service, otherwise, it returns FALSE.

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.