[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 13 Sep 2021 01:33:14 +0000 (03:33 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 13 Sep 2021 01:52:22 +0000 (03:52 +0200)
Excluded: 3rd-party code (incl. wine) and most of the win32ss.

701 files changed:
.gitmessage
.gitpod.Dockerfile
COPYING.ARM
base/applications/calc/convert.c
base/applications/calc/fun_ieee.c
base/applications/calc/whatsnew.txt
base/applications/calc/winmain.c
base/applications/charmap/charmap.c
base/applications/charmap/map.c
base/applications/charmap/precomp.h
base/applications/charmap_new/GridView.cpp
base/applications/charmap_new/MainWindow.cpp
base/applications/cmdutils/at/at.c
base/applications/cmdutils/fc/text.h
base/applications/cmdutils/more/more.c
base/applications/cmdutils/tasklist/tasklist.c
base/applications/cmdutils/tree/tree.c
base/applications/cmdutils/whoami/whoami.c
base/applications/dxdiag/ddtest.c
base/applications/dxdiag/display.c
base/applications/dxdiag/dxdiag.c
base/applications/dxdiag/network.c
base/applications/dxdiag/sound.c
base/applications/dxdiag/system.c
base/applications/findstr/findstr.c
base/applications/games/solitaire/ReadMe.txt
base/applications/games/solitaire/solgame.cpp
base/applications/games/solitaire/solitaire.cpp
base/applications/games/spider/spigame.cpp
base/applications/mplay32/mplay32.c
base/applications/msconfig/freeldrpage.c
base/applications/msconfig/msconfig.c
base/applications/msconfig/toolspage.c
base/applications/msconfig_new/comctl32ex/listview.c
base/applications/msconfig_new/comctl32ex/treeview.c
base/applications/msconfig_new/systempage.cpp
base/applications/msconfig_new/utils.c
base/applications/mspaint/help/tools.html
base/applications/mspaint/registry.cpp
base/applications/mspaint/winproc.cpp
base/applications/network/ipconfig/ipconfig.c
base/applications/network/net/net.h
base/applications/network/nslookup/utility.c
base/applications/notepad/main.c
base/applications/rapps/appview.cpp
base/applications/rapps/asyncinet.cpp
base/applications/rapps/available.cpp
base/applications/rapps/cabinet.cpp
base/applications/rapps/gui.cpp
base/applications/rapps/include/asyncinet.h
base/applications/rapps/include/available.h
base/applications/rapps/installed.cpp
base/applications/rapps/settingsdlg.cpp
base/applications/rapps/winmain.cpp
base/applications/regedit/childwnd.c
base/applications/regedit/treeview.c
base/applications/sc/depend.c
base/applications/sc/name.c
base/applications/screensavers/3dtext/3dtext.c
base/applications/screensavers/logon/logon.c
base/applications/sdbinst/sdbinst.c
base/applications/shutdown/gui.c
base/applications/shutdown/shutdown.c
base/applications/sndrec32/audio_membuffer.cpp
base/applications/sndrec32/audio_resampler_acm.cpp
base/applications/sndrec32/audio_wavein.cpp
base/applications/sndrec32/audio_wavein.hpp
base/applications/sndrec32/audio_waveout.cpp
base/applications/sndrec32/audio_waveout.hpp
base/applications/sndvol32/misc.c
base/applications/sndvol32/sndvol32.c
base/applications/taskmgr/applpage.c
base/applications/taskmgr/procpage.c
base/applications/taskmgr/taskmgr.c
base/applications/utilman/umandlg/umandlg.c
base/applications/wordpad/wordpad.c
base/services/audiosrv/audiosrv.txt
base/services/audiosrv/pnp_list_manager.c
base/services/dhcpcsvc/CMakeLists.txt
base/services/dhcpcsvc/dhcp/adapter.c
base/services/dhcpcsvc/dhcp/api.c
base/services/dhcpcsvc/dhcpcsvc.c
base/services/dnsrslvr/cache.c
base/services/rpcss/CMakeLists.txt
base/services/shsvcs/thmserver.c
base/services/svchost/security.cxx
base/services/tcpsvcs/echo.c
base/services/tcpsvcs/qotd.c
base/services/umpnpmgr/rpcserver.c
base/services/wlansvc/rpcserver.c
base/services/wuauserv/wuauserv.c
base/setup/usetup/lang/eu-ES.h
base/setup/usetup/usetup.c
base/shell/cmd/batch.h
base/shell/cmd/ctty.c
base/shell/cmd/readme2.txt
base/shell/cmd/ren.txt
base/shell/explorer/notifyiconscust.cpp
base/shell/explorer/precomp.h
base/shell/explorer/resource.h
base/shell/explorer/settings.cpp
base/shell/explorer/startctxmnu.cpp
base/shell/explorer/syspager.cpp
base/shell/explorer/taskband.cpp
base/shell/explorer/trayclock.cpp
base/shell/explorer/trayprop.cpp
base/shell/rshell/CQuickLaunchBand.cpp
base/shell/rshell/CQuickLaunchBand.h
base/shell/rshell/misc.cpp
base/system/diskpart/list.c
base/system/smss/smsessn.c
base/system/userinit/livecd.c
base/system/winlogon/sas.c
base/system/winlogon/winlogon.h
boot/armllb/boot.s
boot/armllb/crtsupp.c
boot/armllb/envir.c
boot/armllb/fw.c
boot/armllb/hw/keyboard.c
boot/armllb/hw/matrix.c
boot/armllb/hw/omap3-beagle/hwinfo.c
boot/armllb/hw/omap3-beagle/hwuart.c
boot/armllb/hw/omap3-zoom2/hwinfo.c
boot/armllb/hw/omap3-zoom2/hwinit.c
boot/armllb/hw/omap3-zoom2/hwlcd.c
boot/armllb/hw/omap3-zoom2/hwsynkp.c
boot/armllb/hw/omap3-zoom2/hwtwl40x.c
boot/armllb/hw/omap3-zoom2/hwuart.c
boot/armllb/hw/serial.c
boot/armllb/hw/time.c
boot/armllb/hw/versatile/hwclcd.c
boot/armllb/hw/versatile/hwinfo.c
boot/armllb/hw/versatile/hwinit.c
boot/armllb/hw/versatile/hwkmi.c
boot/armllb/hw/versatile/hwuart.c
boot/armllb/hw/video.c
boot/armllb/inc/fw.h
boot/armllb/inc/hw.h
boot/armllb/inc/video.h
boot/armllb/main.c
boot/armllb/os/loader.c
boot/bootdata/bootcdregtest/testboot.bat.sample
boot/bootdata/bootcdregtest/unattend.inf
boot/bootdata/hivesft.inf
boot/environ/app/bootmgr/bootmgr.c
boot/environ/app/bootmgr/efiemu.c
boot/environ/app/rosload/rosload.c
boot/environ/app/rosload/roslogo.c
boot/environ/include/bl.h
boot/environ/lib/arch/i386/transfer.s
boot/environ/lib/bootlib.c
boot/environ/lib/firmware/efi/firmware.c
boot/environ/lib/io/device.c
boot/environ/lib/io/display/display.c
boot/environ/lib/io/display/efi/textcons.c
boot/environ/lib/io/display/guicons.c
boot/environ/lib/io/display/textcons.c
boot/environ/lib/io/etfs.c
boot/environ/lib/io/file.c
boot/environ/lib/misc/bcd.c
boot/environ/lib/misc/bootreg.c
boot/environ/lib/misc/font.c
boot/environ/lib/misc/image.c
boot/environ/lib/misc/resource.c
boot/environ/lib/misc/util.c
boot/environ/lib/mm/descriptor.c
boot/environ/lib/mm/i386/mmx86.c
boot/environ/lib/mm/mm.c
boot/environ/lib/mm/pagealloc.c
boot/environ/lib/mm/stub/mm.c
boot/freeldr/bootsect/btrfs.S
boot/freeldr/bootsect/ofwboot.s
boot/freeldr/freeldr/arch/i386/xbox/machxbox.c
boot/freeldr/freeldr/lib/fs/fat.c
boot/freeldr/freeldr/lib/fs/fs.c
dll/appcompat/apphelp/apphelp.c
dll/appcompat/apphelp/sdbfileattr.c
dll/appcompat/apphelp/sdbread.c
dll/appcompat/apphelp/sdbstringtable.h
dll/appcompat/apphelp/sdbwrite.c
dll/cpl/appwiz/removestartmenuitems.c
dll/cpl/desk/appearance.c
dll/cpl/desk/appearance.h
dll/cpl/desk/theme.c
dll/cpl/inetcpl/resources/Icon_Licence/Tango.txt
dll/cpl/input/settings_page.c
dll/cpl/mmsys/mmsys.h
dll/cpl/openglcfg/general.c
dll/cpl/powercfg/powershemes.c
dll/cpl/sysdm/general.c
dll/cpl/sysdm/userprofile.c
dll/cpl/timedate/clock.c
dll/cpl/timedate/internettime.c
dll/cpl/timedate/monthcal.c
dll/cpl/usrmgr/groupprops.c
dll/cpl/usrmgr/userprops.c
dll/directx/bdaplgin/bdaplgin.cpp
dll/directx/bdaplgin/classfactory.cpp
dll/directx/bdaplgin/devicecontrol.cpp
dll/directx/bdaplgin/pincontrol.cpp
dll/directx/d3d9/adapter.c
dll/directx/d3d9/d3d9_callbacks.c
dll/directx/d3d9/d3d9_caps.c
dll/directx/d3d9/d3d9_create.c
dll/directx/d3d9/d3d9_cursor.c
dll/directx/d3d9/d3d9_device.c
dll/directx/d3d9/d3d9_device.h
dll/directx/d3d9/d3d9_helpers.c
dll/directx/d3d9/d3d9_mipmap.c
dll/directx/d3d9/d3d9_puredevice.h
dll/directx/d3d9/d3d9_swapchain.c
dll/directx/d3d9/d3d9_texture.c
dll/directx/d3d9/format.c
dll/directx/ddraw/CMakeLists.txt
dll/directx/ddraw/Surface/surface_main.c
dll/directx/ddraw/ddraw_structures.txt
dll/directx/dsound_new/capture.c
dll/directx/dsound_new/classfactory.c
dll/directx/dsound_new/devicelist.c
dll/directx/dsound_new/directsound.c
dll/directx/dsound_new/dsound.c
dll/directx/dsound_new/precomp.h
dll/directx/dsound_new/primary.c
dll/directx/dsound_new/secondary.c
dll/directx/ksproxy/allocator.cpp
dll/directx/ksproxy/classfactory.cpp
dll/directx/ksproxy/cvpconfig.cpp
dll/directx/ksproxy/cvpvbiconfig.cpp
dll/directx/ksproxy/datatype.cpp
dll/directx/ksproxy/input_pin.cpp
dll/directx/ksproxy/ksproxy.cpp
dll/directx/ksproxy/mediasample.cpp
dll/directx/ksproxy/precomp.h
dll/directx/ksproxy/proxy.cpp
dll/directx/ksproxy/qualityforward.cpp
dll/directx/ksuser/ksuser.c
dll/directx/msdvbnp/classfactory.cpp
dll/directx/msdvbnp/msdvbnp.cpp
dll/directx/msdvbnp/networkprovider.cpp
dll/directx/msdvbnp/scanningtuner.cpp
dll/directx/msvidctl/classfactory.cpp
dll/directx/msvidctl/msvidctl.cpp
dll/directx/wine/readme.txt
dll/directx/wine/wined3d/roshacks.txt
dll/keyboard/kbdbga/kbdbga.c
dll/keyboard/kbdbgm/kbdbgm.c
dll/keyboard/kbdbgt/kbdbgt.c
dll/keyboard/kbdheb/kbdheb.c
dll/keyboard/kbdko/kbdko.c
dll/keyboard/kbdpl/kbdpl.c
dll/keyboard/kbdsk/kbdsk.c
dll/keyboard/kbdsk1/kbdsk1.c
dll/nls/normaliz/CMakeLists.txt
dll/ntdll/dbg/dbgui.c
dll/ntdll/dispatch/amd64/dispatch.S
dll/ntdll/include/ntdllp.h
dll/ntdll/ldr/ldrutils.c
dll/ntdll/ldr/verifier.c
dll/ntdll/rtl/libsupp.c
dll/opengl/mesa/CMakeLists.txt
dll/opengl/opengl32/glfuncs.h
dll/opengl/opengl32/icd.h
dll/opengl/opengl32/icdload.c
dll/opengl/opengl32/opengl32.h
dll/opengl/opengl32/opengl32.spec
dll/opengl/opengl32/swimpl.c
dll/opengl/opengl32/wgl.c
dll/shellext/fontext/CEnumFonts.cpp
dll/shellext/netshell/README
dll/shellext/netshell/lanconnectui.cpp
dll/shellext/netshell/lanconnectui.h
dll/shellext/netshell/lanstatusui.cpp
dll/shellext/netshell/shfldr_netconnect.cpp
dll/shellext/ntobjshex/foldercommon.h
dll/shellext/ntobjshex/ntobjenum.h
dll/shellext/ntobjshex/ntobjfolder.cpp
dll/shellext/ntobjshex/regfolder.cpp
dll/shellext/stobject/hotplug.cpp
dll/shellext/stobject/power.cpp
dll/shellext/zipfldr/CEnumZipContents.cpp
dll/shellext/zipfldr/CZipExtract.cpp
dll/shellext/zipfldr/CZipFolder.hpp
dll/win32/advapi32/misc/hwprofiles.c
dll/win32/advapi32/sec/sec.c
dll/win32/avicap32/avicap32.c
dll/win32/browseui/CProgressDialog.cpp
dll/win32/browseui/addresseditbox.cpp
dll/win32/browseui/basebarsite.cpp
dll/win32/browseui/browseui.cpp
dll/win32/browseui/desktopipc.cpp
dll/win32/browseui/explorerband.cpp
dll/win32/browseui/explorerband.h
dll/win32/browseui/internettoolbar.cpp
dll/win32/browseui/shellbars/CBandSite.cpp
dll/win32/browseui/shellbars/CBandSiteMenu.cpp
dll/win32/browseui/shellbars/CISFBand.cpp
dll/win32/browseui/shellbars/CISFBand.h
dll/win32/browseui/shellbrowser.cpp
dll/win32/browseui/shellfind/CFindFolder.cpp
dll/win32/browseui/toolsband.cpp
dll/win32/browseui/travellog.cpp
dll/win32/cards/COPYING
dll/win32/dbghelp/rosstubs.c
dll/win32/devmgr/api.cpp
dll/win32/devmgr/devmgmt/ClassNode.cpp
dll/win32/devmgr/devmgmt/DeviceNode.cpp
dll/win32/devmgr/devmgmt/DeviceNode.h
dll/win32/devmgr/devmgmt/DeviceView.cpp
dll/win32/devmgr/devmgmt/MainWindow.cpp
dll/win32/devmgr/devmgmt/RootNode.cpp
dll/win32/devmgr/properties/hwpage.cpp
dll/win32/fltlib/fltlib.c
dll/win32/fltlib/stubs.c
dll/win32/getuname/getuname.c
dll/win32/inetmib1/CMakeLists.txt
dll/win32/iphlpapi/address.c
dll/win32/iphlpapi/ipstats_reactos.c
dll/win32/iphlpapi/registry.c
dll/win32/iphlpapi/resinfo_reactos.c
dll/win32/kernel32/client/console/console.c
dll/win32/kernel32/client/debugger.c
dll/win32/kernel32/client/dllmain.c
dll/win32/kernel32/client/file/cnotify.c
dll/win32/kernel32/client/file/create.c
dll/win32/kernel32/client/file/deviceio.c
dll/win32/kernel32/client/file/dir.c
dll/win32/kernel32/client/file/filename.c
dll/win32/kernel32/client/file/mntpoint.c
dll/win32/kernel32/client/file/move.c
dll/win32/kernel32/client/file/volume.c
dll/win32/kernel32/client/i386/thread.S
dll/win32/kernel32/client/perfcnt.c
dll/win32/kernel32/client/resntfy.c
dll/win32/kernel32/client/synch.c
dll/win32/kernel32/client/sysinfo.c
dll/win32/kernel32/client/vdm.c
dll/win32/kernel32/kernel32_vista/vista.c
dll/win32/kernel32/wine/actctx.c
dll/win32/kernel32/winnls/string/japanese.c
dll/win32/lpk/ros_lpk.h
dll/win32/lpk/stub.c
dll/win32/mmdrv/auxil.c
dll/win32/mmdrv/midi.c
dll/win32/mmdrv/utils.c
dll/win32/modemui/modemui.c
dll/win32/msafd/include/helpers.h
dll/win32/msafd/misc/dllmain.c
dll/win32/msgina/gui.c
dll/win32/msgina/msgina.c
dll/win32/msgina/resource.h
dll/win32/msgina/shutdown.c
dll/win32/msports/classinst.c
dll/win32/mstask/stubs.c
dll/win32/mswsock/nsplookup.c
dll/win32/mswsock/stubs.c
dll/win32/netcfgx/classfactory.c
dll/win32/netcfgx/netcfg_iface.c
dll/win32/netcfgx/res/Icon_Licence/Tango.txt
dll/win32/netcfgx/resource.h
dll/win32/netcfgx/tcpipconf_notify.c
dll/win32/newdev/stubs.c
dll/win32/ntlanman/ntlanman.spec
dll/win32/powrprof/powrprof.c
dll/win32/profmap/profmap.c
dll/win32/psapi/psapi.c
dll/win32/samsrv/security.c
dll/win32/schannel/schannel_mbedtls_lazyload.h
dll/win32/setupapi/CMakeLists.txt
dll/win32/setupapi/devclass.c
dll/win32/setupapi/res/Icon_Licence/Tango.txt
dll/win32/shell32/CDefView.cpp
dll/win32/shell32/CDefViewBckgrndMenu.cpp
dll/win32/shell32/CDefaultContextMenu.cpp
dll/win32/shell32/CFolderOptions.h
dll/win32/shell32/CIDLDataObj.cpp
dll/win32/shell32/CQueryAssociations.cpp
dll/win32/shell32/CQueryAssociations.h
dll/win32/shell32/dialogs/dialogs.cpp
dll/win32/shell32/dialogs/drive.cpp
dll/win32/shell32/dialogs/drvdefext.cpp
dll/win32/shell32/dialogs/filedefext.cpp
dll/win32/shell32/dialogs/filedefext.h
dll/win32/shell32/dialogs/general.cpp
dll/win32/shell32/droptargets/CFSDropTarget.cpp
dll/win32/shell32/droptargets/CFSDropTarget.h
dll/win32/shell32/droptargets/CexeDropHandler.cpp
dll/win32/shell32/folders/CAdminToolsFolder.cpp
dll/win32/shell32/folders/CControlPanelFolder.cpp
dll/win32/shell32/folders/CDesktopFolder.cpp
dll/win32/shell32/folders/CDrivesFolder.cpp
dll/win32/shell32/folders/CFSFolder.cpp
dll/win32/shell32/folders/CFSFolder.h
dll/win32/shell32/folders/CFontsFolder.cpp
dll/win32/shell32/folders/CRegFolder.cpp
dll/win32/shell32/iconcache.cpp
dll/win32/shell32/res/avis/Licence/Tango.txt
dll/win32/shell32/res/icons/Icon_Licence/Tango.txt
dll/win32/shell32/res/rgs/openwithmenu.rgs
dll/win32/shell32/shellmenu/CMenuBand.cpp
dll/win32/shell32/shellmenu/CMenuDeskBar.cpp
dll/win32/shell32/shellmenu/CMenuFocusManager.cpp
dll/win32/shell32/shellmenu/CMenuSite.h
dll/win32/shell32/shellmenu/CMenuToolbars.cpp
dll/win32/shell32/shellmenu/CMenuToolbars.h
dll/win32/shell32/shellmenu/CMergedFolder.cpp
dll/win32/shell32/shfldr.h
dll/win32/shell32/shlexec.cpp
dll/win32/shell32/shlfileop.cpp
dll/win32/shell32/shlfolder.cpp
dll/win32/shimgvw/shimgvw.c
dll/win32/streamci/streamci.c
dll/win32/syssetup/wizard.c
dll/win32/uxtheme/themehooks.c
dll/win32/uxtheme/uxthemep.h
dll/win32/wdmaud.drv/mmixer.c
dll/win32/winsta/misc.c
dll/win32/winsta/server.c
dll/win32/winsta/ws.c
dll/win32/wlanapi/main.c
dll/win32/wlanapi/profile.c
dll/win32/ws2help/apc.c
dll/win32/ws2help/context.c
dll/win32/ws2help/dllmain.c
dll/win32/ws2help/handle.c
dll/win32/ws2help/notify.c
dll/win32/wshtcpip/iflist.c
drivers/filesystems/fastfat/vfat005.1st
drivers/filesystems/fastfat/vfat_fr.txt
drivers/input/sermouse/sermouse.txt
drivers/storage/ide/atapi/license.txt
drivers/wdm/audio/backpln/portcls/private.hpp
hal/halx86/pic/pic.c
media/doc/DdCreateDirectDrawObject.txt
media/doc/DdDeleteDirectDrawObject.txt
media/doc/HACKING
media/doc/INTERNALS
media/doc/LPC.txt
media/doc/apc
media/doc/irp cancel boilerplate.c
media/doc/news1
media/doc/news2
media/doc/notes
media/doc/todo
media/doc/winsta and desktops.txt
media/drivers/etc/networks
media/drivers/etc/services
media/inf/defltsv.inf
media/inf/defltwk.inf
media/inf/nettcpip.inf
media/inf/shortcuts.inf
media/inf/syssetup.inf.tpl
media/sdb/CMakeLists.txt
media/vgafonts/CMakeLists.txt
modules/rosapps/applications/devutils/btrfstools/btrfs_structures.py
modules/rosapps/applications/devutils/vgafontedit/fileformats.txt
modules/rosapps/applications/fraginator/DriveVolume.cpp
modules/rosapps/applications/fraginator/Mutex.h
modules/rosapps/applications/notevil/readme.txt
modules/rosapps/applications/screensavers/butterflies/butterflies.c
modules/rosapps/applications/screensavers/circles/circles.c
modules/rosapps/applications/screensavers/mazescr/maze.c
modules/rosapps/applications/screensavers/ssstars/settings.c
modules/rosapps/applications/screensavers/ssstars/ssstars.c
modules/rosapps/applications/sysutils/fontsub/fontsub.cpp
modules/rosapps/applications/sysutils/fontsub/resource.h
modules/rosapps/applications/sysutils/man/man.cmd
modules/rosapps/applications/sysutils/man/man/2/chkdsk.man
modules/rosapps/applications/sysutils/man/man/2/chklib.man
modules/rosapps/applications/sysutils/man/man/2/format.man
modules/rosapps/applications/sysutils/man/man/2/man.man
modules/rosapps/applications/sysutils/man/man/2/ping.man
modules/rosapps/applications/sysutils/man/man/3/taskmgr.man
modules/rosapps/applications/sysutils/man/man/man.1
modules/rosapps/applications/sysutils/systeminfo/systeminfo.c
modules/rosapps/applications/winfile/winefile.c
modules/rosapps/drivers/vcdrom/vcdrom.c
modules/rosapps/readme.txt
modules/rosapps/templates/mdi/childwnd.c
modules/rosapps/templates/skel_service/ServiceMain.c
modules/rosapps/templates/skel_service/log.c
modules/rostests/apitests/advapi32/svchlp.c
modules/rostests/apitests/apphelp/data.c
modules/rostests/apitests/atl/CImage.cpp
modules/rostests/apitests/comctl32/button.c
modules/rostests/apitests/crt/__rt_div.c
modules/rostests/apitests/crt/_vsnprintf.c
modules/rostests/apitests/crt/dll_startup.h
modules/rostests/apitests/dbghelp/rsym.c
modules/rostests/apitests/dnsapi/DnsQuery.c
modules/rostests/apitests/gdi32/CreateFontIndirect.c
modules/rostests/apitests/gdi32/DPtoLP.c
modules/rostests/apitests/gdi32/GetFontResourceInfoW.c
modules/rostests/apitests/gdi32/LPtoDP.c
modules/rostests/apitests/gdi32/Rectangle.c
modules/rostests/apitests/gdi32/SetLayout.c
modules/rostests/apitests/gdi32/StretchBlt.c
modules/rostests/apitests/include/msgtrace.c
modules/rostests/apitests/iphlpapi/icmp.c
modules/rostests/apitests/kernel32/DefaultActCtx.c
modules/rostests/apitests/kernel32/FindActCtxSectionStringW.c
modules/rostests/apitests/kernel32/GetDriveType.c
modules/rostests/apitests/kernel32/TunnelCache.c
modules/rostests/apitests/kernel32/WideCharToMultiByte.c
modules/rostests/apitests/kernel32/deptest.manifest
modules/rostests/apitests/kernel32/lstrcpynW.c
modules/rostests/apitests/kernel32/redirptest/redir2dep.manifest
modules/rostests/apitests/localspl/tests.c
modules/rostests/apitests/ntdll/NtFreeVirtualMemory.c
modules/rostests/apitests/ntdll/NtLoadUnloadKey.c
modules/rostests/apitests/ntdll/NtOpenThreadToken.c
modules/rostests/apitests/ntdll/NtQuerySystemInformation.c
modules/rostests/apitests/ntdll/RtlCopyMappedMemory.c
modules/rostests/apitests/ntdll/RtlQueryTimeZoneInfo.c
modules/rostests/apitests/ntdll/probelib.c
modules/rostests/apitests/ole32/initializespy.cpp
modules/rostests/apitests/ole32/testlist.c
modules/rostests/apitests/opengl32/sw_pixelformat.c
modules/rostests/apitests/opengl32/testlist.c
modules/rostests/apitests/shell32/CFSFolder.cpp
modules/rostests/apitests/shell32/CShellDesktop.cpp
modules/rostests/apitests/shell32/CShellLink.cpp
modules/rostests/apitests/shell32/CUserNotification.cpp
modules/rostests/apitests/shell32/Control_RunDLLW.cpp
modules/rostests/apitests/shell32/PathResolve.cpp
modules/rostests/apitests/shell32/SHParseDisplayName.cpp
modules/rostests/apitests/shell32/ShellExecuteEx.cpp
modules/rostests/apitests/shell32/ShellExecuteW.cpp
modules/rostests/apitests/shell32/menu.cpp
modules/rostests/apitests/spoolss/PackStrings.c
modules/rostests/apitests/user32/AttachThreadInput.c
modules/rostests/apitests/user32/CreateIconFromResourceEx.c
modules/rostests/apitests/user32/DeferWindowPos.c
modules/rostests/apitests/user32/DestroyCursorIcon.c
modules/rostests/apitests/user32/DrawIconEx.c
modules/rostests/apitests/user32/GetIconInfo.c
modules/rostests/apitests/user32/GetKeyState.c
modules/rostests/apitests/user32/InitializeLpkHooks.c
modules/rostests/apitests/user32/LoadImage.c
modules/rostests/apitests/user32/LookupIconIdFromDirectoryEx.c
modules/rostests/apitests/user32/RegisterClassEx.c
modules/rostests/apitests/user32/SetActiveWindow.c
modules/rostests/apitests/user32/SystemParametersInfo.c
modules/rostests/apitests/user32/TrackMouseEvent.c
modules/rostests/apitests/uxtheme/DrawThemeParentBackground.c
modules/rostests/apitests/uxtheme/SetThemeAppProperties.c
modules/rostests/apitests/win32nt/w32knapi.c
modules/rostests/apitests/win32u/win32u_2k3sp2/main.c
modules/rostests/apitests/win32u/win32u_vista/main.c
modules/rostests/apitests/win32u/win32u_xpsp2/CMakeLists.txt
modules/rostests/apitests/winhttp/WinHttpOpen.c
modules/rostests/apitests/wininet/InternetOpen.c
modules/rostests/apitests/winprint/main.c
modules/rostests/apitests/winspool/IsValidDevmode.c
modules/rostests/apitests/wlanapi/wlanapi.c
modules/rostests/apitests/ws2_32/WSAAsync.c
modules/rostests/apitests/ws2_32/WSAIoctl.c
modules/rostests/apitests/ws2_32/close.c
modules/rostests/apitests/ws2_32/helpers.c
modules/rostests/apitests/ws2_32/nonblocking.c
modules/rostests/dibtests/bltrop/bltrop.c
modules/rostests/dibtests/vbltest/vbltest.c
modules/rostests/dxtest/win32kdxtest/NtGdiDdQueryDirectDrawObject.c
modules/rostests/dxtest/win32kdxtest/dump.c
modules/rostests/dxtest/win32kdxtest/main.c
modules/rostests/kmtests/fltmgr/fltmgr_register/fltmgr_register.c
modules/rostests/kmtests/hal/HalSystemInfo.c
modules/rostests/kmtests/ntos_cc/CcPinMappedData_drv.c
modules/rostests/kmtests/ntos_ex/ExSequencedList.c
modules/rostests/kmtests/ntos_ex/ExSingleList.c
modules/rostests/kmtests/ntos_ex/ExXList.h
modules/rostests/kmtests/ntos_fsrtl/FsRtlTunnel.c
modules/rostests/kmtests/ntos_mm/MmMapLockedPagesSpecifyCache.h
modules/rostests/kmtests/ntos_se/SeQueryInfoToken.c
modules/rostests/kmtests/rtl/RtlMemory.c
modules/rostests/kmtests/rtl/RtlStrSafe.c
modules/rostests/regtests/crt/iofuncs.c
modules/rostests/regtests/gdi/xlate.c
modules/rostests/testdata/old/ReadMe.txt
modules/rostests/tests/README.txt
modules/rostests/tests/mmixer_test/test.c
modules/rostests/tests/parttest/parttest.c
modules/rostests/tests/spec2def/testdata/06-stubs.asm
modules/rostests/tests/spec2def/testdata/07-stubs.asm
modules/rostests/win32/DriverLoading/Application/main.c
modules/rostests/win32/DriverLoading/Application/undoc.c
modules/rostests/win32/comctl32/buttonvistest/buttonvistest.cpp
modules/rostests/win32/kernel32/notificationtest/notificationtest.c
modules/rostests/win32/user32/biditext/biditext.c
modules/rostests/win32/user32/psmtest/psmtest.c
modules/wallpapers/ReadMe.txt
modules/wallpapers/Silhouette/README.md
modules/wallpapers/wallpapers.txt
ntoskrnl/include/internal/i386/callconv.s
ntoskrnl/include/internal/se.h
ntoskrnl/se/access.c
ntoskrnl/se/accesschk.c
ntoskrnl/se/acl.c
ntoskrnl/se/audit.c
ntoskrnl/se/priv.c
ntoskrnl/se/sd.c
ntoskrnl/se/semgr.c
ntoskrnl/se/sid.c
ntoskrnl/se/sqos.c
ntoskrnl/se/srm.c
ntoskrnl/se/token.c
sdk/include/c++/limits
sdk/include/psdk/common.ver
sdk/include/reactos/idl/dnsrslvr.idl
sdk/include/reactos/idl/srvsvc.idl
sdk/include/reactos/idl/winspool.idl
sdk/include/reactos/idl/wlansvc.idl
sdk/lib/cpprt/arm/cpprt.s
sdk/lib/crt/conio/conio.cmake
sdk/lib/crt/direct/direct.cmake
sdk/lib/crt/except/i386/chkesp.s
sdk/lib/crt/math/i386/alldvrm_asm.s
sdk/lib/crt/math/i386/allmul_asm.s
sdk/lib/crt/math/i386/allrem_asm.s
sdk/lib/crt/math/i386/allshl_asm.s
sdk/lib/crt/math/i386/allshr_asm.s
sdk/lib/crt/math/i386/atan_asm.s
sdk/lib/crt/math/i386/aulldiv_asm.s
sdk/lib/crt/math/i386/aulldvrm_asm.s
sdk/lib/crt/math/i386/aullrem_asm.s
sdk/lib/crt/math/i386/aullshr_asm.s
sdk/lib/crt/math/i386/ceil_asm.s
sdk/lib/crt/math/i386/cos_asm.s
sdk/lib/crt/math/i386/exp_asm.s
sdk/lib/crt/math/i386/fabs_asm.s
sdk/lib/crt/math/i386/floor_asm.s
sdk/lib/crt/math/i386/fmod_asm.s
sdk/lib/crt/math/i386/fmodf_asm.s
sdk/lib/crt/math/i386/ftol2_asm.s
sdk/lib/crt/math/i386/ftol_asm.s
sdk/lib/crt/math/i386/log10_asm.s
sdk/lib/crt/math/i386/log_asm.s
sdk/lib/crt/math/i386/sin_asm.s
sdk/lib/crt/math/i386/sqrt_asm.s
sdk/lib/crt/math/i386/tan_asm.s
sdk/lib/crt/mem/i386/memset_asm.s
sdk/lib/crt/msvcrtex.cmake
sdk/lib/tdilib/CMakeLists.txt
sdk/tools/create_nls/unicode.org/ReactOS/ReadMe
sdk/tools/kbdtool/test.klc
sdk/tools/rgenstat/web/rapistatus.js
subsystems/mvdm/config/AUTOEXEC.NT
subsystems/mvdm/ntvdm/bios/bios32/bios32.c
subsystems/mvdm/ntvdm/bios/bios32/vbe.c
subsystems/mvdm/ntvdm/clock.c
subsystems/mvdm/ntvdm/dos/dos32krnl/bios.c
subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c
subsystems/mvdm/ntvdm/dos/dos32krnl/himem.c
subsystems/mvdm/ntvdm/hardware/video/svga.c
win32ss/drivers/displays/framebufacc/screen.c
win32ss/drivers/displays/framebufacc/surface.c
win32ss/drivers/displays/vga/main/enable.c
win32ss/drivers/displays/vga/objects/bitblt.c
win32ss/drivers/displays/vga/objects/copybits.c
win32ss/drivers/displays/vga/objects/lineto.c
win32ss/drivers/displays/vga/vgavideo/vgavideo.c
win32ss/drivers/font/ftfd/enable.c
win32ss/drivers/videoprt/child.c
win32ss/drivers/videoprt/dma.c
win32ss/drivers/videoprt/resource.c
win32ss/gdi/dib/dib16bpp.c
win32ss/gdi/dib/dib24bpp.c
win32ss/gdi/dib/dib32bpp.c
win32ss/gdi/dib/dib4bpp.c
win32ss/gdi/dib/dib8bpp.c
win32ss/gdi/dib/floodfill.c
win32ss/gdi/dib/i386/dib24bpp_hline.s
win32ss/gdi/dib/i386/dib32bpp_colorfill.s
win32ss/gdi/dib/i386/dib32bpp_hline.s
win32ss/gdi/eng/debug.c
win32ss/gdi/eng/floatobj.h
win32ss/gdi/eng/stretchblt.c
win32ss/gdi/gdi32/CMakeLists.txt
win32ss/gdi/gdi32/include/gdi32p.h
win32ss/gdi/gdi32/misc/misc.c
win32ss/gdi/gdi32/objects/font.c
win32ss/gdi/gdi32/objects/utils.c
win32ss/gdi/ntgdi/bitblt.c
win32ss/gdi/ntgdi/dibobj.c
win32ss/gdi/ntgdi/freetype.c
win32ss/gdi/ntgdi/intgdi.h
win32ss/gdi/ntgdi/text.c
win32ss/include/ntuser.h
win32ss/printing/base/winspool/printers.c
win32ss/printing/processors/winprint/raw.c
win32ss/printing/providers/localspl/jobs.c
win32ss/printing/providers/localspl/printers.c
win32ss/printing/providers/localspl/printprocessors.c
win32ss/user/ntuser/console.c
win32ss/user/ntuser/csr.c
win32ss/user/ntuser/csr.h
win32ss/user/ntuser/guicheck.c
win32ss/user/ntuser/sysparams.c
win32ss/user/user32/include/user_x.h
win32ss/user/winsrv/consrv/condrv/graphics.c
win32ss/user/winsrv/consrv/shutdown.c
win32ss/user/winsrv/usersrv/shutdown.c

index 7566474..3dc13d2 100644 (file)
@@ -4,9 +4,9 @@
 # [MODULE] A short but descriptive summary (#pr-num)
 #
 # A comprehensible description of WHY you did this work. Do not limit
-# yourself here. 
-# The width of the description is arbitary, but it is a good idea to 
-# wrap the text by 72 chars. 
+# yourself here.
+# The width of the description is arbitary, but it is a good idea to
+# wrap the text by 72 chars.
 #
 # CORE-XXXX CIDXXXXX
 # ----------------------
@@ -17,6 +17,6 @@
 # * Description of a commit should explain WHY a change was made.
 # * JIRA, Coverity ID references should be placed at the bottom row.
 # * There must be a newline between summary, description and bug IDs.
-# * GitHub Pull Request ID should be referenced in the summary in 
-#   parens. If the resulting summary is longer than 70 chars it may 
+# * GitHub Pull Request ID should be referenced in the summary in
+#   parens. If the resulting summary is longer than 70 chars it may
 #   be placed last in the ID row to prevent hard wrapping on GitHub.
index 5e090eb..1fda574 100644 (file)
@@ -1,5 +1,5 @@
 FROM gitpod/workspace-full-vnc
-                    
+
 USER gitpod
 
 # Install custom tools, runtime, etc. using apt-get
index 90d23b3..10be3e1 100644 (file)
@@ -1,12 +1,12 @@
-Copyright 2008 ReactOS Portable Systems Group. All rights reserved. 
+Copyright 2008 ReactOS Portable Systems Group. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without modification, are permitted provided
-that the following conditions are met: 
+that the following conditions are met:
 1. Redistributions of source code must retain the above copyright notice, this list of conditions and
-   the following disclaimer. 
+   the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
-   and the following disclaimer in the documentation and/or other materials provided with the 
-   distribution. 
+   and the following disclaimer in the documentation and/or other materials provided with the
+   distribution.
 
 THIS SOFTWARE IS PROVIDED BY THE REACTOS PORTABLE SYSTEMS GROUP ``AS IS'' AND ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
index 79ee447..5e6c5de 100644 (file)
@@ -512,7 +512,7 @@ static const conv_t conv_VOLUME[] = {
 1 chang = 20 tamlung
 1 tamlung = 4 baht
 1 baht = 4 saloung
-1 saloung = 
+1 saloung =
 
 1 chang = 6/5 kg = 1200 g
 1 tamlung = 1/20 chang = 60 g
index 3e8ba68..6db63fd 100644 (file)
@@ -55,7 +55,7 @@ double acosh(double x)
 {
     // must be x>=1, if not return Nan (Not a Number)
     if(!(x>=1.0)) return sqrt(-1.0);
-    
+
     // return only the positive result (as sqrt does).
     return log(x+sqrt(x*x-1.0));
 }
@@ -64,7 +64,7 @@ double atanh(double x)
 {
     // must be x>-1, x<1, if not return Nan (Not a Number)
     if(!(x>-1.0 && x<1.0)) return sqrt(-1.0);
-    
+
     return log((1.0+x)/(1.0-x))/2.0;
 }
 
@@ -372,7 +372,7 @@ static __int64 cbrti(__int64 x) {
 
    s = 60;
    y = 0;
-   while(s >= 0) { 
+   while(s >= 0) {
       y = 2*y;
       b = (3*y*(y + 1) + 1) << s;
       s = s - 3;
index 387b802..855fb2d 100644 (file)
 * "DOT" function can be used for starting a number (integer part will be zero).
 * Added repeat function.
 * If the number is greater than maximum resolution, it will be displayed with exponential notation.
-* Removed mouse and keyboard focuses from displayed buttons. 
+* Removed mouse and keyboard focuses from displayed buttons.
 * Added normal and small icons.
 
 1.00 (20070323)
index 6bf11a3..519bf60 100644 (file)
@@ -852,7 +852,7 @@ static void update_memory_flag(HWND hWnd, BOOL mem_flag)
 
 static void update_n_stats_items(HWND hWnd, TCHAR *buffer)
 {
-    unsigned int n = SendDlgItemMessage(hWnd, IDC_LIST_STAT, LB_GETCOUNT, 0, 0); 
+    unsigned int n = SendDlgItemMessage(hWnd, IDC_LIST_STAT, LB_GETCOUNT, 0, 0);
 
     _stprintf(buffer, _T("n=%u"), n);
     SetDlgItemText(hWnd, IDC_TEXT_NITEMS, buffer);
@@ -1211,7 +1211,7 @@ static void handle_context_menu(HWND hWnd, WPARAM wp, LPARAM lp)
 #else
     (void)idm;
 #endif
-} 
+}
 
 static void run_canc(calc_number_t *c)
 {
index 90008a8..13ce8e2 100644 (file)
@@ -47,7 +47,7 @@ FillCharacterSetComboList(HWND hwndCombo)
         if (GetCPInfoExW(codePages[i], 0, &cpInfo))
         {
             trimmedName = wcschr(cpInfo.CodePageName, L'(');
-            if (!trimmedName) 
+            if (!trimmedName)
                 trimmedName = cpInfo.CodePageName;
 
             SendMessageW(hwndCombo,
@@ -678,7 +678,7 @@ wWinMain(HINSTANCE hInst,
     MSG Msg;
 
     hInstance = hInst;
-    
+
     /* Mirroring code for the titlebar */
     switch (GetUserDefaultUILanguage())
     {
index 334980b..a351f74 100644 (file)
@@ -276,7 +276,7 @@ SetFont(PMAP infoPtr,
                    NULL,
                    TRUE);
 
-    if (infoPtr->pActiveCell) 
+    if (infoPtr->pActiveCell)
         infoPtr->pActiveCell->bActive = FALSE;
     infoPtr->pActiveCell = &infoPtr->Cells[0][0];
     infoPtr->pActiveCell->bActive = TRUE;
@@ -357,7 +357,7 @@ OnClick(PMAP infoPtr,
      * Find the cell the mouse pointer is over.
      * Since each cell is the same size, this can be done quickly using CellSize.
      * Clamp to XCELLS - 1 and YCELLS - 1 because the map can sometimes be slightly
-     * larger than infoPtr.CellSize * XCELLS , due to the map size being a non integer 
+     * larger than infoPtr.CellSize * XCELLS , due to the map size being a non integer
      * multiple of infoPtr.CellSize .
      */
     x = min(XCELLS - 1, ptx / max(1, infoPtr->CellSize.cx));
@@ -367,7 +367,7 @@ OnClick(PMAP infoPtr,
     i = XCELLS * infoPtr->iYStart + y * XCELLS + x;
     if (i >= infoPtr->NumValidGlyphs)
     {
-        if (infoPtr->pActiveCell) 
+        if (infoPtr->pActiveCell)
             infoPtr->pActiveCell->bActive = FALSE;
         infoPtr->pActiveCell = NULL;
         return;
@@ -507,11 +507,11 @@ OnVScroll(PMAP infoPtr,
             /* Invalidate the rect around the active cell since a new cell will become active */
             if (infoPtr->pActiveCell && infoPtr->pActiveCell->bActive)
             {
-                InvalidateRect(infoPtr->hMapWnd, 
-                               &infoPtr->pActiveCell->CellExt, 
+                InvalidateRect(infoPtr->hMapWnd,
+                               &infoPtr->pActiveCell->CellExt,
                                TRUE);
             }
-            
+
             GetClientRect(infoPtr->hMapWnd, &rect);
             rect.top += 2;
             rect.bottom -= 2;
@@ -630,7 +630,7 @@ MapWndProc(HWND hwnd,
 
         case WM_LBUTTONDBLCLK:
         {
-            if (!infoPtr->pActiveCell) 
+            if (!infoPtr->pActiveCell)
                 break;
 
             NotifyParentOfSelection(infoPtr,
index 5899180..d8573d5 100644 (file)
@@ -26,7 +26,7 @@
 #define FM_SETCHARMAP (WM_USER + 5)
 
 // the code pages to display in the advanced 'character set' combobox
-static const UINT codePages[] = { 
+static const UINT codePages[] = {
     864, 775, 863, 855, 737, 856, 862, 861, 852, 869, 850, 858, 865, 860, 866, 857, 437,    // OEM code pages
     1256, 1257, 1250, 1251, 1253, 1255, 932, 949, 1252, 936, 874, 950, 1254, 1258           // ANSI code pages
 };
index 639b322..f7005d2 100644 (file)
@@ -155,7 +155,7 @@ CGridView::UpdateCellCoordinates(
     )
 {
     // Go through all the cells and calculate
-    // their coordinates within the grid 
+    // their coordinates within the grid
     for (int y = 0; y < m_yNumCells; y++)
     for (int x = 0; x < m_xNumCells; x++)
     {
@@ -262,7 +262,6 @@ VOID
 CGridView::OnVScroll(_In_ INT Value,
                      _In_ INT Pos)
 {
-    
     INT PrevScrollPosition = m_ScrollPosition;
 
     switch (Value)
index 0981a1e..3ed8182 100644 (file)
@@ -99,7 +99,7 @@ CCharMapWindow::Run(void)
 {
     MSG Msg;
 
-    // Pump the message queue 
+    // Pump the message queue
     while (GetMessageW(&Msg, NULL, 0, 0) != 0)
     {
         TranslateMessage(&Msg);
@@ -195,7 +195,7 @@ CCharMapWindow::OnCreate(_In_ HWND hDlg)
         }
     }
 
-    // Add all the fonts to the 
+    // Add all the fonts to the list
     if (!CreateFontComboBox())
         return FALSE;
 
index 22d3622..82298db 100644 (file)
@@ -398,7 +398,7 @@ GetTimeAsJobTime(VOID)
 
     GetLocalTime(&Time);
 
-    JobTime = (DWORD_PTR)Time.wHour * 3600000 + 
+    JobTime = (DWORD_PTR)Time.wHour * 3600000 +
               (DWORD_PTR)Time.wMinute * 60000;
 
     return JobTime;
@@ -698,7 +698,7 @@ AddJob(
     ULONG ulJobId = 0;
     NET_API_STATUS Status;
 
-    InfoBuffer.JobTime = (DWORD_PTR)ulJobHour * 3600000 + 
+    InfoBuffer.JobTime = (DWORD_PTR)ulJobHour * 3600000 +
                          (DWORD_PTR)ulJobMinute * 60000;
     InfoBuffer.DaysOfMonth = ulDaysOfMonth;
     InfoBuffer.DaysOfWeek = ucDaysOfWeek;
index 7a5d738..3feb9f7 100644 (file)
@@ -4,6 +4,7 @@
  * PURPOSE:     Comparing text files
  * COPYRIGHT:   Copyright 2021 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
  */
+
 #include "fc.h"
 
 #define IS_SPACE(ch) ((ch) == TEXT(' ') || (ch) == TEXT('\t'))
@@ -510,7 +511,7 @@ Resync(FILECOMPARE *pFC, struct list **pptr0, struct list **pptr1)
     return FCRET_DIFFERENT;
 }
 
-static FCRET 
+static FCRET
 Finalize(FILECOMPARE* pFC, struct list *ptr0, struct list* ptr1, BOOL fDifferent)
 {
     if (!ptr0 && !ptr1)
index afe20b9..df9f18b 100644 (file)
@@ -552,7 +552,7 @@ IsDataUnicode(
                      IS_TEXT_UNICODE_REVERSE_MASK | IS_TEXT_UNICODE_UNICODE_MASK)
                         & ~IS_TEXT_UNKNOWN_FLAGS_MASK;
         INT Results;
-    
+
         IsTextUnicode(Buffer, BufferSize, &Tests);
         Results = Tests;
 
@@ -1083,7 +1083,7 @@ int wmain(int argc, WCHAR* argv[])
             continue;
 
         GetFullPathNameW(argv[i], ARRAYSIZE(szFullPath), szFullPath, NULL);
-        hFile = CreateFileW(szFullPath, 
+        hFile = CreateFileW(szFullPath,
                             GENERIC_READ,
                             FILE_SHARE_READ,
                             NULL,
index 4248e72..5ecb5cc 100644 (file)
@@ -49,7 +49,7 @@ VOID PrintResString(HINSTANCE hInstance, UINT uID, UINT MaxWidth, BOOL bAlignLef
 {
     if (!hInstance)
         return;
-    
+
     WCHAR StringBuffer[RES_STR_MAXLEN];
     LoadStringW(hInstance, uID, StringBuffer, _countof(StringBuffer));
     PrintString(StringBuffer, MaxWidth, bAlignLeft);
@@ -96,7 +96,7 @@ BOOL PrintMemory(SIZE_T MemorySizeByte, UINT MaxWidth, HINSTANCE hInstance)
         *pNumberStr = L'0' + (MemorySize / Mod);
         MemorySize %= Mod;
         pNumberStr++;
-        
+
         if (i != 1 && i % 3 == 1)
         {
             *pNumberStr = L',';
index 7c06624..a8012c7 100644 (file)
@@ -28,7 +28,7 @@ BOOL bUseAscii = FALSE;
 /**
 * @name: HasSubFolder
 *
-* @param strPath 
+* @param strPath
 * Must specify folder name
 *
 * @return
@@ -207,7 +207,7 @@ static VOID DrawTree(PCWSTR strPath,
 
 /**
  * @name: GetDirectoryStructure
- * 
+ *
  * @param strPath
  * Must specify folder name
  *
@@ -240,7 +240,7 @@ GetDirectoryStructure(PWSTR strPath, UINT width, PCWSTR prevLine)
         wcscat(tmp, strPath);
         wcscat(tmp, L"\\*.*");
         hFind = FindFirstFileW(tmp, &FindFileData);
-        //err = GetLastError(); 
+        //err = GetLastError();
     }
 
     if (hFind == INVALID_HANDLE_VALUE)
index 8d8f7e1..d5a24b8 100644 (file)
@@ -367,7 +367,7 @@ void WhoamiPrintTable(WhoamiTable *pTable)
             WhoamiFree(pTable->Content[i * pTable->Cols + j]);
 
     WhoamiFree(pTable);
-    
+
     if (PrintFormat != csv)
         HeapFree(GetProcessHeap(), 0, ColLength);
 }
index ea112a7..7b63805 100644 (file)
@@ -14,7 +14,7 @@ BOOL DDOffscreenBufferTest(HWND hWnd, BOOL Fullscreen);
 VOID DDRedrawFrame(LPDIRECTDRAWSURFACE lpDDSurface);
 VOID DDUpdateFrame(LPDIRECTDRAWSURFACE lpDDPrimarySurface ,LPDIRECTDRAWSURFACE lpDDBackBuffer, BOOL Fullscreen, INT *posX, INT *posY, INT *gainX, INT *gainY, RECT *rectDD);
 
-#define TEST_DURATION 10000 
+#define TEST_DURATION 10000
 #define DD_TEST_WIDTH 640
 #define DD_TEST_HEIGHT 480
 #define DD_TEST_STEP 5
@@ -295,7 +295,7 @@ BOOL DDOffscreenBufferTest(HWND hWnd, BOOL Fullscreen){
         {
             if (msg.message == WM_TIMER)
             {
-                if(msg.wParam == TimerID) 
+                if(msg.wParam == TimerID)
                 {
                     break;
                 }
index 779772f..eae0555 100644 (file)
@@ -188,7 +188,7 @@ DisplayPageSetDeviceDetails(HWND * hDlgCtrls, LPCGUID classGUID, LPGUID * device
                 SendMessageW(hDlgCtrls[1], WM_SETTEXT, 0, (LPARAM)szText);
 
             /* FIXME
-             * we currently enumerate only the first adapter 
+             * we currently enumerate only the first adapter
              */
             EnumerateDrivers(&hDlgCtrls[2], hInfo, &InfoData);
             break;
@@ -367,7 +367,7 @@ DisplayPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     RECT rect;
     PDXDIAG_CONTEXT pContext = (PDXDIAG_CONTEXT)GetWindowLongPtr(hDlg, DWLP_USER);
-    switch (message) 
+    switch (message)
     {
         case WM_INITDIALOG:
         {
index 096b276..eaeace9 100644 (file)
@@ -18,7 +18,7 @@ HWND hTabCtrlWnd;
 // http://www.catch22.net/software/winspy
 // Copyright (c) 2002 by J Brown
 //
+
 //
 //     Copied from uxtheme.h
 //  If you have this new header, then delete these and
@@ -29,7 +29,7 @@ HWND hTabCtrlWnd;
 #define ETDT_USETABTEXTURE  0x00000004
 #define ETDT_ENABLETAB      (ETDT_ENABLE  | ETDT_USETABTEXTURE)
 
-// 
+//
 typedef HRESULT (WINAPI * ETDTProc) (HWND, DWORD);
 
 //
@@ -44,7 +44,7 @@ BOOL EnableDialogTheme(HWND hwnd)
 
     if(hUXTheme)
     {
-        fnEnableThemeDialogTexture = 
+        fnEnableThemeDialogTexture =
             (ETDTProc)GetProcAddress(hUXTheme, "EnableThemeDialogTexture");
 
         if(fnEnableThemeDialogTexture)
@@ -249,9 +249,9 @@ DxDiagWndProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
                CurSel++;
 
                /* enable/disable next button */
-               EnableWindow(GetDlgItem(hwndDlg, IDC_BUTTON_NEXT), 
+               EnableWindow(GetDlgItem(hwndDlg, IDC_BUTTON_NEXT),
                             (CurSel != TabCtrl_GetItemCount(hTabCtrlWnd) - 1));
-               
+
                /* switch to next tab */
                SendMessageW(hTabCtrlWnd, TCM_SETCURSEL, CurSel, 0L);
 
@@ -280,7 +280,7 @@ DxDiagWndProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
                INT CurSel = TabCtrl_GetCurSel(hTabCtrlWnd);
 
                /* enable/disable next button */
-               EnableWindow(GetDlgItem(hwndDlg, IDC_BUTTON_NEXT), 
+               EnableWindow(GetDlgItem(hwndDlg, IDC_BUTTON_NEXT),
                             (CurSel != TabCtrl_GetItemCount(hTabCtrlWnd) - 1));
 
                 TabCtrl_OnSelChange(pContext);
@@ -310,8 +310,8 @@ int APIENTRY wWinMain(HINSTANCE hInstance,
     InitCommonControlsEx(&InitControls);
 
     hInst = hInstance;
+
     DialogBox(hInst, MAKEINTRESOURCE(IDD_MAIN_DIALOG), NULL, DxDiagWndProc);
-  
+
     return 0;
 }
index 7122b7b..440ebe3 100644 (file)
@@ -43,7 +43,7 @@ static DIRECTPLAY_GUID DirectPlay8SP[] =
     }
 };
 
-static DIRECTPLAY_GUID DirectPlaySP[] = 
+static DIRECTPLAY_GUID DirectPlaySP[] =
 {
     {
         L"{36E95EE0-8577-11cf-960C-0080C7534E82}",
@@ -232,7 +232,7 @@ EnumerateServiceProviders(HKEY hKey, HWND hDlgCtrl, DIRECTPLAY_GUID * PreDefProv
                 Item.iItem = ListView_GetItemCount(hDlgCtrl);
 
                 /* FIXME
-                 * on Windows Vista we need to use RegLoadMUIString which is not available for older systems 
+                 * on Windows Vista we need to use RegLoadMUIString which is not available for older systems
                  */
                 if (!GetRegValue(hKey, szName, L"Friendly Name", REG_SZ, szResult, sizeof(szResult)))
                     if (!GetRegValue(hKey, szName, L"DescriptionW", REG_SZ, szResult, sizeof(szResult)))
index ff5cc48..d3540c5 100644 (file)
@@ -167,7 +167,7 @@ SetDeviceDetails(HWND hwndDlg, LPCGUID classGUID, LPCWSTR lpcstrDescription)
                 SendDlgItemMessageW(hwndDlg, IDC_STATIC_ADAPTER_PROVIDER, WM_SETTEXT, 0, (LPARAM)szText);
 
             /* FIXME
-             * we currently enumerate only the first adapter 
+             * we currently enumerate only the first adapter
              */
             hDlgCtrls[0] = GetDlgItem(hwndDlg, IDC_STATIC_DSOUND_DRIVER);
             hDlgCtrls[1] = GetDlgItem(hwndDlg, IDC_STATIC_DSOUND_VERSION);
@@ -282,7 +282,7 @@ void InitializeDirectSoundPage(PDXDIAG_CONTEXT pContext)
 INT_PTR CALLBACK
 SoundPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
-    switch (message) 
+    switch (message)
     {
         case WM_INITDIALOG:
         {
index 7359d0c..da51c2a 100644 (file)
@@ -40,7 +40,7 @@ GetRegValue(HKEY hBaseKey, LPWSTR SubKey, LPWSTR ValueName, DWORD Type, LPWSTR R
 }
 
 
-static 
+static
 BOOL
 GetDirectXVersion(WCHAR * szBuffer)
 {
@@ -109,7 +109,7 @@ VOID GetSystemCPU(WCHAR *szBuffer)
     the program is not running in WOW64. */
     fnIsWow64Process = (ISWOW64PROC)GetProcAddress(
         GetModuleHandleW(L"kernel32"), "IsWow64Process");
-    
+
     if (fnIsWow64Process != NULL)
         fnIsWow64Process(GetCurrentProcess(), &isWow64);
 
index 0e72635..bec50d5 100644 (file)
@@ -168,7 +168,7 @@ main (int argc, char **argv)
              case 'B':         /* Matches pattern if at the beginning of a line */
                at_start = 1;
                break;
-                       
+
              //case 'c':
              //case 'C':               /* Literal? */
              //  literal_search = 1;
@@ -178,7 +178,7 @@ main (int argc, char **argv)
              case 'E':         /* matches pattern if at end of line */
                at_end = 1;
                break;
-                       
+
              case 'i':
              case 'I':         /* Ignore */
                ignore_case = 1;
@@ -187,22 +187,22 @@ main (int argc, char **argv)
              case 'm':
              case 'M':         /* only filename */
                only_fname = 1;
-               break;                  
-                       
+               break;
+
              case 'n':
              case 'N':         /* Number */
                number_output = 1;
                break;
-                       
+
              case 'r':
              case 'R':         /* search strings as regular expressions */
                reg_express = 1;
-               break;  
+               break;
 
              case 's':
              case 'S':         /* search files in child directory too*/
                sub_dirs = 1;
-               break;                          
+               break;
 
              case 'v':
              case 'V':         /* Not with */
@@ -212,8 +212,8 @@ main (int argc, char **argv)
              case 'x':
              case 'X':         /* exact match */
                exact_match = 1;
-               break;                  
-                       
+               break;
+
              default:
                usage ();
                exit (2);               /* syntax error .. return error 2 */
index a6cb706..c4f60d8 100644 (file)
@@ -1,7 +1,7 @@
 Solitaire for ReactOS
 
 /*****************************************
-A complete working example of the CardLib 
+A complete working example of the CardLib
 card-game library.
 
 Freeware
index 19219b8..9d72c4b 100644 (file)
@@ -26,12 +26,12 @@ void NewGame(void)
             lScore = lScore - 52;
         else
             lScore = -52;
-        
+
         if (dwOptions & OPTION_THREE_CARDS)
             dwWasteTreshold = 2;
         else
             dwWasteTreshold = 0;
-       
+
     }
     else
     {
@@ -262,7 +262,7 @@ bool CARDLIBPROC SuitStackDropProc(CardRegion &stackobj, CardStack &dragcards)
             {
                 lScore = lScore + 10;
             }
-    
+
             UpdateStatusBar();
         }
     }
index 529f6ba..3fd6a25 100644 (file)
@@ -341,7 +341,7 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
             else
                 EnableWindow(hCtrl, FALSE);
             return TRUE;
+
         case IDOK:
             dwOptions &= ~OPTION_THREE_CARDS;
             if (IsDlgButtonChecked(hDlg, IDC_OPT_DRAWTHREE) == BST_CHECKED)
@@ -623,7 +623,7 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
 
             // For now, the Help dialog item is disabled because of lacking of HTML Help support
             EnableMenuItem(GetMenu(hwnd), IDM_HELP_CONTENTS, MF_BYCOMMAND | MF_GRAYED);
-            
+
             hwndStatus = CreateStatusWindow(WS_CHILD | WS_VISIBLE | CCS_BOTTOM | SBARS_SIZEGRIP, _T("Ready"), hwnd, 0);
 
             //SendMessage(hwndStatus, SB_SIMPLE, (WPARAM)TRUE, 0);
index c01dcd4..73a4f6b 100644 (file)
@@ -29,7 +29,7 @@ CardStack CreatePlayDeck()
 {
     CardStack newStack;
     int i, colors = 1, num = 0;
-    
+
     switch (dwDifficulty)
     {
         case IDC_DIF_ONECOLOR:
@@ -55,7 +55,7 @@ void NewGame(void)
 {
     int i, j;
     /* First four stack with five, all other with 4 */
-    int covCards = 5; 
+    int covCards = 5;
     CardStack fakeDeck, temp;
 
     SpiderWnd.EmptyStacks();
@@ -65,14 +65,14 @@ void NewGame(void)
     deck.Shuffle();
     fakeDeck.NewDeck();
     fakeDeck.Shuffle();
-    
+
     /* Reset progress value */
     cardsFinished = 0;
 
     /* Deal to each stack */
     for (i = 0; i < NUM_STACKS; i++)
     {
-        temp.Clear();       
+        temp.Clear();
         if (i == NUM_SMALLER_STACKS)
         {
             covCards--;
@@ -85,7 +85,7 @@ void NewGame(void)
         pStack[i]->SetCardStack(temp);
     }
     /* Deal five fake cards to the deck */
-    pDeck->SetCardStack(fakeDeck.Pop(5));  
+    pDeck->SetCardStack(fakeDeck.Pop(5));
 
     SpiderWnd.Redraw();
     fGameStarted = false;
@@ -103,7 +103,7 @@ bool stackLookingGood(const CardStack &mystack, int numChecks)
         if (mystack[i].Suit() != mystack[i + 1].Suit())
         {
             return false;
-        }    
+        }
     }
     return true;
 }
@@ -172,8 +172,8 @@ bool CARDLIBPROC StackDragProc(CardRegion &stackobj, int numDragCards)
 
     stackobj.GetFaceDirection(&numfacedown);
     numcards = stackobj.NumCards();
-    /* Only cards facing up */   
+
+    /* Only cards facing up */
     if (numDragCards <= numcards - numfacedown)
     {
         const CardStack &mystack = stackobj.GetCardStack();
@@ -228,7 +228,7 @@ bool CARDLIBPROC StackDropProc(CardRegion &stackobj, CardStack &dragcards)
     {
         return false;
     }
-    
+
     /* If stack is empty, everything can be dropped */
     if (stackobj.NumCards() != 0)
     {
@@ -245,12 +245,12 @@ bool CARDLIBPROC StackDropProc(CardRegion &stackobj, CardStack &dragcards)
         faceup = stackobj.NumCards() - facedown;
 
         if (faceup + dragcards.NumCards() >= NUM_ONECOLOR_CARDS)
-        {            
+        {
             int i, max = NUM_ONECOLOR_CARDS - dragcards.NumCards() - 1;
 
             /* Dragged cards have been checked to be in order, check stack cards */
             if (mystack[0].Suit() == dragcard.Suit() &&
-                stackLookingGood(mystack, max)) 
+                stackLookingGood(mystack, max))
             {
                 CardStack s = stackobj.GetCardStack();
                 CardStack f;
index adb0bab..8fafeaa 100644 (file)
@@ -1472,7 +1472,7 @@ _tWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPTSTR lpCmdLine, INT nCmdShow)
     HANDLE hAccel;
 
     hInstance = hInst;
-    
+
     switch (GetUserDefaultUILanguage())
     {
         case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
index 41f4e11..7776189 100644 (file)
@@ -53,11 +53,11 @@ LoadBootIni(WCHAR *szDrive, HWND hDlg)
         hr = StringCbCatW(szBuffer, sizeof(szBuffer), L"boot.ini");
         if (FAILED(hr))
             return FALSE;
-            
+
         file = _wfopen(szBuffer, L"rt");
         if (!file)
             return FALSE;
-    }     
+    }
 
     hDlgCtrl = GetDlgItem(hDlg, IDC_LIST_BOX);
 
index 3cbe4c5..f17afaf 100644 (file)
@@ -31,7 +31,7 @@ void MsConfig_OnTabWndSelChange(void);
 // http://www.catch22.net/software/winspy
 // Copyright (c) 2002 by J Brown
 //
+
 //
 //     Copied from uxtheme.h
 //  If you have this new header, then delete these and
@@ -42,7 +42,7 @@ void MsConfig_OnTabWndSelChange(void);
 #define ETDT_USETABTEXTURE  0x00000004
 #define ETDT_ENABLETAB      (ETDT_ENABLE  | ETDT_USETABTEXTURE)
 
-// 
+//
 typedef HRESULT (WINAPI * ETDTProc) (HWND, DWORD);
 
 //
@@ -57,7 +57,7 @@ BOOL EnableDialogTheme(HWND hwnd)
 
     if(hUXTheme)
     {
-        fnEnableThemeDialogTexture = 
+        fnEnableThemeDialogTexture =
             (ETDTProc)GetProcAddress(hUXTheme, "EnableThemeDialogTexture");
 
         if(fnEnableThemeDialogTexture)
@@ -259,7 +259,7 @@ MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 
         case WM_COMMAND:
 
-            if (LOWORD(wParam) == IDOK) 
+            if (LOWORD(wParam) == IDOK)
             {
                 //MsConfig_OnSaveChanges();
             }
@@ -327,9 +327,9 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
     InitCommonControlsEx(&InitControls);
 
     hInst = hInstance;
+
     DialogBox(hInst, (LPCTSTR)IDD_MSCONFIG_DIALOG, NULL,  MsConfigWndProc);
-  
+
     return 0;
 }
 
index 8cd0ea8..23ec011 100644 (file)
@@ -105,7 +105,7 @@ ToolsPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
                     {
                         if (SHGetSpecialFolderPath(NULL, szTemp, ListItems_Locations[ListView_GetSelectionMark(hToolsListCtrl)], FALSE))
                             Ptr = PathAddBackslash(szTemp);
-    
+
                         if (!Ptr)
                             Ptr = szTemp;
 
@@ -157,7 +157,7 @@ ToolsPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
                         {
                             if (SHGetSpecialFolderPath(NULL, szTemp, ListItems_Locations[ListView_GetSelectionMark(hToolsListCtrl)], FALSE))
                                 Ptr = PathAddBackslash(szTemp);
-    
+
                             if (!Ptr)
                                 Ptr = szTemp;
 
index 9e5f533..d348a8e 100644 (file)
@@ -34,7 +34,7 @@ SortListView(LPARAM lItemParam1,
     ListView_GetItemText(pSort->hList, iItem1, pSort->nClickedColumn, strItem1, MAX_VALUE_NAME);
     ListView_GetItemText(pSort->hList, iItem2, pSort->nClickedColumn, strItem2, MAX_VALUE_NAME);
 
-    // StrCmpLogicalW helps in comparing numbers intelligently, 10 is greater that 2, other 
+    // StrCmpLogicalW helps in comparing numbers intelligently, 10 is greater that 2, other
     // wise string comparison will always return 2 is greater that 10...
     return ( pSort->bSortAsc ? StrCmpLogicalW(strItem1, strItem2) : StrCmpLogicalW(strItem2, strItem1) );
 }
index 3d1681c..ed3a07c 100644 (file)
@@ -170,7 +170,7 @@ HTREEITEM Tree_Item_Copy(HWND hTree, HTREEITEM hSourceItem, HTREEITEM hParent, H
     tvis.itemex.pszText    = label;
     tvis.itemex.cchTextMax = MAX_VALUE_NAME;
     TreeView_GetItem(hTree, &tvis.itemex);
-        
+
     // 2- Now, copy to destination.
     tvis.hParent          = hParent;
     tvis.hInsertAfter     = hInsertAfter;
index 232a378..fb9483d 100644 (file)
@@ -262,7 +262,7 @@ LoadIniFile(HWND hTree, LPCWSTR lpszIniFile)
         lpsz1 = szLine;
         while (*lpsz1 == L' ' || *lpsz1 == L'\r' || *lpsz1 == L'\n')
             ++lpsz1;
-        
+
         /* Skip empty lines */
         if (!*lpsz1)
             continue;
@@ -808,7 +808,7 @@ CommonWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
                         MessageBox(hDlg, _T("Help not implemented yet!"), _T("Help"), MB_ICONINFORMATION | MB_OK);
                         return TRUE;
                     }
-                
+
                     case PSN_KILLACTIVE: // Is going to lose activation.
                     {
                         // Changes are always valid of course.
@@ -868,7 +868,7 @@ INT_PTR CALLBACK
 SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
 {
     static LPCWSTR lpszIniFile = NULL;
-    
+
     if (message == WM_INITDIALOG)
         lpszIniFile = (LPCWSTR)((LPPROPSHEETPAGE)lParam)->lParam;
 
index 3715fcf..fc797ff 100644 (file)
@@ -268,7 +268,7 @@ BOOL IsWindowsOS(VOID)
     {
         bIsWindowsOS = TRUE;
     }
-    
+
     return bIsWindowsOS;
 }
 
index fbb2441..c65eb17 100644 (file)
@@ -15,11 +15,11 @@ td { background-color:#f0f0f0; font-size:12px; padding:5px; border-width:1px; bo
 
 <h1>Werkzeuge in Paint</h1>
 <p>
-<b>Paint für ReactOS</b> stellt ihnen zum Bearbeiten ihrer Bilder zahlreiche <i>Werkzeuge</i> zur Verfügung. Um eines der 
+<b>Paint für ReactOS</b> stellt ihnen zum Bearbeiten ihrer Bilder zahlreiche <i>Werkzeuge</i> zur Verfügung. Um eines der
 
-Werkzeuge auszuwählen, klicken Sie bitte auf das entsprechende Symbol im <i>Werkzeugkasten</i>, der sich üblicherweise 
+Werkzeuge auszuwählen, klicken Sie bitte auf das entsprechende Symbol im <i>Werkzeugkasten</i>, der sich üblicherweise
 
-auf der linken Seite des Fensters befindet. Es folgt eine Auflistung der Ihnen zur Verfügung stehenden 
+auf der linken Seite des Fensters befindet. Es folgt eine Auflistung der Ihnen zur Verfügung stehenden
 
 Werkzeuge mit jeweils einer kurzen Beschreibung.
 </p>
@@ -29,27 +29,27 @@ Werkzeuge mit jeweils einer kurzen Beschreibung.
 <th>Beschreibung</th></tr>
 
 <tr><td align="center"><img src="freesel.png" alt=""></td>
-<td>Die <i>freie Auswahl</i> ermöglicht es Ihnen, einen beliebigen Bereich des Bildes auszuwählen. Drücken Sie 
+<td>Die <i>freie Auswahl</i> ermöglicht es Ihnen, einen beliebigen Bereich des Bildes auszuwählen. Drücken Sie
 
-dazu im Bild die linke Maustaste und umfahren Sie mit der gedrückten Maustaste den Bereich, den Sie auswählen 
+dazu im Bild die linke Maustaste und umfahren Sie mit der gedrückten Maustaste den Bereich, den Sie auswählen
 
-möchten. Wenn Sie die Maustaste nun loslassen wird der Bereich automatisch in eine geschlossene Auswahl 
+möchten. Wenn Sie die Maustaste nun loslassen wird der Bereich automatisch in eine geschlossene Auswahl
 
 umgewandelt.</td></tr>
 
 <tr><td align="center"><img src="rectsel.png" alt=""></td>
-<td>Die <i>rechteckige Auswahl</i> ermöglicht es Ihnen, im Bild einen beliebigen rechteckigen Bereich 
+<td>Die <i>rechteckige Auswahl</i> ermöglicht es Ihnen, im Bild einen beliebigen rechteckigen Bereich
 
-auszuwählen. Drücken Sie dazu im Bild die linke Maustaste und ziehen Sie die Maus zur diagonal 
+auszuwählen. Drücken Sie dazu im Bild die linke Maustaste und ziehen Sie die Maus zur diagonal
 
-gegenüberliegenden Seite des gewünschten Rechtecks. Wenn Sie die Maustaste loslassen, erscheint sie soeben 
+gegenüberliegenden Seite des gewünschten Rechtecks. Wenn Sie die Maustaste loslassen, erscheint sie soeben
 
 erstellte Auswahl.</td></tr>
 
 <tr><td align="center"><img src="rubber.png" alt=""></td>
-<td>Der <i>Radierer</i> erlaubt es Ihnen, mit der Hintergrundfarbe zu Malen, um Teile des Bildes zu löschen. 
+<td>Der <i>Radierer</i> erlaubt es Ihnen, mit der Hintergrundfarbe zu Malen, um Teile des Bildes zu löschen.
 
-Möchten Sie das gesamte Bild löschen, verwenden Sie bitte den Menüeintrag <i>Bild löschen</i> im Menü 
+Möchten Sie das gesamte Bild löschen, verwenden Sie bitte den Menüeintrag <i>Bild löschen</i> im Menü
 
 <i>Bild</i>.*</td></tr>
 
index 7036113..1bc47e9 100644 (file)
@@ -62,7 +62,7 @@ void RegistrySettings::LoadPresets()
     ThumbYPos = 200;
     UnitSetting = 0;
     const WINDOWPLACEMENT DefaultWindowPlacement = {
-        sizeof(WINDOWPLACEMENT), 
+        sizeof(WINDOWPLACEMENT),
         0,
         SW_SHOWNORMAL,
         {0, 0},
index 928c21b..686f2ee 100644 (file)
@@ -104,8 +104,8 @@ void CMainWindow::saveImage(BOOL overwrite)
 
 void CMainWindow::InsertSelectionFromHBITMAP(HBITMAP bitmap, HWND window)
 {
-    int width = GetDIBWidth(bitmap); 
-    int height = GetDIBHeight(bitmap); 
+    int width = GetDIBWidth(bitmap);
+    int height = GetDIBHeight(bitmap);
     int curWidth = imageModel.GetWidth();
     int curHeight = imageModel.GetHeight();
 
@@ -129,7 +129,7 @@ void CMainWindow::InsertSelectionFromHBITMAP(HBITMAP bitmap, HWND window)
                     shouldEnlarge = FALSE;
                     break;
                 case IDCANCEL:
-                    return; 
+                    return;
             }
         }
 
index 8f3e4b3..d386f7d 100644 (file)
@@ -133,7 +133,7 @@ int LoadStringAndOem(HINSTANCE hInst,
         return 0;
     }
 
-    res = LoadString(hInst, uID, szTmp, byteSize); 
+    res = LoadString(hInst, uID, szTmp, byteSize);
     CharToOem(szTmp, szNode);
     HeapFree(ProcessHeap, 0, szTmp);
     return res;
@@ -300,7 +300,7 @@ LPTSTR GetConnectionType(LPTSTR lpClass)
 
             if (ConTypeTmp == NULL)
                 return NULL;
-                                        
+
             ConType = (LPTSTR)HeapAlloc(ProcessHeap,
                                         0,
                                         dwDataSize);
index 96f1d24..5e88ddf 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS net command 
+ * PROJECT:         ReactOS net command
  * PROGRAMMERS:     Magnus Olsen (greatlord@reactos.org)
  */
 
index 1509076..2c9c9eb 100644 (file)
@@ -839,7 +839,7 @@ PCHAR ClassIDtoClassName( USHORT ClassID )
 
     case CLASS_ANY:
         return ClassAny;
-        
+
     default:
         return "Unknown";
     }
index b31d0c0..3fed529 100644 (file)
@@ -308,7 +308,7 @@ static VOID NOTEPAD_InitMenuPopup(HMENU menu, LPARAM index)
 }
 
 LRESULT CALLBACK EDIT_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
-{ 
+{
     switch (msg)
     {
         case WM_KEYDOWN:
index aa908ff..c15c3ab 100644 (file)
@@ -220,14 +220,14 @@ HWND CComboBox::Create(HWND hwndParent)
         NULL);
 
     SendMessageW(WM_SETFONT, (WPARAM)GetStockObject(DEFAULT_GUI_FONT), 0);
-    
+
     for (int i = 0; i < (int)_countof(m_TypeStringID); i++)
     {
         ATL::CStringW szBuf;
         szBuf.LoadStringW(m_TypeStringID[i]);
         SendMessageW(CB_ADDSTRING, 0, (LPARAM)(LPCWSTR)szBuf);
     }
-    
+
     SendMessageW(CB_SETCURSEL, m_DefaultSelectType, 0); // select the first item
 
     return m_hWnd;
@@ -1639,7 +1639,7 @@ BOOL CApplicationView::ProcessWindowMessage(HWND hwnd, UINT message, WPARAM wPar
     return FALSE;
 }
 
-BOOL CApplicationView::CreateToolbar() 
+BOOL CApplicationView::CreateToolbar()
 {
     m_Toolbar = new CMainToolbar();
     m_Toolbar->m_VerticalAlignment = UiAlign_LeftTop;
index 665d5de..08be483 100644 (file)
@@ -140,7 +140,7 @@ BOOL AsyncInetCancel(pASYNCINET AsyncInet) // mark as cancelled (this will send
             return TRUE;
         }
     }
-    
+
     return FALSE;
 }
 
@@ -172,7 +172,7 @@ BOOL AsyncInetAcquire(pASYNCINET AsyncInet) // try to increase refcnt by 1. if r
             bResult = TRUE;
         }
         // otherwise (AsyncInet->bCleanUp == TRUE)
-        // AsyncInetAcquire will return FALSE. 
+        // AsyncInetAcquire will return FALSE.
         // In this case, any thread should no longer use this AsyncInet
 
         LeaveCriticalSection(&(AsyncInet->CriticalSection));
@@ -194,7 +194,7 @@ VOID AsyncInetRelease(pASYNCINET AsyncInet) // try to decrease refcnt by 1
         {
             bCleanUp = TRUE;
         }
-        
+
         LeaveCriticalSection(&(AsyncInet->CriticalSection));
 
         if (bCleanUp)
index 01f8fe5..e148a2d 100644 (file)
@@ -426,8 +426,8 @@ BOOL CAvailableApps::UpdateAppsDB()
 
     DownloadApplicationsDB(SettingsInfo.bUseSource ? SettingsInfo.szSourceURL : APPLICATION_DATABASE_URL,
         !SettingsInfo.bUseSource);
-    
-    if (!ExtractFilesFromCab(m_Strings.szCabName, 
+
+    if (!ExtractFilesFromCab(m_Strings.szCabName,
                              m_Strings.szCabDir,
                              m_Strings.szAppsPath))
     {
index 8b4d8a1..1d7bb69 100644 (file)
@@ -2,7 +2,7 @@
  * PROJECT:     ReactOS Applications Manager
  * LICENSE:     GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
  * PURPOSE:     Cabinet extraction using FDI API
- * COPYRIGHT:   Copyright 2018 Alexander Shaposhnikov     (sanchaez@reactos.org)            
+ * COPYRIGHT:   Copyright 2018 Alexander Shaposhnikov     (sanchaez@reactos.org)
  */
 #include "rapps.h"
 #include <debug.h>
@@ -12,7 +12,7 @@
 
 /*
  * HACK: treat any input strings as Unicode (UTF-8)
- * cabinet.dll lacks any sort of a Unicode API, but FCI/FDI 
+ * cabinet.dll lacks any sort of a Unicode API, but FCI/FDI
  * provide an ability to use user-defined callbacks for any file or memory
  * operations. This flexibility and the magic power of C/C++ casting allows
  * us to treat input as we please.
@@ -66,7 +66,7 @@ inline BOOL MultiByteToWide(const CStringA& szSource,
                                     NULL);
     if (!sz)
         return FALSE;
-        
+
     // do the actual conversion
     sz = MultiByteToWideChar(CP_UTF8,
                                 0,
@@ -215,7 +215,7 @@ FNFDINOTIFY(fnNotify)
         WideToMultiByte(szNewFileName, szFilePathUTF8, CP_UTF8);
 
         // Open the file
-        iResult = fnFileOpen((LPSTR) szFilePathUTF8.GetString(), 
+        iResult = fnFileOpen((LPSTR) szFilePathUTF8.GetString(),
                              _O_WRONLY | _O_CREAT,
                              0);
     }
@@ -254,14 +254,14 @@ FNFDINOTIFY(fnNotify)
 
 /* cabinet.dll FDI function pointers */
 
-typedef HFDI(*fnFDICreate)(PFNALLOC, 
-                           PFNFREE, 
-                           PFNOPEN, 
-                           PFNREAD, 
+typedef HFDI(*fnFDICreate)(PFNALLOC,
+                           PFNFREE,
+                           PFNOPEN,
+                           PFNREAD,
                            PFNWRITE,
-                           PFNCLOSE, 
-                           PFNSEEK, 
-                           int, 
+                           PFNCLOSE,
+                           PFNSEEK,
+                           int,
                            PERF);
 
 typedef BOOL(*fnFDICopy)(HFDI,
@@ -274,12 +274,12 @@ typedef BOOL(*fnFDICopy)(HFDI,
 
 typedef BOOL(*fnFDIDestroy)(HFDI);
 
-/* 
- * Extraction function 
+/*
+ * Extraction function
  * TODO: require only a full path to the cab as an argument
  */
-BOOL ExtractFilesFromCab(const ATL::CStringW& szCabName, 
-                         const ATL::CStringW& szCabDir, 
+BOOL ExtractFilesFromCab(const ATL::CStringW& szCabName,
+                         const ATL::CStringW& szCabDir,
                          const ATL::CStringW& szOutputDir)
 {
     HINSTANCE hCabinetDll;
@@ -291,7 +291,7 @@ BOOL ExtractFilesFromCab(const ATL::CStringW& szCabName,
     fnFDIDestroy pfnFDIDestroy;
     BOOL bResult;
 
-    // Load cabinet.dll and extract needed functions 
+    // Load cabinet.dll and extract needed functions
     hCabinetDll = LoadLibraryW(L"cabinet.dll");
 
     if (!hCabinetDll)
@@ -328,7 +328,7 @@ BOOL ExtractFilesFromCab(const ATL::CStringW& szCabName,
 
     // Create output dir
     bResult = CreateDirectoryW(szOutputDir, NULL);
-    
+
     if (bResult || GetLastError() == ERROR_ALREADY_EXISTS)
     {
         // Convert wide strings to UTF-8
index ed0689a..f0616c0 100644 (file)
@@ -280,7 +280,7 @@ BOOL CMainWindow::RemoveSelectedAppFromRegistry()
         CInstalledApplicationInfo *InstalledApp = (CInstalledApplicationInfo *)m_ApplicationView->GetFocusedItemData();
         if (!InstalledApp)
             return FALSE;
-        
+
         LSTATUS Result = InstalledApp->RemoveFromRegistry();
         if (Result != ERROR_SUCCESS)
         {
@@ -488,7 +488,7 @@ BOOL CMainWindow::ProcessWindowMessage(HWND hwnd, UINT Msg, WPARAM wParam, LPARA
         if (wParam == SEARCH_TIMER_ID)
         {
             ::KillTimer(hwnd, SEARCH_TIMER_ID);
-            
+
             UpdateApplicationsList(-1);
         }
         break;
@@ -688,7 +688,7 @@ VOID CMainWindow::UpdateApplicationsList(INT EnumType)
         // set the display type of application-view. this will remove all the item in application-view too.
         m_ApplicationView->SetDisplayAppType(AppViewTypeInstalledApps);
 
-        // enum installed softwares 
+        // enum installed softwares
         m_InstalledApps.Enum(EnumType, s_EnumInstalledAppProc, this);
     }
     else if (IsAvailableEnum(EnumType))
@@ -696,7 +696,7 @@ VOID CMainWindow::UpdateApplicationsList(INT EnumType)
         // set the display type of application-view. this will remove all the item in application-view too.
         m_ApplicationView->SetDisplayAppType(AppViewTypeAvailableApps);
 
-        // enum available softwares 
+        // enum available softwares
         m_AvailableApps.Enum(EnumType, s_EnumAvailableAppProc, this);
     }
     m_ApplicationView->SetRedraw(TRUE);
@@ -832,7 +832,7 @@ void CMainWindow::HandleTabOrder(int direction)
     m_TreeView->AppendTabOrderWindow(direction, TabOrderHwndList);
     m_ApplicationView->AppendTabOrderWindow(direction, TabOrderHwndList);
 
-    
+
     if (TabOrderHwndList.GetSize() == 0)
     {
         // in case the list is empty
index 02781fd..6b7bdce 100644 (file)
@@ -12,7 +12,7 @@ enum ASYNC_EVENT
     ASYNCINET_CANCELLED,      // wParam and lParam are not used.
                               // when receiving this, AsyncInet will be free soon and should not used anymore
 
-    ASYNCINET_ERROR           // wParam is not used. lParam specify the error code (if there is one). 
+    ASYNCINET_ERROR           // wParam is not used. lParam specify the error code (if there is one).
                               // when receiving this, AsyncInet will be free soon and should not used anymore
 };
 
index 51e32c0..c478a89 100644 (file)
@@ -54,7 +54,7 @@ public:
     ATL::CSimpleArray<LCID> m_LanguageLCIDs;
     ATL::CSimpleArray<ATL::CStringW> m_szScrnshotLocation;
     ATL::CStringW m_szIconLocation;
-    ATL::CStringW m_szPkgName; // software's package name. 
+    ATL::CStringW m_szPkgName; // software's package name.
 
     ULONG m_SizeBytes;
 
index 6561ab3..eaec442 100644 (file)
@@ -320,7 +320,6 @@ BOOL CInstalledApps::Enum(INT EnumType, APPENUMPROC lpEnumProc, PVOID param)
         szKeyName.ReleaseBuffer();
         RegCloseKey(hKey);
     }
-    
 
     return TRUE;
 }
index 50f69fa..8fda86e 100644 (file)
@@ -54,13 +54,13 @@ BOOL IsUrlValid(const WCHAR * Url)
     URL_COMPONENTSW UrlComponmentInfo = { 0 };
     UrlComponmentInfo.dwStructSize = sizeof(UrlComponmentInfo);
     UrlComponmentInfo.dwSchemeLength = 1;
-    
+
     BOOL bSuccess = InternetCrackUrlW(Url, wcslen(Url), 0, &UrlComponmentInfo);
     if(!bSuccess)
     {
         return FALSE;
     }
-    
+
     switch(UrlComponmentInfo.nScheme)
     {
         case INTERNET_SCHEME_HTTP:
@@ -69,7 +69,7 @@ BOOL IsUrlValid(const WCHAR * Url)
         case INTERNET_SCHEME_FILE:
         // supported
             return TRUE;
-            
+
         default:
             return FALSE;
     }
@@ -104,9 +104,9 @@ namespace
             EnableWindow(GetDlgItem(hDlg, IDC_PROXY_SERVER), FALSE);
             EnableWindow(GetDlgItem(hDlg, IDC_NO_PROXY_FOR), FALSE);
         }
-        
+
         CheckRadioButton(hDlg, IDC_SOURCE_DEFAULT, IDC_USE_SOURCE, Info->bUseSource ? IDC_USE_SOURCE : IDC_SOURCE_DEFAULT);
-        
+
         EnableWindow(GetDlgItem(hDlg, IDC_SOURCE_URL), Info->bUseSource);
 
         SetWindowTextW(GetDlgItem(hDlg, IDC_SOURCE_URL), Info->szSourceURL);
@@ -153,12 +153,12 @@ namespace
                 NewSettingsInfo.bUseSource = FALSE;
                 EnableWindow(GetDlgItem(hDlg, IDC_SOURCE_URL), NewSettingsInfo.bUseSource);
                 break;
-                
+
             case IDC_USE_SOURCE:
                 NewSettingsInfo.bUseSource = TRUE;
                 EnableWindow(GetDlgItem(hDlg, IDC_SOURCE_URL), NewSettingsInfo.bUseSource);
                 break;
-                
+
             case IDC_PROXY_DEFAULT:
                 NewSettingsInfo.Proxy = 0;
                 EnableWindow(GetDlgItem(hDlg, IDC_PROXY_SERVER), FALSE);
@@ -241,13 +241,13 @@ namespace
                         break;
                     }
                 }
-                
-                
+
+
                 if(NewSettingsInfo.bUseSource && !IsUrlValid(szSource.GetString()))
                 {
                     ATL::CStringW szMsgText;
                     szMsgText.LoadStringW(IDS_URL_INVALID);
-                    
+
                     MessageBoxW(hDlg, szMsgText.GetString(), NULL, 0);
                     SetFocus(GetDlgItem(hDlg, IDC_SOURCE_URL));
                     break;
index c8604ca..894bbb4 100644 (file)
@@ -61,7 +61,7 @@ VOID InitializeGDIPlus(BOOL bInitialize)
 INT WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, INT nShowCmd)
 {
     BOOL bIsFirstLaunch;
-    
+
     InitializeAtlModule(hInstance, TRUE);
     InitializeGDIPlus(TRUE);
 
@@ -83,7 +83,7 @@ INT WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
 
     // parse cmd-line and perform the corresponding operation
     BOOL bSuccess = ParseCmdAndExecute(GetCommandLineW(), bIsFirstLaunch, SW_SHOWNORMAL);
-    
+
     InitializeGDIPlus(FALSE);
     InitializeAtlModule(GetModuleHandle(NULL), FALSE);
 
index a10f11e..977d8ce 100644 (file)
@@ -262,7 +262,7 @@ UpdateAddress(HTREEITEM hItem, HKEY hRootKey, LPCWSTR pszPath)
                 swprintf(fullPath, L"%s%s%s", rootName, keyPath[0]==L'\\'?L"":L"\\", keyPath);
             else
                 fullPath = wcscpy(fullPath, rootName);
-             
+
             SendMessageW(hStatusBar, SB_SETTEXTW, 0, (LPARAM)fullPath);
             SendMessageW(g_pChildWnd->hAddressBarWnd, WM_SETTEXT, 0, (LPARAM)fullPath);
             HeapFree(GetProcessHeap(), 0, fullPath);
@@ -477,14 +477,14 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
 
     case WM_NOTIFY:
         if (g_pChildWnd == NULL) break;
-                
+
         if (((LPNMHDR)lParam)->idFrom == TREE_WINDOW)
         {
             if (!TreeWndNotifyProc(g_pChildWnd->hListWnd, wParam, lParam, &Result))
             {
                 goto def;
             }
-            
+
             return Result;
         }
         else
@@ -502,7 +502,7 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
             {
                 goto def;
             }
-        }        
+        }
         break;
 
     case WM_CONTEXTMENU:
index b7b4563..bcd37af 100644 (file)
@@ -626,16 +626,16 @@ done:
 }
 
 BOOL TreeWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result)
-{    
+{
     UNREFERENCED_PARAMETER(wParam);
     *Result = TRUE;
-    
+
     switch (((LPNMHDR)lParam)->code)
     {
         case TVN_ITEMEXPANDING:
             *Result = !OnTreeExpanding(g_pChildWnd->hTreeWnd, (NMTREEVIEW*)lParam);
             return TRUE;
-        case TVN_SELCHANGED:    
+        case TVN_SELCHANGED:
         {
             NMTREEVIEW* pnmtv = (NMTREEVIEW*)lParam;
             /* Get the parent of the current item */
@@ -655,7 +655,7 @@ BOOL TreeWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result)
                 EnableMenuItem(hMenuFrame , ID_EDIT_DELETE, MF_BYCOMMAND | MF_GRAYED);
                 EnableMenuItem(hMenuFrame , ID_EDIT_RENAME, MF_BYCOMMAND | MF_GRAYED);
                 EnableMenuItem(hPopupMenus, ID_TREE_DELETE, MF_BYCOMMAND | MF_GRAYED);
-                EnableMenuItem(hPopupMenus, ID_TREE_RENAME, MF_BYCOMMAND | MF_GRAYED); 
+                EnableMenuItem(hPopupMenus, ID_TREE_RENAME, MF_BYCOMMAND | MF_GRAYED);
             }
             else
             {
@@ -686,7 +686,7 @@ BOOL TreeWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result)
             return TRUE;
         }
         case TVN_ENDLABELEDIT:
-        {    
+        {
             LPCWSTR keyPath;
             HKEY hRootKey;
             HKEY hKey = NULL;
@@ -747,7 +747,7 @@ HWND CreateTreeView(HWND hwndParent, LPWSTR pHostName, HMENU id)
                             0, 0, rcClient.right, rcClient.bottom,
                             hwndParent, id, hInst, NULL);
     if (!hwndTV) return NULL;
-    
+
     /* Initialize the image list, and add items to the control.  */
     if (!InitTreeViewImageLists(hwndTV) || !InitTreeViewItems(hwndTV, pHostName))
     {
index 6703533..2fee665 100644 (file)
@@ -2,7 +2,7 @@
  * PROJECT:     ReactOS Services
  * LICENSE:     GPL - See COPYING in the top level directory
  * FILE:        base/applications/sc/depend.c
- * PURPOSE:     
+ * PURPOSE:
  * COPYRIGHT:   Copyright 2016 Eric Kohl
  *
  */
index f662cde..9839350 100644 (file)
@@ -2,7 +2,7 @@
  * PROJECT:     ReactOS Services
  * LICENSE:     GPL - See COPYING in the top level directory
  * FILE:        base/applications/sc/name.c
- * PURPOSE:     
+ * PURPOSE:
  * COPYRIGHT:   Copyright 2016 Eric Kohl
  *
  */
index a64e325..c1f908c 100644 (file)
@@ -181,7 +181,7 @@ GLvoid InitGL(GLsizei Width, GLsizei Height)
 }
 
 // Handles Window Resizing
-GLvoid ReSizeGLScene(GLsizei Width, GLsizei Height)    
+GLvoid ReSizeGLScene(GLsizei Width, GLsizei Height)
 {
     // Is Window Too Small (Divide By Zero Error)
     if (Height == 0)
index e83941d..20e66f2 100644 (file)
@@ -84,8 +84,8 @@ ScreenSaverProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
         }
         case WM_PAINT:
         {
-             BITMAP bm; /* Bitmap structure as seen in bmWidth & bmHeight */ 
-             PAINTSTRUCT ps; 
+             BITMAP bm; /* Bitmap structure as seen in bmWidth & bmHeight */
+             PAINTSTRUCT ps;
              HDC hdc;
              HDC hdcMem;
              HBITMAP hbmOld;
@@ -93,9 +93,9 @@ ScreenSaverProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
              // Obtain window coordinates.
              GetClientRect (hWnd, &rect);
 
-             hdc = BeginPaint(hWnd, &ps); 
-             hdcMem = CreateCompatibleDC(hdc); 
-             hbmOld = SelectObject(hdcMem, bitmap); 
+             hdc = BeginPaint(hWnd, &ps);
+             hdcMem = CreateCompatibleDC(hdc);
+             hbmOld = SelectObject(hdcMem, bitmap);
 
              GetObject(bitmap, sizeof(bm), &bm);
 
@@ -118,19 +118,19 @@ ScreenSaverProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
              else
              {
                  BitBlt(
-                     hdc, 
+                     hdc,
                      RANDOM (0, rect.right - bm.bmWidth),
                      RANDOM (0, rect.bottom - bm.bmHeight),
-                     bm.bmWidth, 
-                     bm.bmHeight, 
-                     hdcMem, 
-                     0, 
-                     0, 
-                     SRCCOPY); 
+                     bm.bmWidth,
+                     bm.bmHeight,
+                     hdcMem,
+                     0,
+                     0,
+                     SRCCOPY);
              }
 
-             SelectObject(hdcMem, hbmOld); 
-             DeleteDC(hdcMem); 
+             SelectObject(hdcMem, hbmOld);
+             DeleteDC(hdcMem);
 
              EndPaint(hWnd, &ps);
              break;
index 0162608..f6ca0f6 100644 (file)
@@ -122,7 +122,7 @@ AddUninstallKey(
             goto end;
         }
     }
-    
+
     // Full path to sdbinst.exe
     hres = StringCchCatW(sdbinstPath, MAX_PATH, L"System32\\sdbinst.exe");
     if (FAILED(hres))
@@ -172,7 +172,7 @@ AddUninstallKey(
         goto end;
     }
 
-    // Uninstall full string 
+    // Uninstall full string
     hres = StringCchPrintfW(uninstString, MAX_PATH, L"%ls -u \"%ls\"", sdbinstPath, sdbInstalledPath);
     if (FAILED(hres))
     {
@@ -244,7 +244,7 @@ ProcessLayers(
     TAGID prevTagLayer = 0;
 
     TAGID tagLayer = SdbFindFirstTag(pdb, tagDb, TAG_LAYER);
-    
+
     // Add all layers to registry (AppCompatFlags)
     while (tagLayer && (tagLayer != prevTagLayer))
     {
@@ -430,7 +430,7 @@ SdbInstall(
     }
 
     // Get database GUID
-    if (!GetSdbGuid(pdb, tagDb, &dbGuid))    
+    if (!GetSdbGuid(pdb, tagDb, &dbGuid))
     {
         wprintf(L"GetSdbGuid error\n");
         goto end;
@@ -452,7 +452,7 @@ SdbInstall(
         wprintf(L"Can't get tag name\n");
         goto end;
     }
-    
+
     LPWSTR dbName = SdbGetStringTagPtr(pdb, tagDbName);
     wprintf(L"Database name %ls\n", dbName);
 
@@ -709,7 +709,7 @@ SdbUninstallByGuid(
     }
 
     res = SdbUninstall(dbPath);
-    
+
 end:
     if (hKey)
     {
@@ -732,7 +732,7 @@ SdbUninstallByName(
     LSTATUS status;
     HKEY hKey = NULL;
     HKEY subKey = NULL;
-    DWORD index = 0;    
+    DWORD index = 0;
     WCHAR keyName[MAX_PATH];
     DWORD keyNameLen = ARRAYSIZE(keyName);
     DWORD keyValSize;
@@ -790,7 +790,7 @@ SdbUninstallByName(
 
         ++index;
         keyNameLen = ARRAYSIZE(keyName);
-        status = RegEnumKeyExW(hKey, index, keyName, &keyNameLen, NULL, NULL, NULL, NULL);        
+        status = RegEnumKeyExW(hKey, index, keyName, &keyNameLen, NULL, NULL, NULL, NULL);
     }
 
     RegCloseKey(hKey);
@@ -831,7 +831,7 @@ int _tmain(int argc, LPWSTR argv[])
         ShowHelp();
     }
 
-    for (int i = 1; i < argc; ++i) 
+    for (int i = 1; i < argc; ++i)
     {
         if (argv[i][0] != L'-')
         {
index 0c1a0e9..57bc60e 100644 (file)
@@ -34,7 +34,7 @@ INT_PTR CALLBACK ShutdownGuiProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpar
         default:
             return FALSE;
     }
-    
+
     return TRUE;
 }
 
index f4c403d..382de2a 100644 (file)
@@ -122,7 +122,7 @@ ParseArguments(struct CommandLineOptions* pOpts, int argc, WCHAR *argv[])
                     if (index+1 >= argc)
                         return ERROR_INVALID_DATA;
                     pOpts->shutdown_delay = _wtoi(argv[index+1]);
-                    if (pOpts->shutdown_delay > 0) 
+                    if (pOpts->shutdown_delay > 0)
                         pOpts->force = TRUE;
                     index++;
                     break;
@@ -232,7 +232,7 @@ int wmain(int argc, WCHAR *argv[])
 
     /*
      * If the user wants to hibernate the computer. Assume
-     * that the user wants to wake the computer up from 
+     * that the user wants to wake the computer up from
      * hibernation and it should not force it on the system.
      */
     if (opts.hibernate)
@@ -240,13 +240,13 @@ int wmain(int argc, WCHAR *argv[])
         if (IsPwrHibernateAllowed())
         {
             EnablePrivilege(SE_SHUTDOWN_NAME, TRUE);
-            
+
             /* The shutdown utility cannot hibernate remote systems */
             if (opts.remote_system != NULL)
             {
                 return EXIT_FAILURE;
             }
-        
+
             if (!SetSuspendState(TRUE, FALSE, FALSE))
             {
                 ConResPuts(StdErr, IDS_ERROR_HIBERNATE);
@@ -350,7 +350,7 @@ int wmain(int argc, WCHAR *argv[])
                 ConResPuts(StdErr, IDS_ERROR_RESTART);
             else
                 ConResPuts(StdErr, IDS_ERROR_SHUTDOWN);
-            
+
             DisplayError(GetLastError());
             return EXIT_FAILURE;
         }
index 67d0e67..ccdfc7f 100644 (file)
@@ -12,7 +12,7 @@ _AUDIO_NAMESPACE_START_
 
 /* Protected Functions */
 
-void 
+void
 audio_membuffer::alloc_mem_(unsigned int bytes)
 {
     /* Some checking */
@@ -79,7 +79,7 @@ audio_membuffer::resize_mem_(unsigned int new_size)
         buffer_resized(new_size);
 }
 
-void 
+void
 audio_membuffer::truncate_(void)
 {
     /* If `buf_size' is already = to the `bytes_received' of audio data,
@@ -113,7 +113,7 @@ audio_membuffer::clear(void)
     bytes_received = 0;
 }
 
-void 
+void
 audio_membuffer::reset(void)
 {
     /* Frees memory and reset to initial state */
@@ -122,37 +122,37 @@ audio_membuffer::reset(void)
     alloc_mem_(init_size);
 }
 
-void 
+void
 audio_membuffer::alloc_bytes(unsigned int bytes)
 {
     alloc_mem_(bytes);
 }
 
-void 
+void
 audio_membuffer::alloc_seconds(unsigned int secs)
 {
     alloc_mem_(aud_info.byte_rate() * secs);
 }
 
-void 
+void
 audio_membuffer::alloc_seconds(float secs)
 {
     alloc_mem_((unsigned int)((float)aud_info.byte_rate() * secs));
 }
 
-void 
+void
 audio_membuffer::resize_bytes(unsigned int bytes)
 {
     resize_mem_(bytes);
 }
 
-void 
+void
 audio_membuffer::resize_seconds(unsigned int secs)
 {
     resize_mem_(aud_info.byte_rate() * secs);
 }
 
-void 
+void
 audio_membuffer::resize_seconds(float secs)
 {
     resize_mem_((unsigned int)((float)aud_info.byte_rate() * secs));
@@ -160,7 +160,7 @@ audio_membuffer::resize_seconds(float secs)
 
 /* Inherited Functions */
 
-void 
+void
 audio_membuffer::audio_receive(unsigned char *data, unsigned int size)
 {
     /* If there isn't a buffer, allocs memory for it of size*2, and copies audio data arrival */
@@ -196,7 +196,7 @@ audio_membuffer::audio_receive(unsigned char *data, unsigned int size)
         audio_arrival(aud_info.samples_in_bytes(size));
 }
 
-unsigned int 
+unsigned int
 audio_membuffer::read(BYTE *out_buf, unsigned int bytes)
 {
     /* Some checking */
index ddca7db..d92c275 100644 (file)
@@ -25,7 +25,7 @@ audio_resampler_acm::init_(void)
     wformat_src.cbSize = sizeof(WAVEFORMATEX);
     wformat_dst.cbSize = sizeof(WAVEFORMATEX);
 
-    /* Setting WAVEFORMATEX structure parameters 
+    /* Setting WAVEFORMATEX structure parameters
        according to `audio_format' in/out classes */
 
     wformat_src.wFormatTag = WAVE_FORMAT_PCM;
@@ -189,7 +189,7 @@ audio_resampler_acm::close(void)
     /* ACM sream successfully closed */
 }
 
-void 
+void
 audio_resampler_acm::audio_receive(unsigned char *data, unsigned int size)
 {
     MMRESULT err;
index 839f673..99f0fa8 100644 (file)
@@ -50,7 +50,7 @@ audio_wavein::alloc_buffers_mem_(unsigned int buffs, float secs)
     mb_size = tot_size;
 }
 
-void 
+void
 audio_wavein::free_buffers_mem_(void)
 {
     /* Frees memory */
@@ -65,7 +65,7 @@ audio_wavein::free_buffers_mem_(void)
     wave_headers = 0;
 }
 
-void 
+void
 audio_wavein::init_headers_(void)
 {
     /* If there is no memory for memory or headers, simply return */
@@ -85,7 +85,7 @@ audio_wavein::init_headers_(void)
     }
 }
 
-void 
+void
 audio_wavein::prep_headers_(void)
 {
     MMRESULT err;
@@ -108,7 +108,7 @@ audio_wavein::prep_headers_(void)
         MessageBox(0, TEXT("waveInPrepareHeader Error."), 0, 0);
 }
 
-void 
+void
 audio_wavein::unprep_headers_(void)
 {
     MMRESULT err;
@@ -131,7 +131,7 @@ audio_wavein::unprep_headers_(void)
         MessageBox(0, TEXT("waveInUnPrepareHeader Error."), 0, 0);
 }
 
-void 
+void
 audio_wavein::add_buffers_to_driver_(void)
 {
     MMRESULT err;
@@ -155,7 +155,7 @@ audio_wavein::add_buffers_to_driver_(void)
 }
 
 void
-audio_wavein::close(void) 
+audio_wavein::close(void)
 {
     /* If wavein object is already in the status NOTREADY, nothing to do */
     if (status == WAVEIN_NOTREADY)
@@ -340,7 +340,7 @@ audio_wavein::stop_recording(void)
     status = WAVEIN_STOP;
 }
 
-DWORD WINAPI 
+DWORD WINAPI
 audio_wavein::recording_procedure(LPVOID arg)
 {
     MSG msg;
index 44832d8..b31477f 100644 (file)
@@ -123,7 +123,7 @@ class audio_wavein
                 return;
 
             /* Set seconds length for each buffer */
-            buf_secs = bsecs; 
+            buf_secs = bsecs;
         }
 
         unsigned int total_buffers(void) const
@@ -181,7 +181,7 @@ class audio_wavein
                 svalue = (unsigned int)abs(*((short *)(main_buffer + aud_info.bytes_in_samples(nsamp))));
             else if (aud_info.bits() == 8)
                svalue = (unsigned int)((ptrdiff_t) *(main_buffer + aud_info.bytes_in_samples(nsamp)));
-            else 
+            else
                 svalue = 0;
 
             return svalue;
index 0814e85..dfbf5f7 100644 (file)
@@ -22,7 +22,7 @@ audio_waveout::init_(void)
     status = WAVEOUT_NOTREADY;
 }
 
-void 
+void
 audio_waveout::alloc_buffers_mem_(unsigned int buffs, float secs)
 {
     unsigned int onebuf_size = 0, tot_size = 0;
@@ -35,7 +35,7 @@ audio_waveout::alloc_buffers_mem_(unsigned int buffs, float secs)
         delete[] wave_headers;
 
     /* Calcs size of the buffers */
-    onebuf_size = (unsigned int)((float)aud_info.byte_rate() * secs); 
+    onebuf_size = (unsigned int)((float)aud_info.byte_rate() * secs);
     tot_size = onebuf_size * buffs;
     /* Allocs memory for the audio buffers */
     main_buffer = new BYTE[tot_size];
@@ -48,7 +48,7 @@ audio_waveout::alloc_buffers_mem_(unsigned int buffs, float secs)
     mb_size = tot_size;
 }
 
-void 
+void
 audio_waveout::init_headers_(void)
 {
     /* If there is no memory for memory or headers, simply return */
@@ -80,7 +80,7 @@ audio_waveout::init_headers_(void)
     }
 }
 
-void 
+void
 audio_waveout::prep_headers_(void)
 {
     MMRESULT err;
@@ -105,7 +105,7 @@ audio_waveout::prep_headers_(void)
     }
 }
 
-void 
+void
 audio_waveout::unprep_headers_(void)
 {
     MMRESULT err;
@@ -130,7 +130,7 @@ audio_waveout::unprep_headers_(void)
     }
 }
 
-void 
+void
 audio_waveout::free_buffers_mem_(void)
 {
     /* Frees memory */
@@ -144,7 +144,7 @@ audio_waveout::free_buffers_mem_(void)
     wave_headers = 0;
 }
 
-void 
+void
 audio_waveout::open(void)
 {
     MMRESULT err;
@@ -214,7 +214,7 @@ audio_waveout::open(void)
     status = WAVEOUT_READY;
 }
 
-void 
+void
 audio_waveout::play(void)
 {
     MMRESULT err;
@@ -268,7 +268,7 @@ audio_waveout::play(void)
     }
 }
 
-void 
+void
 audio_waveout::pause(void)
 {
     MMRESULT err;
@@ -288,7 +288,7 @@ audio_waveout::pause(void)
     }
 }
 
-void 
+void
 audio_waveout::stop(void)
 {
     MMRESULT err;
@@ -344,7 +344,7 @@ audio_waveout::close(void)
     free_buffers_mem_();
 }
 
-DWORD WINAPI 
+DWORD WINAPI
 audio_waveout::playing_procedure(LPVOID arg)
 {
     MSG msg;
index cf3fd06..f95c109 100644 (file)
@@ -117,7 +117,7 @@ class audio_waveout
                 return (unsigned int)65535;
             else if (aud_info.bits() == 8)
                 return (unsigned int)255;
-            else 
+            else
                 return 0;
         }
 
@@ -134,7 +134,7 @@ class audio_waveout
                 svalue = (unsigned int)abs(*((short *)(main_buffer + aud_info.bytes_in_samples(nsamp))));
             else if (aud_info.bits() == 8)
                svalue = (unsigned int)((ptrdiff_t) *(main_buffer + aud_info.bytes_in_samples(nsamp)));
-            else 
+            else
                 svalue = 0;
 
             return svalue;
index 86bbbe6..c11a9a4 100644 (file)
@@ -209,7 +209,7 @@ LoadXYCoordWnd(IN PPREFERENCES_CONTEXT PrefContext)
 
     /* Cache the Y coordinate point */
     PrefContext->MixerWindow->WndPosY = dwData;
-    
+
     RegCloseKey(hKey);
     return TRUE;
 }
@@ -222,7 +222,7 @@ SaveXYCoordWnd(IN HWND hWnd,
     LONG lResult;
     TCHAR DeviceMixerSettings[256];
     WINDOWPLACEMENT wp;
-    
+
     /* Get the placement coordinate data from the window */
     wp.length = sizeof(WINDOWPLACEMENT);
     GetWindowPlacement(hWnd, &wp);
index e39fceb..426f5a9 100644 (file)
@@ -340,7 +340,7 @@ UpdatePrefDlgControls(PPREFERENCES_CONTEXT Context,
     }
 }
 
-static 
+static
 VOID
 WriteLineSettings(PPREFERENCES_CONTEXT Context, HWND hwndDlg)
 {
@@ -576,11 +576,11 @@ DlgPreferencesProc(HWND hwndDlg,
                       IDCANCEL);
             break;
         }
-        
+
         case WM_SYSCOLORCHANGE:
         {
             HWND hwndControls;
-            
+
             /* Forward WM_SYSCOLORCHANGE */
             hwndControls = GetDlgItem(hwndDlg, IDC_CONTROLS);
             SendMessage(hwndControls, WM_SYSCOLORCHANGE, 0, 0);
@@ -1342,7 +1342,7 @@ CreateApplicationWindow(
         hWnd = CreateWindowEx(WS_EX_WINDOWEDGE | WS_EX_CONTROLPARENT,
                               SZ_APP_CLASS,
                               lpAppTitle,
-                              WS_DLGFRAME | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE, 
+                              WS_DLGFRAME | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE,
                               0, 0, 300, 315,
                               NULL,
                               LoadMenu(hAppInstance,
index 81ae85b..cf4c063 100644 (file)
@@ -486,7 +486,7 @@ void AddOrUpdateHwnd(HWND hWnd, WCHAR *szTitle, HICON hIcon, BOOL bHung)
     }
 
     /* Select first item if any */
-    if ((ListView_GetNextItem(hApplicationPageListCtrl, -1, LVNI_FOCUSED | LVNI_SELECTED) == -1) && 
+    if ((ListView_GetNextItem(hApplicationPageListCtrl, -1, LVNI_FOCUSED | LVNI_SELECTED) == -1) &&
         (ListView_GetItemCount(hApplicationPageListCtrl) > 0) && !bApplicationPageSelectionMade)
     {
         ListView_SetItemState(hApplicationPageListCtrl, 0, LVIS_FOCUSED | LVIS_SELECTED, LVIS_FOCUSED | LVIS_SELECTED);
index 28e14a9..692c1bd 100644 (file)
@@ -478,7 +478,7 @@ void UpdateProcesses()
     SendMessage(hProcessPageListCtrl, WM_SETREDRAW, TRUE, 0);
 
     /* Select first item if any */
-    if ((ListView_GetNextItem(hProcessPageListCtrl, -1, LVNI_FOCUSED | LVNI_SELECTED) == -1) && 
+    if ((ListView_GetNextItem(hProcessPageListCtrl, -1, LVNI_FOCUSED | LVNI_SELECTED) == -1) &&
         (ListView_GetItemCount(hProcessPageListCtrl) > 0) && !bProcessPageSelectionMade)
     {
         ListView_SetItemState(hProcessPageListCtrl, 0, LVIS_FOCUSED | LVIS_SELECTED, LVIS_FOCUSED | LVIS_SELECTED);
@@ -492,7 +492,7 @@ void UpdateProcesses()
     */
 }
 
-BOOL ProcessRunning(ULONG ProcessId) 
+BOOL ProcessRunning(ULONG ProcessId)
 {
     HANDLE hProcess;
     DWORD exitCode;
index 113d3c2..1708c12 100644 (file)
@@ -56,7 +56,7 @@ TASKMANAGER_SETTINGS TaskManagerSettings;
 // http://www.catch22.net/software/winspy
 // Copyright (c) 2002 by J Brown
 //
+
 //
 //     Copied from uxtheme.h
 //  If you have this new header, then delete these and
@@ -67,7 +67,7 @@ TASKMANAGER_SETTINGS TaskManagerSettings;
 #define ETDT_USETABTEXTURE  0x00000004
 #define ETDT_ENABLETAB      (ETDT_ENABLE  | ETDT_USETABTEXTURE)
 
-// 
+//
 typedef HRESULT (WINAPI * ETDTProc) (HWND, DWORD);
 
 //
@@ -82,7 +82,7 @@ BOOL EnableDialogTheme(HWND hwnd)
 
     if(hUXTheme)
     {
-        fnEnableThemeDialogTexture = 
+        fnEnableThemeDialogTexture =
             (ETDTProc)GetProcAddress(hUXTheme, "EnableThemeDialogTexture");
 
         if(fnEnableThemeDialogTexture)
index f2c7e2e..3d301f2 100644 (file)
@@ -145,7 +145,7 @@ BOOL DlgInitHandler(IN HWND hDlg)
 
     /* Refresh the list */
     ListBoxRefreshContents();
-    
+
     /* Create a timer, we'll use it to control the state of our items in the listbox */
     Globals.iTimer = SetTimer(hDlg, 0, 400, NULL);
 
index 6e87e32..1c0b820 100644 (file)
@@ -2662,7 +2662,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
                                           'T','A','B','L','E','\0'};
 
     InitCommonControlsEx(&classes);
-    
+
     switch (GetUserDefaultUILanguage())
     {
         case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
index 37c9d24..6305f84 100644 (file)
@@ -16,23 +16,23 @@ Global\AudioDeviceList
 This file appears to contain a list of devices that WinMM accesses and
 subsequently passes to wdmaud.drv
 
-It is not necessary to duplicate the exact structure of this mapped 
+It is not necessary to duplicate the exact structure of this mapped
 file, since it appears to only be used internally by Windows components.
 
-The ROS Audio Service (AudioSrv) is intended to be able to run 
-alongside the Windows Audio Service on XP/Vista, so it should be 
+The ROS Audio Service (AudioSrv) is intended to be able to run
+alongside the Windows Audio Service on XP/Vista, so it should be
 possible to test in a "known working environment" ;)
 
 It will create a mutex, to:
 1) Allow synchronization when accessing the device list
 2) Provide a simple method of identifying if AudioSrv is running
 
-(It might be worth using an event to notify WinMM when things are 
+(It might be worth using an event to notify WinMM when things are
 happening?)
 
-The intention is to make AudioSrv receive PnP notifications for 
-relevant audio devices, and also let AudioSrv in Windows do this. Then 
-it should be possible to create a small application that imitates 
+The intention is to make AudioSrv receive PnP notifications for
+relevant audio devices, and also let AudioSrv in Windows do this. Then
+it should be possible to create a small application that imitates
 WinMM's actions :)
 
 
index 46d09eb..0854d69 100644 (file)
@@ -73,9 +73,9 @@ AppendAudioDeviceToList(PnP_AudioDevice* device)
     if (audio_device_list->size + device_info_size > audio_device_list->max_size)
     {
         /*printf("max_size would be exceeded! Failing...\n");*/
-        
+
         UnlockAudioDeviceList();
-        
+
         return FALSE;
     }
 
index 604d215..add998f 100644 (file)
@@ -3,7 +3,7 @@ add_definitions(-Dtzset=_tzset)
 include_directories(include)
 spec2def(dhcpcsvc.dll dhcpcsvc.spec ADD_IMPORTLIB)
 
-list(APPEND SOURCE 
+list(APPEND SOURCE
     dhcp/adapter.c
     dhcp/alloc.c
     dhcp/api.c
index 65f6203..ef839dc 100644 (file)
@@ -172,7 +172,7 @@ BOOL PrepareAdapterForService( PDHCP_ADAPTER Adapter ) {
     {
         /* DHCP enabled by default */
         DhcpEnabled = 1;
-    }           
+    }
 
     if( !DhcpEnabled ) {
         /* Non-automatic case */
@@ -222,7 +222,7 @@ IsReconnectHackNeeded(PDHCP_ADAPTER Adapter, const MIB_IFROW* IfEntry)
     if (Adapter->DhclientInfo.client->state != S_BOUND &&
         Adapter->DhclientInfo.client->state != S_STATIC)
         return FALSE;
-    
+
     ApiUnlock();
 
     Orig = AdapterInfo = HeapAlloc(GetProcessHeap(), 0, sizeof(IP_ADAPTER_INFO));
@@ -397,7 +397,7 @@ DWORD WINAPI AdapterDiscoveryThread(LPVOID Context) {
                         socket( AF_INET, SOCK_DGRAM, IPPROTO_UDP );
 
                     if (DhcpSocket != INVALID_SOCKET) {
-                                               
+
                                                /* Allow broadcast on this socket */
                                                Broadcast = 1;
                                                setsockopt(DhcpSocket,
@@ -405,7 +405,7 @@ DWORD WINAPI AdapterDiscoveryThread(LPVOID Context) {
                                                                   SO_BROADCAST,
                                                                   (const char *)&Broadcast,
                                                                   sizeof(Broadcast));
-                                               
+
                         Adapter->ListenAddr.sin_family = AF_INET;
                         Adapter->ListenAddr.sin_port = htons(LOCAL_PORT);
                         Adapter->BindStatus =
index 28d19ca..0a21412 100644 (file)
@@ -185,7 +185,7 @@ DWORD DSStaticRefreshParams( PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *
             DeleteIpForwardEntry( &Adapter->RouterMib );
             Adapter->RouterMib.dwForwardNextHop = 0;
         }
-        
+
         Adapter->DhclientState.state = S_STATIC;
         proto = find_protocol_by_adapter( &Adapter->DhclientInfo );
         if (proto)
index 819af62..c9c9025 100644 (file)
@@ -51,7 +51,7 @@ DhcpCApiInitialize(LPDWORD Version)
     }
 
     /* Change the pipe into message mode */
-    PipeMode = PIPE_READMODE_MESSAGE; 
+    PipeMode = PIPE_READMODE_MESSAGE;
     if (!SetNamedPipeHandleState(PipeHandle, &PipeMode, NULL, NULL))
     {
         /* Mode change failed */
index c3be82c..9504d30 100644 (file)
@@ -49,7 +49,7 @@ DnsIntCacheFree(VOID)
     DeleteCriticalSection(&DnsCache.Lock);
     DnsCacheInitialized = FALSE;
 }
+
 VOID
 DnsIntCacheRemoveEntryItem(PRESOLVER_CACHE_ENTRY CacheEntry)
 {
@@ -57,7 +57,7 @@ DnsIntCacheRemoveEntryItem(PRESOLVER_CACHE_ENTRY CacheEntry)
 
     /* Remove the entry from the list */
     RemoveEntryList(&CacheEntry->CacheLink);
+
     /* Free record */
     DnsRecordListFree(CacheEntry->Record, DnsFreeRecordList);
 
index a0dd144..3473567 100644 (file)
@@ -2,7 +2,7 @@
 add_rpc_files(server
     ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/epm.idl
     ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/irot.idl)
-    
+
 
 list(APPEND SOURCE
     epmp.c
index a374079..de5bc8b 100644 (file)
@@ -6,9 +6,9 @@
  * PROGRAMMER:       Giannis Adamopoulos
  */
 
-/* 
- * NOTE: 
- * ThemeWaitForServiceReady and ThemeWatchForStart are called from msgina  
+/*
+ * NOTE:
+ * ThemeWaitForServiceReady and ThemeWatchForStart are called from msgina
  * so all the functions in this file run in the context of winlogon
  */
 
@@ -32,7 +32,7 @@ BOOL WINAPI ThemeWatchForStart(VOID);
 
 /* FUNCTIONS *****************************************************************/
 
-static 
+static
 HANDLE
 GetThemeServiceProcessHandle(VOID)
 {
@@ -162,7 +162,7 @@ ThemeWaitForServiceReady(DWORD dwTimeout)
             break;
         }
 
-        if (GetTickCount() - start_time > dwTimeout) 
+        if (GetTickCount() - start_time > dwTimeout)
         {
             break;
         }
index 451d6c2..ca895cd 100644 (file)
@@ -69,7 +69,7 @@ DwInitializeSdFromThreadToken (
     /* Allocate an SD large enough to hold the SIDs for the above */
     dwAlignLength = ALIGN_UP(dwUserLength, ULONG);
     pSd = (PISECURITY_DESCRIPTOR)MemAlloc(0,
-                                          dwAlignLength + 
+                                          dwAlignLength +
                                           dwGroupLength +
                                           sizeof(*pSd));
     if (pSd == NULL) return ERROR_OUTOFMEMORY;
index 262ffcf..7f273c6 100644 (file)
@@ -20,7 +20,7 @@ EchoIncomingPackets(SOCKET sock)
     INT readBytes;
     INT retVal;
 
-    do 
+    do
     {
         readBytes = recv(sock, readBuffer, RECV_BUF, 0);
         if (readBytes > 0)
index 55c3196..904c4f0 100644 (file)
@@ -59,7 +59,7 @@ RetrieveQuote(SOCKET sock)
     {
         DWORD dwSize = GetFileSize(hFile, NULL);
         lpQuotes = (LPSTR)HeapAlloc(GetProcessHeap(), 0, dwSize + 1);
-        if (!lpQuotes) 
+        if (!lpQuotes)
         {
             CloseHandle(hFile);
             return FALSE;
index 7059794..95f69db 100644 (file)
@@ -3229,7 +3229,7 @@ PNP_GetDeviceStatus(
                                0);
     if (ret != CR_SUCCESS)
         ulCapabilities = 0;
-    
+
     if (ulCapabilities & CM_DEVCAP_REMOVABLE)
         *pulStatus |= DN_REMOVABLE;
 
index 010b4b4..d730a58 100644 (file)
@@ -19,7 +19,7 @@ DWORD WINAPI RpcThreadRoutine(LPVOID lpParameter)
     RPC_STATUS Status;
 
     InitializeListHead(&WlanSvcHandleListHead);
-    
+
     Status = RpcServerUseProtseqEpW(L"ncalrpc", 20, L"wlansvc", NULL);
     if (Status != RPC_S_OK)
     {
@@ -81,13 +81,13 @@ DWORD _RpcOpenHandle(
 
     if (dwClientVersion > 2)
         dwClientVersion = 2;
-    
+
     if (dwClientVersion < 1)
         dwClientVersion = 1;
-    
+
     lpWlanSvcHandle->dwClientVersion = dwClientVersion;
     *pdwNegotiatedVersion = dwClientVersion;
-    
+
     InsertTailList(&WlanSvcHandleListHead, &lpWlanSvcHandle->WlanSvcHandleListEntry);
     *phClientHandle = lpWlanSvcHandle;
 
@@ -264,7 +264,7 @@ DWORD _RpcScan(
     {
         return ERROR_INVALID_HANDLE;
     }
-    
+
     /*
     DWORD dwBytesReturned;
     HANDLE hDevice;
index 6ebc080..5ef0d28 100644 (file)
@@ -94,7 +94,7 @@ ServiceMain(DWORD argc, LPTSTR *argv)
     UNREFERENCED_PARAMETER(argv);
 
     DPRINT("WU ServiceMain() called\n");
-    
+
     ServiceStatusHandle = RegisterServiceCtrlHandlerExW(ServiceName,
                                                         ServiceControlHandler,
                                                         NULL);
index 4777c60..14ab64b 100644 (file)
@@ -535,7 +535,7 @@ static MUI_ENTRY euESRepairPageEntries[] =
     {
         6,
         12,
-        "Zuzentzaile funtzioak ez daude artean ezarrita.", 
+        "Zuzentzaile funtzioak ez daude artean ezarrita.",
         TEXT_STYLE_NORMAL,
         TEXT_ID_STATIC
     },
index 16a520c..4668dde 100644 (file)
@@ -3970,7 +3970,7 @@ BootLoaderPage(PINPUT_RECORD Ir)
             CONSOLE_NormalTextXY(8, Line, 60, 1);
 
             Line = 15;
-            
+
             CONSOLE_InvertTextXY(8, Line, 60, 1);
         }
         else if ((Ir->Event.KeyEvent.uChar.AsciiChar == 0x00) &&
@@ -4099,7 +4099,7 @@ BootLoaderFloppyPage(PINPUT_RECORD Ir)
  *  Calls InstallVBRToPartition() if VBR installation is chosen.
  *  Otherwise both InstallVBRToPartition() and InstallMbrBootCodeToDisk()
  *  are called if both MBR and VBR installation is chosen.
- * 
+ *
  * RETURNS
  *   Number of the next page.
  */
index 982965c..82f59ad 100644 (file)
@@ -29,7 +29,7 @@ typedef struct _BATCH_CONTEXT
     char    *mem;       /* batchfile content in memory */
     DWORD   memsize;    /* size of batchfile */
     DWORD   mempos;     /* current position to read from */
-    BOOL    memfree;    /* true if it need to be freed when exitbatch is called */     
+    BOOL    memfree;    /* true if it need to be freed when exitbatch is called */
     TCHAR BatchFilePath[MAX_PATH];
     LPTSTR params;
     LPTSTR raw_params;  /* Holds the raw params given by the input */
index c095ab3..d282900 100644 (file)
@@ -74,7 +74,7 @@ CheckTerminalDeviceType(IN LPCTSTR pszName)
         }
         else
         if ( _wcsnicmp(DeviceName, DosLPTDevice, 3) == 0 ||
-             _wcsnicmp(DeviceName, DosCOMDevice, 3) == 0 || 
+             _wcsnicmp(DeviceName, DosCOMDevice, 3) == 0 ||
              _wcsnicmp(DeviceName, DosPRNDevice, 3) == 0 ||
              _wcsnicmp(DeviceName, DosAUXDevice, 3) == 0 ||
              _wcsnicmp(DeviceName, DosNULDevice, 3) == 0 )
index 2de2a69..f9a20b5 100644 (file)
@@ -1,32 +1,32 @@
 General Overview of How Things Work
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-First it comes into _main in cmd.c(1811).  The command line params are taking in and if it is unicode it uses CommandLineToArgvW.  
-This can cause a problem on older machines and that is why we have our own custom _CommandLineToArgvW to help this along.  
-We pull in the launch directory as the initial dir and set that in _tchdir.  We make a handle to the default console out using CreateFile.  
+First it comes into _main in cmd.c(1811).  The command line params are taking in and if it is unicode it uses CommandLineToArgvW.
+This can cause a problem on older machines and that is why we have our own custom _CommandLineToArgvW to help this along.
+We pull in the launch directory as the initial dir and set that in _tchdir.  We make a handle to the default console out using CreateFile.
 
-Then we call Initialize().  Here we need to load ntdll.dll if it isn't loaded (windows 9x machines). 
-We also setup some global vars like default io handles and nErrorLevel and set %prompt% to $P$G.  
+Then we call Initialize().  Here we need to load ntdll.dll if it isn't loaded (windows 9x machines).
+We also setup some global vars like default io handles and nErrorLevel and set %prompt% to $P$G.
 This is where all command lines switches given to cmd on startup are done.
 
-From here main calls ProcessInput().  This is where cmd loops for getting input and doing the commands.  
-First it checks to see if there is a batch file(note: there is a global struct "bc" which is NULL when not processing a batch file) 
-and if there is it will pull a new line from that file.  If not, then it will wait for input.  
-Currently there is some stuff for set /a in there, which might stay there or see if we can find a better spot. 
-
-Once there is input taken in from the command line it is sent into ParseCommandLine().  
-In here we fist check for aliases and convert if need be.  
-Then we look for redirections using GetRedirection() which will remove any redirection symbols.  
-and pass back info about where to redirect.  
-from this info it will do some switching around with the handles for where things go and send them as need be.  
-personally i dont like this code and i tried to change it before but failed.  
+From here main calls ProcessInput().  This is where cmd loops for getting input and doing the commands.
+First it checks to see if there is a batch file(note: there is a global struct "bc" which is NULL when not processing a batch file)
+and if there is it will pull a new line from that file.  If not, then it will wait for input.
+Currently there is some stuff for set /a in there, which might stay there or see if we can find a better spot.
+
+Once there is input taken in from the command line it is sent into ParseCommandLine().
+In here we fist check for aliases and convert if need be.
+Then we look for redirections using GetRedirection() which will remove any redirection symbols.
+and pass back info about where to redirect.
+from this info it will do some switching around with the handles for where things go and send them as need be.
+personally i dont like this code and i tried to change it before but failed.
 it is confusing to me and i dont understand why a lot of it is there but apparently it is needed.
 
-It sends the new string without any redirection info into DoCommand(). In this function we just look to see what should be done.  
-There is one of 2 things that could happen.  
-1) we fnd the matching command and send it off to that commands little section. 
+It sends the new string without any redirection info into DoCommand(). In this function we just look to see what should be done.
+There is one of 2 things that could happen.
+1) we fnd the matching command and send it off to that commands little section.
 2) we dont find it so we send it to Execute() and see if it is a file that we can do something.
 
-Execute will try to launch the file using createprocess and falls back on shellexecute.  
+Execute will try to launch the file using createprocess and falls back on shellexecute.
 It calls a function called SearchForExecutable() to find the full path name and looks in all the correct locations like PATH,
  current folder, windows folder.  If it cant find it, just fails and prints out a message.
 
index ed2bfa2..a32fb92 100644 (file)
@@ -1,6 +1,6 @@
 Made by Vicmarcal 23/11/08
 
-THIS FILE HELPS TO EXPLAIN HOW REN IS NOW IMPLEMENTED. 
+THIS FILE HELPS TO EXPLAIN HOW REN IS NOW IMPLEMENTED.
 ****************************************************************
 (Please change or add latest modifications)
 ****************************************************************
@@ -14,7 +14,7 @@ ren c:\ie\hello.txt c:\ie\hi.txt
 rename command will change the name of hello.txt->hi.txt. We have to be sure that both paths(c:\ie\ ) be the same.Since rename cant move files within Directories (MSDN).
 
 WAY #2:Semi Path Way:
-ren c:\ie\hello.txt hi.txt 
+ren c:\ie\hello.txt hi.txt
 
 This is a special feature,since this does the same as Way #1 but without telling the Destiny path.So this feature must be implemented also.
 
@@ -35,7 +35,7 @@ So it changes the name of hello.txt in the current directory.
 Explaining code:
 
 
-srcPattern: here is stored Source Argument (C:\ie\hello.txt) 
+srcPattern: here is stored Source Argument (C:\ie\hello.txt)
 srcPath: here  is  stored Source Path(C:\ie)
 srcFILE: here  is  stored FILE name(hello.txt)
 
@@ -43,7 +43,7 @@ dstPattern: here is stored Destiny Argument (C:\ie\hi.txt)
 dstPath: here  is  stored Destiny Path(C:\i)
 dstFILE: here  is  stored FILE re-name(hi.txt)
 
-1)We begin retrieving arguments from command line and fulfilling dstPattern and srcPattern 
+1)We begin retrieving arguments from command line and fulfilling dstPattern and srcPattern
 
 
 2)If srcPattern contains "\" then:
index b7adccb..18e2d66 100644 (file)
@@ -25,7 +25,7 @@ INT_PTR CALLBACK CustomizeNotifyIconsProc(HWND hwnd, UINT Message, WPARAM wParam
     switch(Message)
     {
         case WM_INITDIALOG:
-        
+
         return TRUE;
         case WM_COMMAND:
            switch(LOWORD(wParam))
index 1db8538..86c5b80 100644 (file)
@@ -68,7 +68,7 @@ extern BOOL bExplorerIsShell;
  * explorer.c
  */
 
-static inline 
+static inline
 LONG
 SetWindowStyle(IN HWND hWnd,
                IN LONG dwStyleMask,
@@ -312,14 +312,14 @@ CreateStartMenu(IN ITrayWindow *Tray,
 /*
  * startmnucust.cpp
  */
-VOID 
+VOID
 ShowCustomizeClassic(HINSTANCE, HWND);
 
 /*
 * startmnusite.cpp
 */
 
-HRESULT 
+HRESULT
 CStartMenuSite_CreateInstance(IN OUT ITrayWindow *Tray, const IID & riid, PVOID * ppv);
 
 /*
index 2e74825..5265eb1 100644 (file)
 
 /* Customize Notifications Dialog */
 #define IDC_TASKBARPROP_NOTIREST             1402
-#define IDC_NOTIFICATION_LIST                1005 
+#define IDC_NOTIFICATION_LIST                1005
 #define IDC_NOTIFICATION_BEHAVIOUR           1006
 
 /* Customize classic start menu dialog */
index f47e165..c47993d 100644 (file)
@@ -43,7 +43,7 @@ BOOL TaskbarSettings::Load()
     cbSize = sizeof(dwValue);
     dwRet = SHGetValueW(hkExplorer, L"Advanced", L"TaskbarSizeMove", NULL, &dwValue, &cbSize);
     bLock = (dwRet == ERROR_SUCCESS) ? (dwValue == 0) : TRUE;
-    
+
     dwRet = SHGetValueW(hkExplorer, L"Advanced", L"ShowSeconds", NULL, &dwValue, &cbSize);
     bShowSeconds = (dwRet == ERROR_SUCCESS) ? (dwValue != 0) : FALSE;
 
index 4c3d7ca..a404cb4 100644 (file)
@@ -212,7 +212,7 @@ public:
         return S_OK;
     }
 
-    virtual HRESULT STDMETHODCALLTYPE 
+    virtual HRESULT STDMETHODCALLTYPE
         GetCommandString(UINT_PTR idCmd,
                          UINT uType,
                          UINT *pwReserved,
index a71d3cf..b28e742 100644 (file)
@@ -369,7 +369,7 @@ bool CIconWatcher::AddIconToWatcher(_In_ CONST NOTIFYICONDATA *iconData)
 bool CIconWatcher::RemoveIconFromWatcher(_In_ CONST NOTIFYICONDATA *iconData)
 {
     EnterCriticalSection(&m_ListLock);
-        
+
     IconWatcherData *Icon;
     Icon = GetListEntry(iconData, NULL, true);
 
@@ -717,7 +717,7 @@ BOOL CNotifyToolbar::AddButton(_In_ CONST NOTIFYICONDATA *iconData)
     InternalIconData * notifyItem;
     WCHAR text[] = L"";
 
-    TRACE("Adding icon %d from hWnd %08x flags%s%s state%s%s", 
+    TRACE("Adding icon %d from hWnd %08x flags%s%s state%s%s",
         iconData->uID, iconData->hWnd,
         (iconData->uFlags & NIF_ICON) ? " ICON" : "",
         (iconData->uFlags & NIF_STATE) ? " STATE" : "",
@@ -1243,7 +1243,7 @@ void CNotifyToolbar::Initialize(HWND hWndParent, CBalloonQueue * queue)
 
     SetWindowTheme(m_hWnd, L"TrayNotify", NULL);
 
-    m_ImageList = ImageList_Create(GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), ILC_COLOR32 | ILC_MASK, 0, 1000);        
+    m_ImageList = ImageList_Create(GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), ILC_COLOR32 | ILC_MASK, 0, 1000);
     SetImageList(m_ImageList);
 
     TBMETRICS tbm = {sizeof(tbm)};
@@ -1292,7 +1292,7 @@ LRESULT CSysPagerWnd::OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bH
     HWND hWndTop = GetAncestor(m_hWnd, GA_ROOT);
 
     m_Balloons.Create(hWndTop, TTS_NOPREFIX | TTS_BALLOON | TTS_CLOSE);
-        
+
     TOOLINFOW ti = { 0 };
     ti.cbSize = TTTOOLINFOW_V1_SIZE;
     ti.uFlags = TTF_TRACK | TTF_IDISHWND;
@@ -1380,7 +1380,7 @@ BOOL CSysPagerWnd::NotifyIcon(DWORD dwMessage, _In_ CONST NOTIFYICONDATA *iconDa
 void CSysPagerWnd::GetSize(IN BOOL IsHorizontal, IN PSIZE size)
 {
     /* Get the ideal height or width */
-#if 0 
+#if 0
     /* Unfortunately this doens't work correctly in ros */
     Toolbar.GetIdealSize(!IsHorizontal, size);
 
index d1c6ecd..7d8d2d2 100644 (file)
@@ -86,7 +86,7 @@ public:
     virtual HRESULT STDMETHODCALLTYPE ResizeBorderDW(
         LPCRECT prcBorder,
         IUnknown *punkToolbarSite,
-        BOOL fReserved) 
+        BOOL fReserved)
     {
         /* No need to implement this method */
         return E_NOTIMPL;
@@ -174,7 +174,7 @@ public:
     }
 
     /*****************************************************************************/
-    
+
     virtual HRESULT STDMETHODCALLTYPE SetClient(
         IN IUnknown *punkClient)
     {
index cc289dd..5286aad 100644 (file)
@@ -195,7 +195,7 @@ LRESULT CTrayClockWnd::OnThemeChanged()
     }
     else
     {
-        /* We don't need to set a font here, our parent will use 
+        /* We don't need to set a font here, our parent will use
             * WM_SETFONT to set the right one when themes are not enabled. */
         textColor = RGB(0, 0, 0);
     }
index 00ac0b3..52ceb86 100644 (file)
@@ -46,7 +46,7 @@ static void SetBitmap(HWND hwnd, HBITMAP* hbmp, UINT uImageId)
 
 class CTaskBarSettingsPage : public CPropertyPageImpl<CTaskBarSettingsPage>
 {
-private: 
+private:
     HBITMAP m_hbmpTaskbar;
     HBITMAP m_hbmpTray;
     HWND m_hwndTaskbar;
@@ -85,7 +85,7 @@ private:
             uImageId = IDB_TASKBARPROP_NOLOCK_NOGROUP_QL;
         else if (!bLock && bGroup  && bShowQL)
             uImageId = IDB_TASKBARPROP_NOLOCK_GROUP_QL;
-        else 
+        else
             ASSERT(FALSE);
 
         SetBitmap(hwndTaskbarBitmap, &m_hbmpTaskbar, uImageId);
@@ -107,7 +107,7 @@ private:
             uImageId = IDB_SYSTRAYPROP_SHOW_CLOCK;
         else if (!bHideInactive && !bShowClock)
             uImageId = IDB_SYSTRAYPROP_SHOW_NOCLOCK;
-        else 
+        else
             ASSERT(FALSE);
 
         SetBitmap(hwndTrayBitmap, &m_hbmpTray, uImageId);
@@ -129,7 +129,7 @@ public:
         m_hwndTaskbar(hwnd)
     {
     }
-    
+
     ~CTaskBarSettingsPage()
     {
         if (m_hbmpTaskbar)
@@ -188,7 +188,7 @@ public:
 
 class CStartMenuSettingsPage : public CPropertyPageImpl<CStartMenuSettingsPage>
 {
-private: 
+private:
     HBITMAP m_hbmpStartBitmap;
 
     void UpdateDialog()
@@ -253,7 +253,7 @@ public:
         // fix me: start menu style (classic/modern) should be read somewhere from the registry.
         CheckDlgButton(IDC_TASKBARPROP_STARTMENUCLASSIC, BST_CHECKED); // HACK: This has to be read from registry!!!!!!!
         UpdateDialog();
-    
+
         return TRUE;
     }
 
@@ -295,9 +295,9 @@ DisplayTrayProperties(IN HWND hwndOwner, IN HWND hwndTaskbar)
     CTaskBarSettingsPage tbSettingsPage(hwndTaskbar);
     CStartMenuSettingsPage smSettingsPage;
     CStringW caption;
-    
+
     caption.LoadStringW(IDS_TASKBAR_STARTMENU_PROP_CAPTION);
-    
+
     hpsp[0] = tbSettingsPage.Create();
     hpsp[1] = smSettingsPage.Create();
 
index c4a2522..f5ae43e 100644 (file)
@@ -47,7 +47,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
         if (SUCCEEDED(hr))
         {
             CATID catid = CATID_DeskBand;
-            hr = pcr->RegisterClassImplCategories(CLSID_QuickLaunchBand, 1, &catid);            
+            hr = pcr->RegisterClassImplCategories(CLSID_QuickLaunchBand, 1, &catid);
         }
         return hr;
     }
@@ -59,7 +59,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
         if (SUCCEEDED(hr))
         {
             CATID catid = CATID_DeskBand;
-            hr = pcr->UnRegisterClassImplCategories(CLSID_QuickLaunchBand, 1, &catid);            
+            hr = pcr->UnRegisterClassImplCategories(CLSID_QuickLaunchBand, 1, &catid);
         }
         return hr;
     }
@@ -82,16 +82,16 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
     LPITEMIDLIST PidlBrowse(HWND hwnd, int nCSIDL)
     {
         CComHeapPtr<ITEMIDLIST> pidlRoot;
-        
+
         WCHAR path[MAX_PATH];
 
         if (nCSIDL)
         {
             SHGetSpecialFolderLocation(hwnd, nCSIDL, &pidlRoot);
-        }        
+        }
 
         BROWSEINFO bi = { hwnd, pidlRoot, path, L"Choose a folder", 0, NULL, 0, 0 };
-        LPITEMIDLIST pidlSelected = SHBrowseForFolder(&bi);        
+        LPITEMIDLIST pidlSelected = SHBrowseForFolder(&bi);
 
         return pidlSelected;
     }
@@ -132,24 +132,24 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
         if (pidl == NULL)
             return E_FAIL;
         pISFB->InitializeSFB(pISF, pidl);
-        
+
         return hr;
     }
 
 // IObjectWithSite
     STDMETHODIMP CQuickLaunchBand::SetSite(IUnknown *pUnkSite)
-    { 
+    {
         // Internal CISFBand Calls
         CComPtr<IObjectWithSite> pIOWS;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IObjectWithSite, &pIOWS));
         if (FAILED(hr))
-            return hr; 
+            return hr;
 
         return pIOWS->SetSite(pUnkSite);
     }
 
     STDMETHODIMP CQuickLaunchBand::GetSite(IN REFIID riid, OUT VOID **ppvSite)
-    {        
+    {
         CComPtr<IObjectWithSite> pIOWS;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IObjectWithSite, &pIOWS));
         if (FAILED(hr))
@@ -165,7 +165,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
         // Internal CISFBand Calls
         CComPtr<IDeskBand> pIDB;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IDeskBand, &pIDB));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pIDB->GetWindow(phwnd);
@@ -183,53 +183,53 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
     }
 
     STDMETHODIMP CQuickLaunchBand::ShowDW(IN BOOL bShow)
-    {        
+    {
         // Internal CISFBand Calls
         CComPtr<IDeskBand> pIDB;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IDeskBand, &pIDB));
         if (FAILED(hr))
             return hr;
 
-        return pIDB->ShowDW(bShow);       
+        return pIDB->ShowDW(bShow);
     }
 
     STDMETHODIMP CQuickLaunchBand::CloseDW(IN DWORD dwReserved)
-    {        
+    {
         // Internal CISFBand Calls
         CComPtr<IDeskBand> pIDB;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IDeskBand, &pIDB));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pIDB->CloseDW(dwReserved);
     }
 
-    STDMETHODIMP CQuickLaunchBand::ResizeBorderDW(LPCRECT prcBorder, IUnknown *punkToolbarSite, BOOL fReserved) 
-    {        
+    STDMETHODIMP CQuickLaunchBand::ResizeBorderDW(LPCRECT prcBorder, IUnknown *punkToolbarSite, BOOL fReserved)
+    {
         // Internal CISFBand Calls
         CComPtr<IDeskBand> pIDB;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IDeskBand, &pIDB));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pIDB->ResizeBorderDW(prcBorder, punkToolbarSite, fReserved);
     }
 
     STDMETHODIMP CQuickLaunchBand::GetBandInfo(IN DWORD dwBandID, IN DWORD dwViewMode, IN OUT DESKBANDINFO *pdbi)
-    {        
+    {
         // Internal CISFBand Calls
         CComPtr<IDeskBand> pIDB;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IDeskBand, &pIDB));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pIDB->GetBandInfo(dwBandID, dwViewMode, pdbi);
-    }  
+    }
+
 /*****************************************************************************/
 // IPersistStream
     STDMETHODIMP CQuickLaunchBand::GetClassID(OUT CLSID *pClassID)
-    {     
+    {
         // Internal CISFBand Calls
         CComPtr<IPersistStream> pIPS;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IPersistStream, &pIPS));
@@ -240,7 +240,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
     }
 
     STDMETHODIMP CQuickLaunchBand::IsDirty()
-    {        
+    {
         // Internal CISFBand Calls
         CComPtr<IPersistStream> pIPS;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IPersistStream, &pIPS));
@@ -261,7 +261,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
     }
 
     STDMETHODIMP CQuickLaunchBand::Save(IN IStream *pStm, IN BOOL fClearDirty)
-    {       
+    {
         // Internal CISFBand Calls
         CComPtr<IPersistStream> pIPS;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IPersistStream, &pIPS));
@@ -280,7 +280,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
 
         return pIPS->GetSizeMax(pcbSize);
     }
-    
+
 
 /*****************************************************************************/
 // IWinEventHandler
@@ -290,50 +290,50 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
     }
 
     STDMETHODIMP CQuickLaunchBand::OnWinEvent(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult)
-    {         
+    {
          // Internal CISFBand Calls
          CComPtr<IWinEventHandler> pWEH;
          HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IWinEventHandler, &pWEH));
-         if (FAILED(hr)) 
+         if (FAILED(hr))
              return hr;
 
          return pWEH->OnWinEvent(hWnd, uMsg, wParam, lParam, theResult);
     }
 
     STDMETHODIMP CQuickLaunchBand::IsWindowOwner(HWND hWnd)
-    {        
+    {
         // Internal CISFBand Calls
         CComPtr<IWinEventHandler> pWEH;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IWinEventHandler, &pWEH));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pWEH->IsWindowOwner(hWnd);
     }
-    
+
 /*****************************************************************************/
 // *** IOleCommandTarget methods ***
     STDMETHODIMP CQuickLaunchBand::QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds [], OLECMDTEXT *pCmdText)
-    {        
+    {
         // Internal CISFBand Calls
         CComPtr<IOleCommandTarget> pOCT;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IOleCommandTarget, &pOCT));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pOCT->QueryStatus(pguidCmdGroup, cCmds, prgCmds, pCmdText);
     }
 
     STDMETHODIMP CQuickLaunchBand::Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
-    {       
+    {
         // Internal CISFBand Calls
         CComPtr<IOleCommandTarget> pOCT;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IOleCommandTarget, &pOCT));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pOCT->Exec(pguidCmdGroup, nCmdID, nCmdexecopt, pvaIn, pvaOut);
-    }  
+    }
 
 /*****************************************************************************/
 // *** IContextMenu ***
@@ -342,7 +342,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
         // Internal CISFBand Calls
         CComPtr<IContextMenu> pICM;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IContextMenu, &pICM));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pICM->GetCommandString(idCmd, uFlags, pwReserved, pszName, cchMax);
@@ -353,7 +353,7 @@ const GUID CLSID_QuickLaunchBand = { 0x260cb95d, 0x4544, 0x44f6, { 0xa0, 0x79, 0
         // Internal CISFBand Calls
         CComPtr<IContextMenu> pICM;
         HRESULT hr = m_punkISFB->QueryInterface(IID_PPV_ARG(IContextMenu, &pICM));
-        if (FAILED(hr)) 
+        if (FAILED(hr))
             return hr;
 
         return pICM->InvokeCommand(pici);
index 2889e6e..168a455 100644 (file)
@@ -18,14 +18,14 @@ class CQuickLaunchBand :
     public CComCoClass<CQuickLaunchBand, &CLSID_QuickLaunchBand>,
     public CComObjectRootEx<CComMultiThreadModelNoCS>,
     public IObjectWithSite,
-    public IDeskBand,    
+    public IDeskBand,
     public IPersistStream,
     public IWinEventHandler,
     public IOleCommandTarget,
     public IContextMenu
 {
     HWND m_hWndBro;
-    CComPtr<IUnknown> m_punkISFB;   
+    CComPtr<IUnknown> m_punkISFB;
 
     public:
 
@@ -46,36 +46,36 @@ class CQuickLaunchBand :
     virtual STDMETHODIMP SetSite(
         IN IUnknown *pUnkSite
     );
+
 // IDeskBand
 
     virtual STDMETHODIMP GetWindow(
         OUT HWND *phwnd
-    );    
+    );
 
     virtual STDMETHODIMP ContextSensitiveHelp(
         IN BOOL fEnterMode
-    );    
+    );
 
     virtual STDMETHODIMP ShowDW(
         IN BOOL bShow
-    );    
+    );
 
     virtual STDMETHODIMP CloseDW(
         IN DWORD dwReserved
-    );    
+    );
 
     virtual STDMETHODIMP ResizeBorderDW(
         LPCRECT prcBorder,
         IUnknown *punkToolbarSite,
         BOOL fReserved
-    );    
+    );
 
     virtual STDMETHODIMP GetBandInfo(
         IN DWORD dwBandID,
         IN DWORD dwViewMode,
         IN OUT DESKBANDINFO *pdbi
-    );   
+    );
 
 // IPersistStream
 
@@ -98,17 +98,17 @@ class CQuickLaunchBand :
         IN BOOL    fClearDirty
     );
 
-// IWinEventHandler   
+// IWinEventHandler
 
     virtual STDMETHODIMP ContainsWindow(
         IN HWND hWnd
     );
 
     virtual STDMETHODIMP OnWinEvent(
-        HWND hWnd, 
-        UINT uMsg, 
-        WPARAM wParam, 
-        LPARAM lParam, 
+        HWND hWnd,
+        UINT uMsg,
+        WPARAM wParam,
+        LPARAM lParam,
         LRESULT *theResult
     );
 
@@ -169,5 +169,5 @@ class CQuickLaunchBand :
         COM_INTERFACE_ENTRY_IID(IID_IWinEventHandler, IWinEventHandler)
         COM_INTERFACE_ENTRY_IID(IID_IOleCommandTarget, IOleCommandTarget)
         COM_INTERFACE_ENTRY_IID(IID_IContextMenu, IContextMenu)
-    END_COM_MAP()    
+    END_COM_MAP()
 };
\ No newline at end of file
index ce1eb7a..d17619b 100644 (file)
@@ -232,7 +232,7 @@ public:
 
         if (IsEqualCLSID(m_Clsid, CLSID_StartMenu))
             return RSHELL_CStartMenu_CreateInstance(riid, ppvObject);
-            
+
         if (IsEqualCLSID(m_Clsid, CLSID_MenuDeskBar))
             return RSHELL_CMenuDeskBar_CreateInstance(riid, ppvObject);
 
index 1557a39..5b3d643 100644 (file)
@@ -43,7 +43,7 @@ ListDisk(VOID)
     {
         DiskEntry = CONTAINING_RECORD(Entry, DISKENTRY, ListEntry);
 
-        DiskSize = DiskEntry->SectorCount.QuadPart * 
+        DiskSize = DiskEntry->SectorCount.QuadPart *
                    (ULONGLONG)DiskEntry->BytesPerSector;
 
         if (DiskSize >= 10737418240) /* 10 GB */
index 077fa9e..8b3aed8 100644 (file)
@@ -55,7 +55,7 @@ SmpCheckDuplicateMuSessionId(IN ULONG MuSessionId)
             FoundDuplicate = TRUE;
             break;
         }
-        
+
         /* Keep going */
         NextEntry = NextEntry->Flink;
     }
index 216579f..637715a 100644 (file)
@@ -95,9 +95,9 @@ InitLogo(PIMGINFO pImgInfo, HWND hwndDlg)
 
 Cleanup:
     if&