Setting the VEE level on the Graphics Master is done using the SAM1: Port in conjunction with the DeviceIOControl API.
For example:
hSAM1 = CreateFile(_T("SAM1:"),
GENERIC_WRITE,
0, 0,
OPEN_EXISTING, 0, 0);
DeviceIoControl(hSAM1,
IOCTL_SET_VEE_LEVEL,
inbuffer, sizeof(inbuffer),
outbuffer, sizeof(outbuffer),
bytesreturned, 0);
For further information, see this topic.
-----------------
Chris Tacke, eMVP
Applied Data Support