Table of contents |
BYTE dscInit(WORD version);
Name | Description |
---|---|
version | The expected version number of the driver. This number can be found at the top of file DSCUD.H. The driver will match this number with the number embedded in its code. If the numbers do not match, an error is returned. This feature is provided mainly to assist in debugging problems that may arise due to differences between different versions of the driver. |
Error code or 0.
ERRPARAMS errparams; if ((result = dscInit(DSC_VERSION)) != DE_NONE) { dscGetLastError(&errparams); fprintf(stderr, "dscInit failed: %s (%s)\n", dscGetErrorString(result), errparams.errstring); return result; }
This page was last modified 11:17, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.