Bewerken

Delen via


BTH_SDP_ATTRIBUTE_SEARCH_REQUEST structure (bthioctl.h)

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

Syntax

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;

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[1]

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.

Requirements

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

See also