ICcObject::ID (Windows Embedded CE 6.0)

1/5/2010

This method retrieves the ID of a datastore object.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

HRESULT get_ID(
  BSTR* out_pbstrID
);

Parameters

  • out_ pbstrID
    [out, retval] Language-neutral identifier for the datastore object.

Return Value

The following table shows the return values for this method.

Value Description

E_OUTOFMEMORY

Indicates the method could not allocate the bstr parameter out_pbstrID.

E_INVALIDARG

Indicates an invalid argument.

Remarks

Localization requires a language-neutral name for a datastore object, because the ICcObject::Name value varies with locale.

Requirements

Header ccdatastore.h
Windows Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro

See Also

Reference

ICcObject
Core Connectivity Interfaces