STORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY structure (ntddstor.h)

STORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY is the structure used when a caller sends IOCTL_STORAGE_QUERY_PROPERTY to query whether a device supports self encryption.

Syntax

typedef struct _STORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY {
  ULONG   Version;
  ULONG   Size;
  BOOLEAN SupportsSelfEncryption;
} STORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY, *PSTORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY;

Members

Version

Version of this structure. Set to sizeof(STORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY).

Size

Size of this structure, in bytes. Must be >= sizeof(STORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY).

SupportsSelfEncryption

Boolean value. This field is TRUE if the device supports self-encryption; otherwise it is FALSE.

Remarks

STORAGE_DEVICE_SELF_ENCRYPTION_PROPERTY is used as the output buffer in which to return the result when a caller sends IOCTL_STORAGE_QUERY_PROPERTY with a STORAGE_PROPERTY_ID value of StorageDeviceSelfEncryptionProperty.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header ntddstor.h

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_ID

STORAGE_PROPERTY_QUERY

STORAGE_QUERY_TYPE