Share via


FindFirstPartition (Compact 2013)

3/26/2014

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

See Also

Reference

Storage Manager Functions
OpenStore
PARTINFO
FindClosePartition