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)

 

{

// Status of retrieval

int iStatus = 0;

unsigned char ucVersion[9] = "

";// BIOS version

unsigned char ucDate[10] = "

"; // BIOS date

Function Reference 4-97

Page 133
Image 133
Paxar Gold 6037EX manual S G e t B I O S V e r s i o n, Bios date