Share via


ITask::get_Oid (Compact 7)

3/12/2014

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 Embedded Compact Object Identifier (CEOID), which uniquely identify all Windows Embedded Compact 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

See Also

Reference

ITask
Pocket Outlook Object Model Interfaces
Pocket Outlook Object Model Enumerations