4.1.8 Set the Current Resource Policy
The following sequence of WSRM client actions can be used to set the current resource policy to an existing RAP:
Connect to the WSRM server by creating a ResourceManager COM object.
Get a pointer to the IWRMPolicy interface.
Call the SetCurrentPolicy method with the following parameters:
bstrPolicyName set to "Equal_Per_Process".
enumManage set to MANUAL_ACTIVE_POLICY.
Release the pointer to the interface.