Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetHardwareEncryptionStatus method
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft