220.127.116.11.10 GetProcessList (Opnum 16)
The GetProcessList method returns a list of processes for a specified policy.
[id(10), helpstring("method GetProcessList")] HRESULT GetProcessList( [in] BSTR bstrPolicyName, [out] BSTR* pbstrProcessList );
bstrPolicyName: Name of the policy for which a matching process list is to be returned.
If this parameter is NULL, E_INVALIDARG MUST be returned.
pbstrProcessList: A pointer to a string that returns a list of processes in the form of a ProcessList element (section 18.104.22.168). The data about matching processes is queried from the operating system to create the ProcessList element.
One or more arguments are invalid.
The specified name contains characters that are not valid. The name cannot start with a hyphen ("-"), cannot contain spaces, and cannot contain any of the following characters:
\ / ? * | : < > " , ;
The specified resource allocation policy does not exist.
Additional IWRMPolicy interface methods are specified in section 22.214.171.124.