Share via


IBTService::ReadCustomProperty (Compact 2013)

3/26/2014

This method retrieves information about custom service properties from the registry.

Syntax

HRESULT ReadCustomProperty(
  LPWSTR szPropertyName, 
  LPVARIANT pvValue
);

Parameters

  • szPropertyName
    [in] Name of the custom property.
  • pvValue
    [out] Address of the VARIANT that stores the custom property data.

Return Value

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

Remarks

You can write information about custom properties in the registry by using the IBTService::WriteCustomProperty method.

See Also

Reference

IBTService

Other Resources

Bluetooth