Some SPI_SET Settings Are Treated As Read-Only Attributes (198248)
The information in this article applies to:
- Microsoft Windows NT Server 4.0 Terminal Server Edition
- Microsoft Windows NT Server 4.0
- Microsoft Windows NT Workstation 4.0
This article was previously published under Q198248 SYMPTOMS
You can call the SystemParametersInfo API to set and get all the settings
controlled by the Windows Control Panel. Normally a user would have to
select the Windows Control Panel to view or change system settings such as
granularity, wallpaper, or icon title wrap. Instead of forcing the user to
set things manually using Control Panel, you can have your program call the
SystemParametersInfo API to set them automatically.
The SystemParametersInfo function queries or sets system-wide parameters.
These API functions can also update the user profile while setting a
parameter (SPI_SET). Your custom application may have problems defining
system settings because certain functions are treated as read-only in the
SystemParametersInfo, thus limiting the ability to define a system's
settings. These functions are: SPI_SETDRAGFULLWINDOWS, SPI_SETDRAGWIDTH,
SPI_SETDRAGHEIGHT, SPI_SETCURSORS, SPI _SETICONS, and SPI_SETLANGTOGGLE.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
152734 How to Obtain the Latest Windows NT 4.0 Service Pack
STATUSMicrosoft has confirmed that this is a problem in Windows NT 4.0 and Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbbug kbfix KB198248 |
---|
|