Compartir a través de


ICcServer::GetDatastore (Windows CE 5.0)

Send Feedback

This method returns an instance of datastore object.

HRESULT GetDatastore(  DWORD dwLocale,  ICcDatastore** ppiDatastore);

Parameters

  • dwLocale
    [in] Locale information used to load the corresponding resource files for this datastore; this can also be set using ICcServer::Locale.

    If no locale value is available, dwLocale defaults to 1033.

  • ppiDatastore
    [out, retval] On success, this points to the datastore object.

Return Values

If the method fails, it returns an HRESULT error code. Otherwise, the method returns one of the following values.

Value Description
S_OK Indicates success.
E_DATASTORE_LANGUAGENOTFOUND Indicates a required language file was not found.
E_DATASTORE_ALREADYLOADED Indicates the datastore is already loaded. An internal error occured.
E_DATASTORE_SAVEERROR Indicates an integration occurred, and the datastore could not be saved.
E_DATASTORE_TIMEERROR Indicates an error occured trying to obtain the system time.
E_DATASTORE_XMLLOAD Indicates an error occured loading the XML/XSL files.
E_CCSERVER_CREATINGDIRECTORY Indicates an error occured creating the local user datastore directory.
E_INVALIDARG Indicates input arguments are invalid.

Requirements

OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcServer.h.
Link Library: none.

See Also

Core Connectivity Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.