Partager via


OpenPartition

This function opens a partition and returns a handle to the partition.

HANDLE WINAPI OpenPartition(
  HANDLE hStore,
  LPCTSTR szPartitionName
);

Parameters

  • hStore
    [in] Handle to the store returned from OpenStore.
  • szPartitionName
    [in] Name of the partition.

Return Values

Returns a handle to the partition, otherwise returns INVALID_HANDLE_VALUE.

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.