Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
CK1 SDK Programmer’s Reference Manual 
107 
Getting the Current Setting of RAMdisk Size 
 
Purpose:  Get the current setting of the RAMdisk. 
 
Syntax: 
int RamdiskGetSize(void)
 
 
On-CK1 Return: -1 
 
Function 
failed 
other value  Disk size in KB 
 
On-Host Return:  Always return 1024 
Setting New RAMdisk Size 
 
Purpose:  Set a new RAMdisk size, effective only from the next boot.  
The disk size must be greater than or equal to 256 and less than or equal to 
2048.  
 
Syntax: 
int RamdiskSetSize(int diskSize)
 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 
On-Host Return:  Always return 0