www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Window Class: GetSysParamInfo

Previous  Top  Next  


Prototype: (Long pAction, <Long pParam>, <*? plpvParam>, Long pWinIni),Long,PROC

 

pActionA system wide parameter to be retrieved or set.  See MSDN for more information.  The equates for this are named IT_SPI_* in the Icetips Utilities.  The IT_SPI equates are all defined in the ITWin32Equates.inc file.
pParamAn additional parameter for the action to retrieve or set.  It depends on the value passed to pAction.  See MSDN for more information. 
pplpvParamAn additional parameter for the action to retrieve or set.  It depends on the value passed to pAction.  See MSDN for more information. 
pWinIniSpecifies if user profile should be updated.  See MSDN for more information. 

 

ReturnsIf the method fails the return value is zero (0).  If it succeeds the return value is not zero (0).

 

This method is a direct wrapper around the SystemParametersInfo api call.  See MSDN for more information. 

 

Example:

ITW  ITWindowsClass

Toggle IT_BOOL

Code

Toggle = false

ITW.GetSysParamInfo(SPI_SETCLIENTAREAANIMATION, ,Toggle, IT_SPIF_UPDATEINIFILE + IT_SPIF_SENDCHANGE!! Toggles animation on the client area.

 

See also:

 

http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx



Direct link to this page: http://www.icetips.com/manuals/utilities/getsysparaminfo_window.htm