Partager via


RenamePartition

This function renames the partition.

BOOL WINAPI RenamePartition(
  HANDLE hPartition,
  LPCTSTR szNewName
);

Parameters

  • hPartition
    [in] Handle to the partition returned from OpenPartition.
  • szNewName
    [in] New 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

OpenPartition

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.