Share via


IItem::get_Oid

4/8/2010

The get_Oid method gets a PIM item's unique Object Identifier (OID).

Syntax

HRESULT get_Oid(
  long * poid
)

Parameters

  • poid
    [out] Reference to the PIM item's OID.

Return Value

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_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

Other Resources