IBTService::WriteCustomProperty (Compact 2013)
3/26/2014
This method writes information about custom service properties in the registry.
Syntax
HRESULT WriteCustomProperty(
LPWSTR szPropertyName,
VARIANT vValue
);
Parameters
- szPropertyName
[in] Name of the service property.
- vValue
[in] VARIANT type that holds the property to save.
Return Value
Returns S_OK if successful; otherwise, returns E_FAIL. Also returns standard HRESULT values as appropriate.
Remarks
You can read information about custom properties from the registry by using the IBTService::ReadCustomProperty method.
ReadCustomProperty and WriteCustomProperty reads and writes, respectively, custom properties for an application to associate device-specific information for profile implementation.