ResumeConversion method of the Win32_EncryptableVolume class

The ResumeConversion method of the Win32_EncryptableVolume class resumes the encryption or decryption of a volume.

Note

If the disc supports hardware encryption, this function can resume a wiping operation only. For more information, see PauseConversion.

 

Syntax

uint32 ResumeConversion();

Parameters

This method has no parameters.

Return value

Type: uint32

This method returns one of the following codes or another error code if it fails.

If this method is used on a fully encrypted or fully decrypted volume, or if encryption/decryption is already in progress on the volume, 0 is returned assuming no other errors occur.

Return code/value Description
S_OK
0 (0x0)
The method was successful.
FVE_E_LOCKED_VOLUME
2150694912 (0x80310000)
The volume is locked.

 

Remarks

If this method is used on a volume with paused encryption/decryption, successfully running this method causes GetConversionStatus to indicate that encryption or decryption is in progress.

Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows SDK. They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

Requirement Value
Minimum supported client
Windows Vista Enterprise, Windows Vista Ultimate [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\CIMV2\Security\MicrosoftVolumeEncryption
MOF
Win32_encryptablevolume.mof

See also

Win32_EncryptableVolume