BthAGSetServiceCallback (Windows Embedded CE 6.0)
1/6/2010
This function is called by the Audio Gateway (AG) service to determine whether or not the phone has cellular service.
Syntax
DWORD BthAGSetServiceCallback(
PFN_PhoneExtServiceCallback pfn
);
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 Value
Returns TRUE if the phone has cellular service, otherwise, it returns FALSE.
Requirements
Header | btagpub.h |
Library | Btagsvc_phoneext.lib |
Windows Embedded CE | Windows CE 5.0 and later |