Bewerken

Delen via


BTH_SDP_SERVICE_ATTRIBUTE_SEARCH_REQUEST structure (bthioctl.h)

The BTH_SDP_SERVICE_ATTRIBUTE_SEARCH_REQUEST structure contains information pertinent to a combined SDP service and attribute search. This structure is passed as the input buffer to the IOCTL_BTH_SDP_SERVICE_ATTRIBUTE_SEARCH IOCTL.

Syntax

typedef struct _BTH_SDP_SERVICE_ATTRIBUTE_SEARCH_REQUEST {
  HANDLE_SDP_TYPE   HANDLE_SDP_FIELD_NAME;
  ULONG             searchFlags;
  SdpQueryUuid      uuids[MAX_UUIDS_IN_QUERY];
  SdpAttributeRange range[1];
} BTH_SDP_SERVICE_ATTRIBUTE_SEARCH_REQUEST, *PBTH_SDP_SERVICE_ATTRIBUTE_SEARCH_REQUEST;

Members

HANDLE_SDP_FIELD_NAME

Handle returned by the connect request or HANDLE_SDP_LOCAL.

searchFlags

A combination of SDP_SEARCH_Xxx flags.

uuids[MAX_UUIDS_IN_QUERY]

An array of UUIDs that represent the services for which to query. Each entry can be a 2-byte, 4-byte, or 16-byte type, and there can be a maximum of 12 entries. The array can be terminated before all 12 entries are used if a UUID entry contains all zeros.

range[1]

A variable-length array of SdpAttributeRange structures that contains the range of SDP attributes for which to search.

Remarks

The Bluetooth driver stack determines the number of array items in the range member by examining the length of IOCTL_BTH_SDP_SERVICE_ATTRIBUTE_SEARCH input buffer. Because of this, the Parameters.DeviceIoControl.InputBufferLength member passed when the IOCTL is called must be calculated exactly.

Requirements

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

See also