共用方式為


BTEVENT

Send Feedback

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

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

Members

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

Remarks

This structure is used by an application on the Bluetooth device to retrieve information about 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

Pocket PC: Windows Mobile 5.0 and later.
Smartphone: Windows Mobile 5.0 and later.
OS Versions: Windows CE 5.01 and later.
Header: Bt_api.h.

See Also

Bluetooth Application Development Structures | RequestBluetoothNotifications | StopBluetoothNotifications

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.