Hi All,
It's my understanding that if I use the ExtEscape function with the
CONTRASTCOMMAND escape code, that the call should eventually wind up
in my GPE derrived display class. I know my ContrastControl function
is being called during the initialization, but the ExtEscape call from
my application always returns 0 (indicating failure) and my
ContrastControl function is never called.
Is there something else I need to do in my display driver to "enable"
the interface through the ExtEscape function?
Following is a the code I'm using for the call:
HDC hdc = GetDC(NULL);
struct ContrastCmdInputParm CCmd;
CCmd.command = CONTRAST_CMD_SET;
CCmd.parm = 0;
int ExtRes = ExtEscape(hdc, CONTRASTCOMMAND, sizeof(CCmd), (const char
*)&CCmd, 0, NULL);
Thanks in advance,
Chris