다음을 통해 공유


IVoIPConfigurationDataStore:IUnknown (Windows CE 5.0)

Send Feedback

This interface provides access to the configuration information that VAIL needs to connect to servers, make phone calls, and so on. For a complete list of the information exposed by this interface, see CONFIG_DATA_.

Using methods provided by this interface, you can read these settings from the registry, from an XML file (or string containing XML), or from an LDAP-compliant server. After the settings have been populated, you can read or write any setting at any time.

Methods

Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

The following table shows the methods in this interface.

Method Description
Initialize Initializes the data store by reading any existing values from the registry.
ReadValue Reads the specified value from the data store.
Uninitialize Writes the data store's values to the registry and marks the data store as uninitialized.
UpdateSettingsFromFile Updates all of the specified settings in the data store using XML data retrieved from the specified file.
UpdateSettingsFromServer Updates all of the specified settings in the data store using information from the specified LDAP server.
UpdateSettingsFromXML Updates all of the specified settings in the data store using information in the passed XML string.
WriteValue Writes the specified value to the data store.

Obtaining a Pointer

To obtain a pointer to an object that implements this interface, call CoCreateInstance with the constant CLSID_VoIPConfigurationDataStore.

This constant is defined in the Voipconfigurationdatastore.idl file in %_WINCEROOT%\Public\VoIP\SDK\inc, and exists in the Voipguid.lib file in %_WINCEROOT%\Public\VoIP\OAK\Lib\<CPU path>.

You can also use another COM object creation method with the same CLSID, like ATL's CComPtr.CoCreateInstance method.

Requirements

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

See Also

VAIL Interfaces | CONFIG_DATA_ | IUnknown

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.