Compartilhar via


IBTDevice::QueryServices (Compact 2013)

3/26/2014

This method performs a full remote Service Discovery Protocol (SDP) search for the services supported by the device in the registry and refreshes the existing list of services.

Syntax

HRESULT QueryServices(BOOL bResponse);

Parameters

  • bResponse
    [in] TRUE to add a delay before enumerating the services on the remote device.

Return Value

Returns S_OK if successful; otherwise, returns standard HRESULT values as appropriate.

Remarks

If a device supports both Hands-free and Headset profiles, then this method only adds the Hands-free profile to the list of services.

See Also

Reference

IBTDevice

Other Resources

Bluetooth