Export (0) Print
Expand All
Expand Minimize

GetHardwareEncryptionStatus method of the Win32_EncryptableVolume class

The GetHardwareEncryptionStatus method of the Win32_EncryptableVolume class determines whether the volume is located on a drive that supports or can support hardware encryption.

Syntax


uint32 GetHardwareEncryptionStatus(
  [out]  uint32 HardwareEncryptionStatus
);

Parameters

HardwareEncryptionStatus [out]

Specifies whether the drive can support hardware encryption. This can be one of the following values.

ValueMeaning
Not supported
0

Hardware encryption is not supported.

No protection
1

Drive encryption is not supported.

Uses software
2

The encryption method is software-based.

Uses hardware
3

The drive supports hardware encryption.

 

Return value

This function returns zero (0) if the volume is compatible with BitLocker hardware encryption. Otherwise, the function returns an error.

Return code/valueDescription
S_OK
0 (0x0)

The volume is compatible with BitLocker hardware encryption.

 

Requirements

Minimum supported client

Windows 8 Enterprise, Windows 8 Pro [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Namespace

\\.\root\CIMV2\Security\MicrosoftVolumeEncryption

MOF

Win32_encryptablevolume.mof

See also

Win32_EncryptableVolume

 

 

Community Additions

ADD
Show:
© 2014 Microsoft