3.2.4.5.5 GetExclusionList (Opnum 11)
The GetExclusionList method gets the current exclusion list of processes not managed by the WSRM management service.
-
[id(5), helpstring("method GetExclusionList")] HRESULT GetExclusionList( [out] BSTR* pbstrExclusionList, [in] EXCLUSIONLIST_TYPE enumListType );
pbstrExclusionList: A pointer to a string that returns the exclusion list, in the form of an ExclusionList element (section 2.2.5.16). For an example, see ExclusionList Example (section 4.2.13).
enumListType: An EXCLUSIONLIST_TYPE enumeration (section 2.2.3.2) value that specifies whether the list is system-defined or user-defined.
Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.
-
Return value/code
Description
0x00000000
S_OK
Operation successful.
0x80070057
E_INVALIDARG
One or more arguments are invalid.
0xC1FF006B
WRM_ERR_TOO_LONG_PROCESS_NAME
The exclusion list could not be returned because the number of characters in a process name has exceeded an implementation-defined limit.<79>
0xC1FF006C
WRM_ERR_EXCLUSION_LIST_LIMIT_EXCEEDED
The exclusion list could not be returned because the number of processes that can be excluded has exceeded an implementation-defined limit.<80>
Additional IWRMConfig interface methods are specified in section 3.2.4.5.