WDT Sample Code
51
IMB-T10
Appendix A - WDT Sample Code
#include "AsrCore.h"
#include "AsrError.h"
#include <tchar.h>
#include <stdio.h>
#pragma comment(lib, "AsrCore.lib")
void DisplayError(int ErrorCode);
void ShowError(bool bSuccess);
int main(void)
{
DWORD major, minor, release, build;
AsrLibDllGetVersion(&major, &minor, &release, &build);
_tprintf(_T("DLL Version [%d.%d.%d.%d]\n"), major, minor,
release, build);
bool bSuccess = false;
ShowError(bSuccess =
AsrLibDllInit()); if
(bSuccess)
{
DWORD size = 0;
ShowError(bSuccess =
AsrLibGetBIOSVersion(NULL, &size)); TCHAR*
BIOSVersion = new TCHAR[size + 1];
ShowError(bSuccess =
AsrLibGetBIOSVersion(BIOSVersion, &size));
if (bSuccess)
_tprintf(_T("BIOS Version [%s]\n"),BIOSVersion);
Summary of Contents for IMB-T10
Page 6: ...vi Preface This page intentionally left blank ...
Page 10: ...x List of Figures This page intentionally left blank ...
Page 12: ...xii List of Tables This page intentionally left blank ...
Page 20: ...8 Introduction 1 7 Mechanical Dimensions Figure 1 2 IMB T10 Board Dimensions ...
Page 62: ...50 BIOS Setup This page intentionally left blank ...