fuje
02-28-2005, 02:27 PM
hi
i us the command ExtEscape() to adjust the contrast on a windows CE 5.0 platform device. i get all the time the error code 87 (ERROR_INVALID_PARAMETER), eventhough i am able to get and set the contrast value.
here my sample code:
ContrastCmdInputParm contCmdIn;
int res;
contCmdIn.command = CONTRAST_CMD_GET;
contCmdIn.parm = 0;
res = ExtEscape(m_Hdc, CONTRASTCOMMAND, sizeof(contCmdIn), (LPCSTR)&contCmdIn, 0, NULL);
i us the command ExtEscape() to adjust the contrast on a windows CE 5.0 platform device. i get all the time the error code 87 (ERROR_INVALID_PARAMETER), eventhough i am able to get and set the contrast value.
here my sample code:
ContrastCmdInputParm contCmdIn;
int res;
contCmdIn.command = CONTRAST_CMD_GET;
contCmdIn.parm = 0;
res = ExtEscape(m_Hdc, CONTRASTCOMMAND, sizeof(contCmdIn), (LPCSTR)&contCmdIn, 0, NULL);