ICcServiceConfigure::SetProperty (Windows CE 5.0)
This method sets a value associated with a property within the service.
HRESULT SetProperty( BSTRbstrPropertyName, BSTRbstrPropertyValue);
Parameters
- bstrPropertyName
[in] Name of the property for which to set the value. - bstrPropertyValue
[in] Value associated with the property.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates the call was successful. |
E_INVALIDARG | Indicates pbstrPropertyValue or bstrPropertyName is NULL. |
E_FAIL | Indicates one of the following:
|
Remarks
If the property doesn't exist, a new property is added with the given name.
If the property exists, the value of the property is changed.
Requirements
OS Version: Windows CE 5.0 and later.
Header: CcServiceConfigure.h.
Link Library: none.
See Also
Send Feedback on this topic to the authors