| Table of contents |
BYTE dscGetBoardMacro(char* boardtype, BYTE* macro)
| Name | Description |
|---|---|
| boardtype | The board type string to translate into a board macro |
| macro | The corresponding board macro |
Error code or 0.
BYTE board_macro;
ERRPARAMS errparams;
if ((result = dscGetBoardMacro("Prometheus", &board_macro)) != DE_NONE)
{
dscGetLastError(&errparams);
fprintf(stderr, "dscGetBoardMacro failed: %s (%s)\n",
dscGetErrorString(result), errparams.errstring);
return result;
}
This page was last modified 11:39, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.