Share via


ICcProperty::Value (Windows Embedded CE 6.0)

1/5/2010

This method gets and sets the value stored in a Core Connectivity property.

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

Syntax

HRESULT get_Value(
  [out, retval] BSTR* out_pbstrVal 
);

HRESULT put_Value(
  [in] BSTR in_bstrVal 
);

Parameters

  • out_ pbstrVal, in_ bstrVal
    Value stored in the Core Connectivity property object.

Return Value

The following table shows the values for this method.

Value Description

E_OUTOFMEMORY

Indicates the method could not allocate one of the bstr parameters out_bstrVal, in_bstrVal.

E_INVALIDARG

Indicates an invalid argument.

E_DATASTORE_PROTECTED

Indicates the method could not overwrite protected property.

E_DATASTORE_XMLTEXT

Indicates an input parameter, not XML text.

S_FALSE

Indicates the value is not present.

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

ICcProperty
Core Connectivity Interfaces