Share via


PD_OpenPartition

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function opens the partition to perform I/O operations.

Syntax

DWORD PD_OpenPartition(
  DWORD dwStoreId, 
  LPCTSTR szPartName, 
  LPDWORD pdwPartitionId
);

Parameters

  • dwStoreId
    [in] Handle returned by the PD_OpenStore function.
  • szPartName
    [in] Name of the partition to open.
  • pdwPartitionId
    Pointer to the partition opened by the PD_OpenPartition function.

Return Value

A handle to the partition indicates success. NULL indicates failure.

Requirements

Header partdrv.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Partition Manager Functions
PD_OpenStore