Share via


STORAGECONTEXT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Storage Manager Structures