Date and Calendar Analytics
Initialzation and shutdown APIs

API for Initializing, configuring, and shutdown the Date and Calendar analytics API. More...

Functions

int __stdcall SFDB_Init (LPCWSTR szBaseFileName, LPCWSTR szResDir, DWORD dwLocale, unsigned int *pClientToken)
 initialize the SFDBM Library
 
int __stdcall SFDB_Shutdown (unsigned int uClientToken)
 shutdown and release resources used by SFDBM Library
 

Detailed Description

Function Documentation

◆ SFDB_Init()

int __stdcall SFDB_Init ( LPCWSTR szBaseFileName,
LPCWSTR szResDir,
DWORD dwLocale,
unsigned int * pClientToken )
Parameters
[in]szBaseFileName(Required) Is the base filename of the database file
[in]szResDir(Optional) Is the location of the calendar resources files
[in]dwLocale(Required) Is the MS Locality ID
[out]pClientToken(Required) is an integer token used during the calendar facility shutdown
Returns
status code of the function call: zero = success, positive = success with a warning, and negative = error occurred.
Return values
NDK_SUCCESSsuccess
NDK_SKIP_INITsuccess with a warning
NDK_FAILEDerror
NDK_DATAPATH_INVALIDerror
See also
SFDB_Shutdown
Remarks
Example
Requirements
Target Platform Windows
Header SFDBM.h (include Windows.h)
Library SFDBM.lib
DLL SFDBM.dll
Since
v1.68

◆ SFDB_Shutdown()

int __stdcall SFDB_Shutdown ( unsigned int uClientToken)
Parameters
[in]uClientToken(Required) is an integer token acquired during the calendar facility initialization.
Returns
status code of the function call: zero = success, positive = success with a warning, and negative = error occurred.
Return values
NDK_SUCCESSsuccess
NDK_FAILEDerror
See also
SFDB_Init

Shutdown the session (e.g. closes files, terminate database connection, etc.)

Remarks
Example
Requirements
Target Platform Windows
Header SFDBM.h (include Windows.h)
Library SFDBM.lib
DLL SFDBM.dll
Since
v1.68