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) |
Detailed Description
Function Documentation
kvmDeviceDiskSize()
- C#
- static Kvmlib.STATUS DeviceDiskSize(Handle h, out Int32 diskSize);
Get disk size, reported in number of (512 byte) sectors.
- Parameters
-
[in] h An open kvmHandle. [out] diskSize Disk size in number of (512 byte) sectors.
- Returns
- kvmOK (zero) if success
- kvmERR_xxx (negative) if failure
kvmDeviceDiskStatus()
- C#
- static Kvmlib.STATUS DeviceDiskStatus(Handle h, out Int32 present);
Check if the SD memory card is present.
- Note
- This function is not supported by all devices.
- Parameters
-
[in] h An open kvmHandle. [out] present Non-zero means that SD memory card is present.
- Returns
- kvmOK (zero) if success
- kvmERR_xxx (negative) if failure
kvmDeviceFlashLeds()
- C#
- static Kvmlib.STATUS DeviceFlashLeds(Handle h);
Flash all LEDs on the opened Memorator device
- Parameters
-
[in] h An open kvmHandle.
- Returns
- kvmOK (zero) if success
- kvmERR_xxx (negative) if failure
kvmDeviceGetSerialNumber()
- C#
- static Kvmlib.STATUS DeviceGetSerialNumber(Handle h, out Int32 serial);
Get serial number related to the Memorator handle.
- Parameters
-
[in] h An open kvmHandle. [out] serial Serial number of connected device.
- Returns
- kvmOK (zero) if success
- kvmERR_xxx (negative) if failure
kvmDeviceGetSoftwareInfo()
| kvmStatus kvmDeviceGetSoftwareInfo | ( | kvmHandle | h, |
| int32 | itemCode, | ||
| unsigned int * | major, | ||
| unsigned int * | minor, | ||
| unsigned int * | build, | ||
| unsigned int * | flags | ||
| ) |
- C#
- static Kvmlib.STATUS DeviceGetSoftwareInfo(Handle h, VersionInfo itemCode, out Int32 major, out Int32 minor, out Int32 build, out Int32 flags);
Get software version information.
- Parameters
-
[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
- Returns
- kvmOK (zero) if success
- kvmERR_xxx (negative) if failure
kvmKmfGetUsage()
- C#
- static Kvmlib.STATUS KmfGetUsage(Handle h, out Int32 totalSectorCount, out Int32 usedSectorCount);
Get disk usage statistics, reported in number of (512 byte) sectors.
- Parameters
-
[in] h An open kvmHandle. [out] totalSectorCount Total number of sectors devoted for logging [out] usedSectorCount Number of logging sectors used
- Returns
- kvmOK (zero) if success
- kvmERR_xxx (negative) if failure