Share via


IBTDevice::GetService (Compact 7)

3/12/2014

This method returns a pointer to the IBTService interface for the specified service.

Syntax

HRESULT GetService(
  const GUID *pServiceUUID, 
  IBTService **ppService
);

Parameters

  • pServiceUUID
    [in] Service identifier.
  • ppService
    [out] Pointer to the IBTService interface.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Success.

E_FAIL

The device does not support a service matching pServiceUUID.

Remarks

The caller application is responsible for releasing ppService.

See Also

Reference

IBTDevice

Other Resources

Bluetooth