3.2.4.7.9 GetCalDefaultPolicyName (Opnum 15)

The GetCalDefaultPolicyName method used to get the name of the default resource allocation policy (RAP).

 [id(9), helpstring("method GetCalDefaultPolicyName")] HRESULT GetCalDefaultPolicyName(
   [out] BSTR* pbstrDefaultPolicyName
 );

pbstrDefaultPolicyName: A pointer to a string that returns the default RAP name.

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

0xC1FF038F

WRM_NO_DEF_RAP

The WSRM server does not have a default resource allocation policy.<110>

0x00000000

S_OK

Operation successful.

Additional IWRMPolicy interface methods are specified in section 3.2.4.7.