Partager via


RenamePartition (Compact 2013)

3/26/2014

This function renames a partition.

Syntax

BOOL WINAPI RenamePartition(
  HANDLE hPartition,
  LPCTSTR szNewName
);

Parameters

  • hPartition
    [in] Handle to the partition returned by the OpenPartition function.
  • szNewName
    [in] New name of the partition.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

storemgr.h

Library

storeapi.lib

See Also

Reference

Storage Manager Functions
OpenPartition