Initialization

Functions

void kvmInitialize (void)
 
kvmStatus kvmGetVersion (int *major, int *minor, int *build)
 
kvmStatus kvmGetErrorText (kvmStatus error, char *buf, size_t len)
 

Detailed Description

Function Documentation

◆ kvmGetErrorText()

kvmStatus kvmGetErrorText ( kvmStatus  error,
char *  buf,
size_t  len 
)
C#
static Kvmlib.STATUS GetErrorText(Status error, out String buf);

Convert a kvmStatus errorcode to a text.

Parameters
[in]errorThe error code to convert.
[out]bufBuffer to receive error text.
[in]lenBuffer size in bytes.

◆ kvmGetVersion()

kvmStatus kvmGetVersion ( int *  major,
int *  minor,
int *  build 
)
C#
static Kvmlib.STATUS GetVersion(out Int32 major, out Int32 minor, out Int32 build);

This function returns the version of the KVMLIB API DLL (kvmlib.dll).

Parameters
[out]majorMajor version number.
[out]minorMinor version number.
[out]buildBuild number.
Returns
version number of kvmlib.dll

◆ kvmInitialize()

void kvmInitialize ( void  )
C#
static void Initialize();

This function must be called before any other functions are used. It will initialize the memolib library.