SetStringPropertyA method
Sets a specified property.
Syntax
HRESULT retVal = object.SetStringPropertyA(pszName, pszVal);
Parameters
pszName [in]
Type: LPCSTRThe property name.
pszVal [in]
Type: LPCSTRThe property value.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.