Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure supports software control of a Windows CE-based platform's display contrast. This structure is used in conjunction with GWE's ExtEscapeand the display driver's DrvEscapefunctions.
struct ContrastCmdInputParm{ int command; int parm; };
Members
Contrast Command | Meaning |
---|---|
CONTRAST_CMD_GET | Gets the current contrast. The parmmember is ignored. The return value from DrvEscapeshould be the current contrast setting. |
CONTRAST_CMD_SET | Sets the current contrast. The parmmember contains the desired contrast setting. The return value from DrvEscapeshould be the actual contrast setting after the operation. |
CONTRAST_CMD_INCREASE | Increases the contrast by the amount specified in parm. The return value from DrvEscapeshould be the resulting contrast setting. |
CONTRAST_CMD_DECREASE | Decreases the contrast by the amount specified in parm. The return value from DrvEscapeshould be the resulting contrast setting. |
CONTRAST_CMD_DEFAULT | Applies the default contrast setting. The parmmember is ignored. The return value from DrvEscapeshould be the actual contrast setting after the operation. |
CONTRAST_CMD_MAX | Applies the maximum contrast setting. The return value from DrvEscapeshould be the actual contrast setting after the operation. |
Remarks
For more information, see Display Driver Escape Codes.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.12 and later |
Last updated on Tuesday, July 13, 2004