IItem::get_Application

4/8/2010

The get_Application method gets the main Outlook Mobile IPOutlookApp object. This object represents the entry-point to the object model. With a reference to an instance of this object, you can access any of the other objects in object model.

Syntax

HRESULT get_Application(
  IPOutlookApp ** ppIPOutlookApp
);

Parameters

  • ppIPOutlookApp
    [out] Reference to the Outlook Mobile IPOutlookApp application object.

Return Value

This method returns the standard values HRESULT_FROM_WIN32(GetLastError()), E_INVALIDARG, and S_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

IItem
IPOutlookApp

Other Resources