3.2.4.7.13 GetCurrentStateAndActivePolicyName (Opnum 19)
The GetCurrentStateAndActivePolicyName method returns the name of the current resource policy and the management state in which the WSRM management service is currently available.
-
[id(13), helpstring("method GetCurrentStateAndActivePolicyName")] HRESULT GetCurrentStateAndActivePolicyName( [out] BSTR* pbstrCurrentPolicyName, [out] MANAGEMENT_TYPE* enumManage );
pbstrCurrentPolicyName: A pointer to a string that returns the name of the current resource policy.
enumManage: A pointer to a MANAGEMENT_TYPE enumeration (section 2.2.3.5) value that returns the mode in which the management service is currently operating.
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.
Additional IWRMPolicy interface methods are specified in section 3.2.4.7.