BTH_ENUMERATOR_INFO structure (bthddi.h)
The BTH_ENUMERATOR_INFO structure contains information about an underlying device and the service that caused the Plug and Play (PnP) manager to load the profile driver.
Syntax
typedef struct _BTH_ENUMERATOR_INFO {
ENUMERATOR_TYPE EnumeratorType;
ENUMERATOR_ACTION Action;
ULONG Port;
ULONG Flags;
GUID Guid;
ULONG InstanceId;
WCHAR InstanceIdStr[BTH_MAX_SERVICE_NAME_SIZE];
USHORT Vid;
USHORT Pid;
USHORT Mfg;
USHORT LocalMfg;
USHORT VidType;
WCHAR ServiceName[BTH_MAX_SERVICE_NAME_SIZE];
CHAR SdpPriLangServiceName[BTH_MAX_SERVICE_NAME_SIZE];
WCHAR DeviceString[BTH_MAX_SERVICE_NAME_SIZE];
} BTH_ENUMERATOR_INFO, *PBTH_ENUMERATOR_INFO;
Members
EnumeratorType
Reserved for use by the Bluetooth driver stack. Do not use.
Action
Reserved for use by the Bluetooth driver stack. Do not use.
Port
If the enumeration was caused by a connection request, this member contains the device's port number. Otherwise, this value is undefined. For a L2CAP connection request, the port number also identifies the Protocol/Service Multiplexer (PSM) that is being connected to. For an RFCOMM connection request, this is an RFCOMM data link connection identifier (DLCI).
Flags
A flag that indicates the direction of the request. Possible values include:
- BTH_ENUMERATORFL_INCOMING
- BTH_ENUMERATORFL_OUTGOING
- BTH_ENUMERATORFL_REENUM
Guid
The enumeration protocol or service class GUID. This value is usually obtained from the INF file that loaded the profile driver.
InstanceId
The instance ID of the protocol or service if the BTH_ENUMERATORFL_INCOMING flag is set.
InstanceIdStr[BTH_MAX_SERVICE_NAME_SIZE]
The instance ID of the protocol or service if the BTH_ENUMERATORFL_OUTGOING flag is set.
Vid
The vendor ID of the remote device, which is obtained from SDP.
Pid
The product ID of the remote device, which is obtained from SDP.
Mfg
The manufacturer ID of the remote device, which is obtained from SDP.
LocalMfg
The local radio manufacturer obtained from the HCI.
VidType
The remote device vendor ID type, which is obtained from SDP.
ServiceName[BTH_MAX_SERVICE_NAME_SIZE]
The service name that is used for local services.
SdpPriLangServiceName[BTH_MAX_SERVICE_NAME_SIZE]
The identifier used for remote services.
DeviceString[BTH_MAX_SERVICE_NAME_SIZE]
The device string for the remote device.
Remarks
The IOCTL_INTERNAL_BTHENUM_GET_ENUMINFO call's output buffer contains the information about an underlying device and the service that caused the Plug and Play (PnP) manager to load the profile driver.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Versions:_Supported in Windows Vista, and later. |
Header | bthddi.h (include Bthddi.h) |