Share via


SetPartitionAttributes (Compact 2013)

3/26/2014

This function sets the attributes of a partition.

Syntax

BOOL WINAPI SetPartitionAttributes(
  HANDLE hPartition,
  DWORD dwAttrs
);

Parameters

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

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

storemgr.h

Library

storeapi.lib

See Also

Reference

Storage Manager Functions
OpenPartition
PD_PARTINFO