BTH_SDP_ATTRIBUTE_SEARCH_REQUEST - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// bthioctl.h

typedef struct _BTH_SDP_ATTRIBUTE_SEARCH_REQUEST {
  HANDLE_SDP_TYPE   HANDLE_SDP_FIELD_NAME;
  ULONG             searchFlags;
  ULONG             recordHandle;
  SdpAttributeRange range[1];
} BTH_SDP_ATTRIBUTE_SEARCH_REQUEST, *PBTH_SDP_ATTRIBUTE_SEARCH_REQUEST;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-bthioctl-_bth_sdp_attribute_search_request)

_BTH_SDP_ATTRIBUTE_SEARCH_REQUEST structure

Description

The BTH_SDP_ATTRIBUTE_SEARCH_REQUEST structure contains information pertinent to an SDP attribute search.

Members

HANDLE_SDP_FIELD_NAME

Handle returned by the connect request or HANDLE_SDP_LOCAL.

searchFlags

Combination of SDP_SEARCH_Xxx flags.

recordHandle

The record handle that is returned by the remote SDP server from a previous call to the IOCTL_BTH_SDP_SERVICE_SEARCH IOCTL.

range

A variable-length array of structures of type SdpAttributeRange that contains the range of SDP attributes for which to search. The range array must be in ascending numeric order.

Remarks

This structure is passed as the input buffer to the IOCTL_BTH_SDP_ATTRIBUTE_SEARCH IOCTL.

The Bluetooth driver stack determines the number of array items in the range member by examining the length of the IOCTL_BTH_SDP_ATTRIBUTE_SEARCH input buffer. Because of this, you must calculate the exact value of the Parameters.DeviceIoControl.InputBufferLength member that is passed when IOCTL_BTH_SDP_SERVICE_SEARCH is called.

See also