Share via


IStore::GetProps (Compact 7)

3/12/2014

The GetProps method retrieves this item store's properties.

Syntax

HRESULT GetProps(
  const CEPROPID* rgPropID,
  ULONG ulFlags,
  WORD cProps,
  CEPROPVAL** prgVals,
  ULONG* pcbBuffer,
  HANDLE hHeap
);

Parameters

  • rgPropID
    [in] The array of properties that you want to retrieve.
  • ulFlags
    [in] A flag value of CEDB_ALLOWREALLOC used for buffer allocation.
  • cProps
    [in] The number of properties that you want to retrieve.
  • prgVals
    [out] The retrieved array of property values.
  • pcbBuffer
    [out] The size of the buffer returned in prgVals.
  • hHeap
    [in] A handle to the heap memory used for the memory allocation of prgVals.

Return Value

The GetProps method returns the following standard HRESULT values.

  • S_OK
    The operation completed successfully.
  • E_FAIL
    The operation failed due to an unspecified error.
  • E_INVALIDARG
    The operation failed because one (or more) of the arguments is not valid.
  • E_OUTOFMEMORY
    The operation failed because it needs more memory resources.
  • E_UNEXPECTED
    The operation failed due to an unexpected failure.

Remarks

New for Windows Embedded Compact 7.

Requirements

Header

pimstore.h

Library

Pimstore.lib

See Also

Reference

IStore