Share via


IStore::GetItems (Compact 7)

3/12/2014

The GetItems method retrieves a collection containing all items of a given type, from all of the folders in this item store.

Syntax

HRESULT GetItems(
  OlItemType olItemType,
  IPOutlookItemCollection2** ppItems
);

Parameters

  • olItemType
    [in] The type of items you want to retrieve. For more information, see OlItemType.
  • ppItems
    [out, retval] A handle to the returned item collection.

Return Value

The GetItems 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
IPOutlookItemCollection2
OlItemType