3.4.5.2.4.16 IVdsService::ClearFlags (Opnum 19)

The ClearFlags method clears property flags from the service.

 HRESULT ClearFlags(
   [in] unsigned long ulFlags
 );

ulFlags: A value from the VDS_SERVICE_FLAG enumeration. Only the VDS_SVF_AUTO_MOUNT_OFF flag is valid for this method.

Return Values: The method MUST return zero or a non-error HRESULT (as specified in [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service Remote Protocol, see section 2.2.3.

When the server receives this message, it MUST validate the following parameter:

  • Verify that ulFlags does not contain any flags that the parameter specification disallows.

The server MUST attempt to clear the service flags that ulFlags specifies and return an HRESULT indicating failure or success.