Share via


BthNotifyEvent (Compact 2013)

3/26/2014

This function writes the specified event to the message queues of the subscribers to specified event class.

Syntax

int BthNotifyEvent(
    PBTEVENT pbtEvent,
   DWORD dwEventClass
);

Parameters

  • pbtEvent
    [in] Points to the BTEVENT structure containing the event information.
  • dwEventClass
    [in] The class of the event. One of the following values.

    BTE_CLASS_CONNECTIONS

    BTE_CLASS_PAIRING

    BTE_CLASS_DEVICE

    BTE_CLASS_STACK

    BTE_CLASS_AVDTP

    BTE_CLASS_PAN

    BTE_CLASS_INQUIRY

    BTE_CLASS_SSP

    BTE_CLASS_SERVICE

Return Value

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_SERVICE_NOT_ACTIVE

The Bluetooth stack is not present.

Requirements

Header

bt_api.h

Library

Btd.lib,
Btdrt.lib

See Also

Reference

Bluetooth API Notification Functions