VixMntapi_Init()
Initializes the library. This is similar to VixDiskLib_InitEx() – see Initialize Virtual Disk API. You should call VixMntapi_Init() only once per process.
VixError VixMntapi_Init(uint32 majorVersion, uint32 minorVersion, VixDiskLibGenericLogFunc *log, VixDiskLibGenericLogFunc *warn, VixDiskLibGenericLogFunc *panic, const char *libDir, const char *configFile);
Parameters:
- majorVersion [in] VixMntapi major version number, currently must be 1 (one).
- minorVersion [in] VixMntapi minor version number, currently must be 0 (zero).
- log [in] Callback function to write log messages.
- warn [in] Callback function to write warning messages.
- panic [in] Callback function to report fatal errors.
- libDir [in] and configFile [in] as for VixDiskLib_InitEx(), allowing you to tmpDirectory.