// bthddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
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.
EnumeratorTypeReserved for use by the Bluetooth driver stack. Do not use.
ActionReserved for use by the Bluetooth driver stack. Do not use.
PortIf 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).
FlagsA flag that indicates the direction of the request. Possible values include:
GuidThe enumeration protocol or service class GUID. This value is usually obtained from the INF file that loaded the profile driver.
InstanceIdThe instance ID of the protocol or service if the BTH_ENUMERATORFL_INCOMING flag is set.
InstanceIdStrThe instance ID of the protocol or service if the BTH_ENUMERATORFL_OUTGOING flag is set.
VidThe vendor ID of the remote device, which is obtained from SDP.
PidThe product ID of the remote device, which is obtained from SDP.
MfgThe manufacturer ID of the remote device, which is obtained from SDP.
LocalMfgThe local radio manufacturer obtained from the HCI.
VidTypeThe remote device vendor ID type, which is obtained from SDP.
ServiceNameThe service name that is used for local services.
SdpPriLangServiceNameThe identifier used for remote services.
DeviceStringThe device string for the remote device.
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.
IOCTL_INTERNAL_BTHENUM_GET_ENUMINFO