Disk Operations

Functions

kvmStatus kvmKmfValidate (kvmHandle h)
 
kvmStatus kvmDeviceFormatDisk (kvmHandle h, int fileSystem, uint32 reserveSpace, uint32 dbaseSpace)
 

Detailed Description

Function Documentation

◆ kvmDeviceFormatDisk()

kvmStatus kvmDeviceFormatDisk ( kvmHandle  h,
int  fileSystem,
uint32  reserveSpace,
uint32  dbaseSpace 
)
C#
static Kvmlib.STATUS DeviceFormatDisk(Handle h, Int32 filesystem, Int32 reserveSpace, Int32 dbaseSpace);

Format the SD memory card in a connected Memorator.

An item code specifying the type of version to get. kvm_SWINFO_xxx

Parameters
[in]hAn open kvmHandle.
[in]fileSystemA filesystem code, kvmFS_xxx, specifying the type of filesystem to format to.
[in]reserveSpaceSpace to reserve for user files, in MB.
[in]dbaseSpaceSpace to reserve for database files, in MB.
Returns
kvmOK (zero) if success
kvmERR_xxx (negative) if failure
See also
kvmDeviceDiskSize

◆ kvmKmfValidate()

kvmStatus kvmKmfValidate ( kvmHandle  h)
C#
static Kvmlib.STATUS KmfValidate(Handle h);

Check for errors

Parameters
[in]hAn open kvmHandle.
Returns
kvmOK (zero) if success
kvmERR_xxx (negative) if failure