ICcServer::GetDatastore (Windows Embedded CE 6.0)
1/5/2010
This method returns an instance of datastore object.
In Windows Embedded CE 6.0, 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 |
Windows | Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro |