126.96.36.199.3 ModifyPolicy (Opnum 9)
The ModifyPolicy method modifies an existing resource allocation policy (RAP).
[id(3), helpstring("method ModifyPolicy")] HRESULT ModifyPolicy( [in] BSTR bstrPolicyInfo, [in] BOOL bOverwrite );
If this parameter is NULL, E_INVALIDARG MUST be returned.
bOverwrite: A Boolean value that specifies whether to ignore the timestamp of the specified policy when validating.
The timestamp of the new policy MUST specify a time that is later than or equal to the timestamp of any modifications made to a policy object on the server. Otherwise, the modification MUST fail, and WRM_ERR_OLD_INFORMATION MUST be returned.
The policy is validated and modified without checking the timestamp.
One or more arguments are invalid.
The XML timestamp is out of date.
The specified name contains characters that are invalid. The name cannot start with a hyphen ("-"), cannot contain spaces, and cannot contain any of the following characters:
\ / ? * | : < > " , ;
The specified RAP does not exist.
The specified policy is a built-in policy. It cannot be altered.
The request has been aborted because the process matching criteria (PMC) name could not be found.
Additional IWRMPolicy interface methods are specified in section 188.8.131.52.