Partager via


FindFirstPartition (Windows Embedded CE 6.0)

1/6/2010

This partition finds the first partition on the store.

Syntax

HANDLE WINAPI FindFirstPartition(
  HANDLE hStore,
  PPARTINFO pPartInfo
);

Parameters

  • hStore
    [in] Handle to the store returned by the OpenStore function.
  • pPartInfo
    [in, out] Pointer to a PARTINFO structure.

Return Value

A search handle indicates success. INVALID_HANDLE_VALUE indicates failure. For extended error information, call GetLastError.

Remarks

When the search handle is no longer needed, close it with the FindClosePartition function.

Requirements

Header storemgr.h
Library Storeapi.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Storage Manager Functions
OpenStore
PARTINFO
FindClosePartition