Share via


STORAGECONTEXT (Compact 2013)

3/26/2014

This structure contains information that enables the OEM adaptation layer (OAL) to choose which partition to format.

Syntax

typedef struct tagSTORAGECONTEXT {
  DWORD cbSize;
  STOREINFO StoreInfo;
  PARTINFO PartInfo;
  DWORD dwFlags;
} STORAGECONTEXT, *PSTORAGECONTEXT;

Members

  • cbSize
    Set to sizeof(STORAGECONTEXT).
  • StoreInfo
    Contains information about a store.
  • PartInfo
    Contains information about a partition.
  • dwFlags
    Specifies options that can be used by the OAL when formatting a partition. The following table shows possible values.

    Value

    Description

    AFS_FLAG_BOOTABLE

    Specifies that the system registry might be present.

    AFS_FLAG_HIDDEN

    Hides the file system.

    AFS_FLAG_HIDEROM

    Hides ROM when mounting the root file system. This value is used in combination with FLAG_ROOTFS.

    AFS_FLAG_MOUNTROM

    Mounts the new file system as an additional ROM file system.

    AFS_FLAG_ROOTFS

    Mounts the file system at the root.

Requirements

Header

storemgr.h

See Also

Reference

Storage Manager Structures