LVM_Feature_Data

This structure is used to hold the location of the feature-specific data for LVM features.

This type is used internally by LVM, and is not directly available through the public LVM API. However, it is possible to access this data by means of the Read_Sectors and Write_Sectors functions.

#include <lvm_data.h>

#define  NULL_FEATURE   0


typedef struct _LVM_Feature_Data {
    DoubleWord     Feature_ID;                            /* The ID of the feature */
    PSN            Location_Of_Primary_Feature_Data;      /* The address of the feature data */
    PSN            Location_Of_Secondary_Feature_Data;    /* The address of the backup feature data */
    DoubleWord     Feature_Data_Size;                     /* The size, in sectors, of the feature data */
    Word           Feature_Major_Version_Number;          /* The feature's major version number */
    Word           Feature_Minor_Version_Number;          /* The feature's minor version number */
    BOOLEAN        Feature_Active;                        /* TRUE if this feature is active */
    BYTE           Reserved[ 3 ];
} LVM_Feature_Data;