VolumeConfigElementDef

Defines an element of volume configuration. Each element will supply a default value which is not always modifiable. The first element is always the volume name.

Syntax

  struct VolumeConfigElementDef 
  { 
      BYTE     *name; 
      BYTE     *description; 
      struct   ElementMenuList *menu; 
      void     *data; 
      LONG     size; 
      LONG     attributes; 
  };
  

Fields

name
A null-terminated ASCII string defining the name of the element. The maximum string length is 32 bytes, including the null.
description
A null-terminated ASCII string that provides a description of the element. This string is typically used by an application to provide additional information about the element to a user. A maximum string length is not defined.
menu
If this field is not null, it will point to an ElementMenuList structure used to define the set of valid values for this element.
data
The address where the element’s default value can be found and where an application will place the new value if the default is changed. Strings values can be ASCII or UNICODE as defined by the data value attributes.
size
The size, in bytes, of the element value. For non-string values, this field will contain one of the following:

MM_BOOLEAN

MM_UINT8

MM_UINT16

MM_UINT32

MM_UINT64

MM_MENU

MM_COMMENT

(See Section 10.19, File System Application Operation Configuration Element Value Types.)Otherwise, it will contain the maximum length, including the null terminator, of a string value.

attributes
A bit field defining the attributes of the element’s data value. These attributes can be as follows:MM_MODIFIABLE_ELEMENT

MM_UNICODE_TEXT