Share via


ITask::get_Oid (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

ITask
Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations
Objects and Object Identifiers