Microsoft KB Archive/125695

{| = INFO: SystemParametersInfo Add-On Gets/Sets System Parameters =
 * width="100%"|

ID: Q125695

The information in this article applies to:

Microsoft Win32 Software Development Kit (SDK) on the following platform: - Microsoft Windows 95

SUMMARY
The SystemParametersInfo API provides functionality to get or set many Windows System Parameters based on the action flag if Windows extension #1 is installed. Here are some examples:


 * The Full Window Drag system parameter can be retrieved or set by using SPI_GETDRAGFULLWINDOWS/SPI_SETDRAGFULLWINDOWS as the action flag in the SystemParametersInfo API. When full drag windows is enabled, users can move entire windows instead of just moving the outline. This makes it easier to see how a window looks while being resized. This feature is not available with Windows, so calling SystemParametersInfo using the SPI_GETDRAGFULLWINDOWS or SPI_SETDRAGFULLWINDOWS flag will always fail. However, this feature will be available if an add-on product, Windows extension #1, is installed.
 * The Font Smoothing setting can be retrieved or set by using SPI_GETFONTSMOOTHING or SPI_SETFONTSMOOTHING as the action flag in the SystemParametersInfo API. Enabling this system setting tells Windows to draw smooth characters using font anti-aliasing. This feature is not available with Windows. Thus the call to SystemParametersInfo with the SPI_GETFONTSMOOTHING or SPI_SETFONTSMOOTHING flag will always fail. However, this Font Smoothing feature will be available if an add-on product, Windows extension #1, is installed.
 * SystemParametersInfo(SPI_GETWINDOWSEXTENSION, 1, 0, 0) returns true if Windows extension #1 is installed otherwise false. The Second parameter denotes Windows extension #1.

Additional query words: Keywords         : kbSysSettings kbGrpUser kbWinOS95 Issue type       : kbinfo
 * }