Share via


SetPartitionAttributes

This function sets the attributes for the partition.

BOOL WINAPI SetPartitionAttributes(
  HANDLE hPartition,
  DWORD dwAttrs
);

Parameters

  • hPartition
    [in] Handle to the partition returned from OpenPartition.
  • dwAttrs
    [in] Attributes to set.

Return Values

Returns TRUE if successful, otherwise FALSE.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Storemgr.h.

See Also

OpenPartition | PD_PARTINFO

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.