Freigeben über


IVoIPConfigurationDataStore::ReadValue (Windows CE 5.0)

Send Feedback

This method reads the specified value from the data store.

HRESULT ReadValue(  UINT fWhichItem,   WCHAR* wszDataBuffer,   UINT cchDataBuffer);

Parameters

  • fWhichItem
    A CONFIG_DATA_ flag that indicates the specific value to read.
  • wszDataBuffer
    Pointer to a caller-allocated buffer that this method uses to store the value it reads.
  • cchDataBuffer
    The size of the buffer, in wide characters, represented by the pointer in the wszDataBuffer parameter.

Return Values

The following table shows possible return values.

Value Description
E_INVALIDARG The fWhichItem parameter is not one of the CONFIG_DATA_ flags, or cchDataBuffer is not greater than zero.
E_POINTER The address in wszDataBuffer is not valid.
S_OK The value was returned 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_ | IIVoIPConfigurationDataStore::Initialize

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.