Partager via


IVoIPConfigurationDataStore::WriteValue (Windows CE 5.0)

Send Feedback

This method writes the specified value to the data store.

HRESULT WriteValue(  UINT fWhichItem,   const WCHAR* c_wszNewValue);

Parameters

  • fWhichItem
    A CONFIG_DATA_ flag that indicates the specific value to write.
  • c_wszNewValue
    The new value for the specified data field.

Return Values

The following table shows possible return values.

Value Description
E_INVALIDARG The fWhichItem parameter is not one of the CONFIG_DATA_ flags.
E_OUTOFMEMORY There is not enough memory to store the specified value.
E_POINTER The address in c_wszNewValue is not valid.
S_OK The value was stored successfully.
VOIP_E_NOTINITIALIZED The data store is not initialized. It must be initialized using IVoIPConfigurationDataStore::Initialize.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Voipconfigurationdatastore.idl, Voipconfigurationdatastore.h.
Link Library: Voipguid.lib.

See Also

IVoIPConfigurationDataStore | CONFIG_DATA_ | IVoIPConfigurationDataStore::Initialize

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.