Intermec 5055 Reference Guide

Page of 216
im_file_size
5-16
im_file_size
Purpose:
This function returns the size of the target file.
Syntax:
#include "im5055.h"
IM
_STATUS im_file_size
    (IM
_CHAR 
*fname
,
     IM_LONG 
*size
)
IN Parameters:
fname    A pointer to IM_CHAR. This variable points to a string that must include the
drive letter and filename.
OUT Parameters:
size    A pointer to IM_LONG. im_file_size places the size of the specified file here.
Return Value:
This function returns one of these codes:
IM_SUCCESS    Success.
IM_INVALID_FILE    Invalid file specified.
Example
See example for im_file_duplicate.