STORAGE_RPMB_DESCRIPTOR structure (ntddstor.h)

The STORAGE_RPMB_DESCRIPTOR structure contains information about a device's Replay Protected Memory Block (RPMB) support.

Syntax

typedef struct _STORAGE_RPMB_DESCRIPTOR {
  ULONG                   Version;
  ULONG                   Size;
  ULONG                   SizeInBytes;
  ULONG                   MaxReliableWriteSizeInBytes;
  STORAGE_RPMB_FRAME_TYPE FrameFormat;
} STORAGE_RPMB_DESCRIPTOR, *PSTORAGE_RPMB_DESCRIPTOR;

Members

Version

Version of this structure. Set to STORAGE_RPMB_DESCRIPTOR_VERSION_1.

Size

Size of this structure, in bytes. Set to sizeof(STORAGE_RPMB_DESCRIPTOR).

SizeInBytes

Size of the RPMB, in bytes. SizeInBytes cannot be zero.

MaxReliableWriteSizeInBytes

Maximum amount of data supported in one transaction, in bytes. MaxReliableWriteSizeInBytes cannot be zero.

FrameFormat

A **STORAGE_RPMB_FRAME_TYPE structure identifying the frame format that the payload will be in.

Remarks

An application will issue IOCTL_STORAGE_QUERY_PROPERTY with the STORAGE_PROPERTY_ID enumeration set to StorageAdapterRpmbProperty to determine whether the device contains an RPMB, and the maximum payload size the RPMB supports.

Storport responds with the payload information in this structure when the STORAGE_QUERY_TYPE enumeration is set to PropertyStandardQuery.

Requirements

Requirement Value
Header ntddstor.h

See also

IOCTL_STORAGE_QUERY_PROPERTY

STORAGE_PROPERTY_ID

STORAGE_QUERY_TYPE

**STORAGE_RPMB_FRAME_TYPE