DeletePartition

This function deletes a partition from the store. A partition can only be used if it has not been mounted.

BOOL WINAPI DeletePartition(
  HANDLE hStore,
  LPCTSTR szPartitionName
);

Parameters

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