PauseConversion method of the Win32_EncryptableVolume class

The PauseConversion method of the Win32_EncryptableVolume class pauses the encryption or decryption of a volume.

Note

If the disc supports hardware encryption, this function can pause a wiping operation but cannot pause hardware-based encryption.

 

Syntax

uint32 PauseConversion();

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 paused 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 encryption/decryption in progress, successfully running this method causes GetConversionStatus to indicate that encryption or decryption is paused.

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