Справочное Руководство для Intermec 5055

Скачать
Страница из 216
im_free_space
5-20
im_free_space
Purpose:
This function returns the amount of storage space, in bytes, available on the terminal
drive you specify.
Syntax:
#include "im5055.h"
IM_STATUS im_free_space
    (IM_CHAR 
*drive,
 
    IM_LONG 
*freespace
)
IN Parameters:
drive    Pointer to IM_CHAR. This variable is a drive letter on the terminal.
OUT Parameters:
freespace    Pointer to IM_LONG. im_free_space places the amount of drive space
available here.
Return Value:
This function returns one of these codes:
IM_SUCCESS    Successful.
IM_INVALID_FILE    Target drive not found or does not exist.
Example
See example for im_file_duplicate.