Paxar Gold 6037EX User Manual
Page 133

Function Reference 4-97
s y s G e t B I O S V e r s i o n
Description
Retrieves the BIOS version and build date.
The date string’s format is
mm/dd/yy. The version string’s
format is
M.mm ss, where M is the major version, mm is the
minor version, and
ss is the sub-version. For example, 1.01 S.
Syntax
int far sysGetBIOSVersion(unsigned char far *lpszVersion,
unsigned
char
far
*lpszDate);
Parameters
lpszVersion
Pointer to the BIOS version.
lpszDate
Pointer to the BIOS build date. If you do not need
the date, set this parameter to NULL.
Return Values
0 Successful
-1 Unsuccessful.
Example
#include <stdio.h>
#include "mmsultra.h"
void main(void)
{
int iStatus = 0;
// Status of retrieval
unsigned char ucVersion[9] = " ";// BIOS version
unsigned char ucDate[10] = " "; // BIOS date