Partager via


BTH_HCI_IOCTL_GET_LAST_INQUIRY_DATA (Windows CE 5.0)

Send Feedback

This IOCTL retrieves the inquiry parameters from the cache for a particular device.

Parameters

  • hDeviceContext
    [in] Device context handle.
  • fSelector
    [in] Equals BTH_HCI_IOCTL_GET_LAST_INQUIRY_DATA.
  • cInBuffer
    [in] Equals sizeof(BD_ADDR).
  • pInBuffer
    [in] Contains an aligned Bluetooth address in the BD_ADDR structure.
  • cOutBuffer
    [in] Equals sizeof(InquiryResultBuffer).
  • pOutBuffer
    [out] Contains InquiryResultBuffer structure.
  • pcDataReturned
    [out] Equals cOutBuffer.

Return Values

If the call succeeds, the return value is ERROR_SUCCESS.

If the function fails, the following table shows a list of possible error values.

Error value Description
ERROR_NOT_FOUND The cached inquiry result was not found for the specified address.
ERROR_INVALID_PARAMETER Parameters are invalid (buffers are not properly sized).
ERROR_SERVICE_NOT_ACTIVE HCI is not active or there is no hardware.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Bt_ddi.h.

See Also

BD_ADDR | InquiryResultBuffer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.