3.2.4.5.3 IsEnabled (Opnum 9)

The IsEnabled method returns whether a type of WSRM configuration object is enabled or disabled.

 [id(3), helpstring("method IsEnabled")] HRESULT IsEnabled(
   [out] BOOL* pbEnable,
   [in] CONFIGTYPE enumConfigType
 );

pbEnable: A pointer to a Boolean value that indicates whether the WSRM configuration object is enabled or disabled.

enumConfigType: A CONFIGTYPE enumeration (section 2.2.3.1) value that specifies the type of WSRM configuration object.

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.

Additional IWRMConfig interface methods are specified in section 3.2.4.5.