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
Summary of Contents for Gold 6037EX
Page 1: ... ROG TC6037EXPM Rev AA 8 03 Printed in the U S A 2003 Paxar Americas Inc All rights reserved ...
Page 2: ... Trademarks 0 1 2 0 0 3 4 5 6 7 78 ...
Page 10: ...viii Table of Contents ...
Page 30: ...2 16 Programmer s Manual ...
Page 36: ...3 6 Programmer s Manual ...
Page 154: ...4 118 Programmer s Manual ...
Page 228: ...14 Index ...
Page 229: ......
Page 230: ......