Partager via


FindFirstPartition

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Storage Manager Functions
OpenStore
PARTINFO
FindClosePartition