ContrastCmdInputParm
This structure supports software control of a platform's display contrast. Use this structure conjunction with the GWES function ExtEscape and the display driver's DrvEscape functions.
struct ContrastCmdInputParm {
int command;
int parm;
};
Members
- command
Contrast command. The following table shows the available contrast commands.Contrast command Description CONTRAST_CMD_GET Gets the current contrast. The parm member is ignored. The return value from DrvEscape should be the current contrast setting. CONTRAST_CMD_SET Sets the current contrast. The parm member contains the desired contrast setting. The return value from DrvEscape should be the actual contrast setting after the operation. CONTRAST_CMD_INCREASE Increases the contrast by the amount specified in parm. The return value from DrvEscape should be the resulting contrast setting. CONTRAST_CMD_DECREASE Decreases the contrast by the amount specified in parm. The return value from DrvEscape should be the resulting contrast setting. CONTRAST_CMD_DEFAULT Applies the default contrast setting. The parm member is ignored. The return value from DrvEscape should be the actual contrast setting after the operation. CONTRAST_CMD_MAX Applies the maximum contrast setting. The return value from DrvEscape should be the actual contrast setting after the operation. - parm
Value that applies to some of the contrast commands.
Requirements
OS Versions: Windows CE 2.12 and later.
Header: Pwingdi.h.
See Also
Display Drivers | Display Driver Escape Codes | ExtEscape
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.