Functions | |
kvmStatus | kvmDeviceDiskStatus (kvmHandle h, int *present) |
kvmStatus | kvmKmfGetUsage (kvmHandle h, uint32 *totalSectorCount, uint32 *usedSectorCount) |
kvmStatus | kvmDeviceDiskSize (kvmHandle h, uint32 *diskSize) |
kvmStatus | kvmDeviceGetSerialNumber (kvmHandle h, unsigned int *serial) |
kvmStatus | kvmDeviceGetSoftwareInfo (kvmHandle h, int32 itemCode, unsigned int *major, unsigned int *minor, unsigned int *build, unsigned int *flags) |
kvmStatus | kvmDeviceFlashLeds (kvmHandle h) |
Get disk size, reported in number of (512 byte) sectors.
[in] | h | An open kvmHandle. |
[out] | diskSize | Disk size in number of (512 byte) sectors. |
Check if the SD memory card is present.
[in] | h | An open kvmHandle. |
[out] | present | Non-zero means that SD memory card is present. |
Flash all LEDs on the opened Memorator device
[in] | h | An open kvmHandle. |
Get serial number related to the Memorator handle.
[in] | h | An open kvmHandle. |
[out] | serial | Serial number of connected device. |
kvmStatus kvmDeviceGetSoftwareInfo | ( | kvmHandle | h, |
int32 | itemCode, | ||
unsigned int * | major, | ||
unsigned int * | minor, | ||
unsigned int * | build, | ||
unsigned int * | flags | ||
) |
Get software version information.
[in] | h | An open kvmHandle. |
[in] | itemCode | An item code specifying the type of version to get. kvm_SWINFO_xxx |
[out] | major | Major version number |
[out] | minor | Minor version number |
[out] | build | Build number |
[out] | flags | For internal use only |
Get disk usage statistics, reported in number of (512 byte) sectors.
[in] | h | An open kvmHandle. |
[out] | totalSectorCount | Total number of sectors devoted for logging |
[out] | usedSectorCount | Number of logging sectors used |