ITask::get_Oid

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The get_Oid method gets the Object Identifier (CEOID) for a Task item.

Syntax

HRESULT get_Oid(
  long * poid
);

Parameters

  • poid
    [out] Reference to object identifier.

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.

Remarks

OIDs are DWORD values that uniquely identify POOM items within an Item Store. In POOM, an OID is also a Windows CE Object Identifier (CEOID), which uniquely identify all WINCE objects (databases, database volumes, database records, files, registry keys, etc.). You can find the definition for this type in the Windbase.h header file.

The OID might be required for replication services.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ITask
Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations