Share via


STOREINFO

This structure contains information about a store.

typedef struct {
  DWORD cbSize;
  TCHAR szDeviceName[DEVICENAMESIZE];
  TCHAR szStoreName[STORENAMESIZE];
  DWORD dwDeviceClass;
  DWORD dwDeviceType;
  STORAGEDEVICEINFO sdi;
  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. The possible values are shown in the following table.
    • STORAGE_DEVICE_CLASS_BLOCK
    • STORAGE_DEVICE_CLASS_MULTIMEDIA
  • dwDeviceType
    Specifies the device type in the device descriptor. The possible values are shown in the following list:
    • 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
    The possible values are shown in the following list:
    • 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
    Store attributes, see the following list:
    • 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.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.