다음을 통해 공유


CreatePartition (Windows CE 5.0)

Send Feedback

This function creates a partition on the store and marks the partition with the default file system. The profile for the store in the registry defines the default file system.

BOOL WINAPI CreatePartition(HANDLE hStore,LPCTSTR szPartitionName,SECTORNUM snNumSectors);

Parameters

  • hStore
    [in] Handle to the store returned from OpenStore.
  • szPartitionName
    [in] Name of the partition.
  • snNumSectors
    [in] 64-bit number indicating the size of the partition

Return Values

Returns TRUE if successful, otherwise FALSE.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Storemgr.h.
Link Library: Storeapi.lib

See Also

OpenStore | Storage Manager Functions | Partitioning a Storage Volume

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.