BTEVENT (Compact 2013)

3/26/2014

This structure stores information about the event notification sent by the Bluetooth stack.

Syntax

typedef struct _BTEVENT {
  DWORD dwEventId;
  DWORD dwReserved;
  BYTE baEventData[64];
} BTEVENT, *PBTEVENT;

Members

  • dwEventId
    Specifies the event identifier.
  • dwReserved
    Reserved.
  • baEventData
    Data about the event.

Remarks

This structure is used by an application on the Bluetooth device to retrieve information about an event sent by the stack. The event notifications are sent in a message queue. To read the messages in the queue, the application must call the ReadMsgQueue function, and pass BTEVENT in the lpBuffer parameter to receive the event data.

Requirements

Header

bt_api.h

See Also

Tasks

Stack-Events Handling Sample

Reference

Bluetooth Application Development Structures
RequestBluetoothNotifications
StopBluetoothNotifications