PD_OpenPartition (Compact 2013)

3/26/2014

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

See Also

Reference

Partition Manager Functions
PD_OpenStore