_BRB_L2CA_UNREGISTER_SERVER structure (bthddi.h)

A profile driver uses the _BRB_L2CA_UNREGISTER_SERVER structure to unregister itself as a server capable of receiving L2CAP connections from remote Bluetooth devices.

Syntax

struct _BRB_L2CA_UNREGISTER_SERVER {
  BRB_HEADER Hdr;
  BTH_ADDR   BtAddress;
  PVOID      ServerHandle;
  USHORT     Psm;
};

Members

Hdr

A BRB_HEADER structure that contains information about the current BRB.

BtAddress

The address of the remote device.

ServerHandle

The handle of the L2CAP server to unregister, as returned earlier from a previous BRB_L2CA_REGISTER_SERVER request.

Psm

The Protocol/Service Multiplexer (PSM) that was specified in a previous BRB_L2CA_REGISTER_SERVER request.

Remarks

To unregister itself as a L2CAP server, a profile driver should build and send a BRB_L2CA_UNREGISTER_SERVER request.

Requirements

Requirement Value
Minimum supported client Versions:_Supported in Windows Vista, and later.
Header bthddi.h (include Bthddi.h)

See also

BRB_HEADER

BRB_L2CA_UNREGISTER_SERVER

_BRB_L2CA_REGISTER_SERVER