Compartir a través de


STOREINFO (Storage Manager) (Windows CE 5.0)

Send Feedback

This structure contains information about a store.

typedef struct {DWORD cbSize;TCHAR szDeviceName[DEVICENAMESIZE];TCHAR szStoreName[STORENAMESIZE];DWORD dwDeviceClass;DWORD dwDeviceType;STORAGEDEVICEINFOsdi;
  DWORD dwDeviceFlags;SECTORNUM snNumSectors;DWORD dwBytesPerSector;SECTORNUM snFreeSectors;SECTORNUM snBiggestPartCreatable;FILETIME ftCreated;FILETIME ftLastModified;DWORD dwAttributes;DWORD dwPartitionCount;DWORD dwMountCount;} STOREINFO, *PSTOREINFO;

Members

  • cbSize
    Set to sizeof(STOREINFO).

  • szDeviceName
    Name of the device. Maximum length is 8.

  • szStoreName
    Name of the store. Maximum length is 32.

  • dwDeviceClass
    Specifies the device class in the device descriptor.

    These are the possible values.

    • STORAGE_DEVICE_CLASS_BLOCK
    • STORAGE_DEVICE_CLASS_MULTIMEDIA
  • dwDeviceType
    Specifies the device type in the device descriptor.

    These are the possible values:

    • STORAGE_DEVICE_TYPE_PCIIDE
    • STORAGE_DEVICE_TYPE_FLASH
    • STORAGE_DEVICE_TYPE_ATA
    • STORAGE_DEVICE_TYPE_ATAPI
    • STORAGE_DEVICE_TYPE_PCCARD
    • STORAGE_DEVICE_TYPE_CFCARD
    • STORAGE_DEVICE_TYPE_SRAM
    • STORAGE_DEVICE_TYPE_DVD
    • STORAGE_DEVICE_TYPE_CDROM
    • STORAGE_DEVICE_TYPE_USB
    • STORAGE_DEVICE_TYPE_1394
    • STORAGE_DEVICE_TYPE_DOC
    • STORAGE_DEVICE_TYPE_UNKNOWN
    • STORAGE_DEVICE_TYPE_REMOVABLE_DRIVE
    • STORAGE_DEVICE_TYPE_REMOVABLE_MEDIA
  • sdi
    Specifies the device identifier in the device descriptor.

  • dwDeviceFlags
    Specifies additional properties of a store.

    These are the possible values:

    • STORAGE_DEVICE_FLAG_READWRITE
    • STORAGE_DEVICE_FLAG_READONLY
    • STORAGE_DEVICE_FLAG_TRANSACTED
    • STORAGE_DEVICE_FLAG_MEDIASENSE
  • snNumSectors
    Number of sectors on the store.

  • dwBytesPerSector
    Number of bytes per sector.

  • snFreeSectors
    Number of unallocated sectors.

  • snBiggestPartCreatable
    Biggest partition currently creatable.

  • ftCreated
    Last time store was formatted.

  • ftLastModified
    Last time partition table was modified.

  • dwAttributes
    Specifies attributes of a volume.

    These are the store attributes:

    • STORE_ATTRIBUTE_READONLY
    • STORE_ATTRIBUTE_REMOVABLE
    • STORE_ATTRIBUTE_UNFORMATTED
    • STORE_ATTRIBUTE_AUTOFORMAT
    • STORE_ATTRIBUTE_AUTOPART
    • STORE_ATTRIBUTE_AUTOMOUNT
  • dwPartitionCount
    Number of Partitions.

  • dwMountCount
    Number of partitions that have been mounted.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Storemgr.h.

See Also

Storage Manager Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.