BTH_QUERY_DEVICE structure (ws2bth.h)

The BTH_QUERY_DEVICE structure is used when querying for the presence of a Bluetooth device.

Syntax

typedef struct _BTH_QUERY_DEVICE {
  ULONG LAP;
  UCHAR length;
} BTH_QUERY_DEVICE, *PBTH_QUERY_DEVICE, BTHNS_INQUIRYBLOB, *PBTHNS_INQUIRYBLOB;

Members

LAP

Reserved. Must be set to zero.

length

Requested length of the inquiry, in seconds.

Remarks

See the Bluetooth specification at www.bluetooth.com for additional information about LAP.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server None supported
Header ws2bth.h

See also

Bluetooth and WSALookupServiceBegin for Device Inquiry

Bluetooth and WSAQUERYSET for Device Inquiry