Share via


CreatePartitionEx

This function creates the store.

HANDLE WINAPI CreatePartitionEx(
  HANDLE hStore,
  LPCTSTR szPartitionName,
  BYTE bPartType,
  SECTORNUM snNumSectors
);

Parameters

  • hStore
    [in] Handle to the store returned from OpenStore.
  • szPartitionName
    [in] Name of the partition.
  • bPartType
    [in] Type of 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.

See Also

OpenStore

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.