Share via


ICcServer::GetDatastore (Compact 2013)

3/26/2014

Deprecated.

This method returns an instance of datastore object.

In Windows Embedded Compact 2013, CoreCon HLAPI has been deprecated.

Syntax

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 Value

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

Header

ccserver.h

See Also

Reference

ICcServer
Core Connectivity Interfaces