Share via


PD_OpenPartition (Windows Embedded CE 6.0)

1/6/2010

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