Partager via


IPOutlookApp3::CreateStore (Compact 7)

3/12/2014

The CreateStore method create a new POOM item Store.

Syntax

HRESULT CreateStore(
  BSTR bstrStoreName,
  IStore** ppStore
);

Parameters

  • bstrStoreName
    [in] A BSTR the contains the name you want for the new Item Store.
  • ppStore
    [out, retval] A handle to the returned Item Store object.

Return Value

The CreateStore 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

IPOutlookApp3