Partager via


BthAGATSetCallback (Windows CE 5.0)

Send Feedback

This function is called by the Audio Gateway (AG) service to determine how to respond to the AT commands sent by a peer Bluetooth device.

void BthAGATSetCallback ( PFN_SendATCommand pfn );

Parameters

  • pfn
    [in] Points to a callback function to be called when AT commands are received from a peer Bluetooth device.

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

    typedef DWORD (*PFN_SendATCommand) (LPSTR szCommand, DWORD cbCommand);
    

    Where szCommand points to the string that specifies the AT command to handle, cbCommand is the size of szCommand.

Return Values

None.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Developer defined.
Link library: Developer defined.

See Also

AT Command Extension Module | Bluetooth Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.