From 4297c7b0b661cc80bccac9a01f437a55ee2cf117 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 12 Nov 2016 21:53:33 +0000 Subject: [PATCH] [DLLS] Spelling fixes by Josh Soref. CORE-12286 svn path=/trunk/; revision=73216 --- reactos/dll/appcompat/apphelp/layer.c | 2 +- reactos/dll/appcompat/apphelp/sdbtagid.h | 2 +- reactos/dll/appcompat/apphelp/sdbwrite.c | 2 +- reactos/dll/appcompat/hacking.txt | 2 +- reactos/dll/cpl/access/sound.c | 2 +- reactos/dll/cpl/console/console.c | 2 +- reactos/dll/cpl/desk/appearance.h | 2 +- reactos/dll/cpl/desk/devsett.c | 2 +- reactos/dll/cpl/desk/theme.c | 2 +- reactos/dll/cpl/hdwwiz/hdwwiz.c | 4 +- reactos/dll/cpl/hotplug/hotplug.spec | 4 +- reactos/dll/cpl/input/input_list.c | 8 ++-- reactos/dll/cpl/intl/sort.c | 2 +- reactos/dll/cpl/main/mouse.c | 2 +- reactos/dll/cpl/mmsys/mmsys.c | 2 +- reactos/dll/cpl/powercfg/advanced.c | 4 +- reactos/dll/cpl/powercfg/lang/bg-BG.rc | 2 +- reactos/dll/cpl/powercfg/lang/cs-CZ.rc | 2 +- reactos/dll/cpl/powercfg/lang/de-DE.rc | 2 +- reactos/dll/cpl/powercfg/lang/el-GR.rc | 2 +- reactos/dll/cpl/powercfg/lang/en-US.rc | 2 +- reactos/dll/cpl/powercfg/lang/es-ES.rc | 2 +- reactos/dll/cpl/powercfg/lang/fr-FR.rc | 2 +- reactos/dll/cpl/powercfg/lang/he-IL.rc | 2 +- reactos/dll/cpl/powercfg/lang/id-ID.rc | 2 +- reactos/dll/cpl/powercfg/lang/it-IT.rc | 2 +- reactos/dll/cpl/powercfg/lang/ja-JP.rc | 2 +- reactos/dll/cpl/powercfg/lang/nl-NL.rc | 2 +- reactos/dll/cpl/powercfg/lang/no-NO.rc | 2 +- reactos/dll/cpl/powercfg/lang/pl-PL.rc | 2 +- reactos/dll/cpl/powercfg/lang/ro-RO.rc | 2 +- reactos/dll/cpl/powercfg/lang/ru-RU.rc | 2 +- reactos/dll/cpl/powercfg/lang/sk-SK.rc | 2 +- reactos/dll/cpl/powercfg/lang/sq-AL.rc | 2 +- reactos/dll/cpl/powercfg/lang/th-TH.rc | 2 +- reactos/dll/cpl/powercfg/lang/tr-TR.rc | 2 +- reactos/dll/cpl/powercfg/lang/uk-UA.rc | 2 +- reactos/dll/cpl/powercfg/lang/zh-CN.rc | 2 +- reactos/dll/cpl/powercfg/lang/zh-TW.rc | 2 +- reactos/dll/cpl/powercfg/powercfg.c | 2 +- reactos/dll/cpl/powercfg/resource.h | 10 ++-- reactos/dll/cpl/sysdm/environment.c | 2 +- reactos/dll/cpl/sysdm/lang/en-US.rc | 2 +- reactos/dll/cpl/timedate/ntpclient.c | 2 +- reactos/dll/cpl/usrmgr/misc.c | 4 +- reactos/dll/directx/bdaplgin/lnbinfo.cpp | 20 ++++---- reactos/dll/directx/d3d9/d3d9_device.c | 2 +- reactos/dll/directx/d3d9/d3d9_impl.c | 8 ++-- reactos/dll/directx/d3d9/d3d9_mipmap.c | 2 +- reactos/dll/directx/d3d9/d3d9_swapchain.c | 2 +- reactos/dll/directx/ddraw/Ddraw/GetCaps.c | 2 +- .../directx/ddraw/Ddraw/GetDeviceIdentifier.c | 2 +- reactos/dll/directx/ddraw/Ddraw/ddraw.h | 2 +- .../directx/ddraw/Ddraw/ddraw_displaymode.c | 4 +- reactos/dll/directx/ddraw/Ddraw/ddraw_main.c | 14 +++--- reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c | 6 +-- .../ddraw/Surface/callbacks_surf_hel.c | 6 +-- .../dll/directx/ddraw/Surface/createsurface.c | 4 +- .../dll/directx/ddraw/Surface/surface_main.c | 8 ++-- .../dll/directx/ddraw/ddraw_structures.txt | 2 +- reactos/dll/directx/ddraw/main.c | 6 +-- reactos/dll/directx/ddraw/rosdraw.h | 14 +++--- reactos/dll/directx/ddraw/startup.c | 8 ++-- reactos/dll/directx/dsound_new/capture.c | 2 +- reactos/dll/directx/dsound_new/directsound.c | 2 +- reactos/dll/directx/ksproxy/allocator.cpp | 18 +++---- reactos/dll/directx/ksproxy/ksproxy.cpp | 2 +- reactos/dll/directx/ksuser/ksuser.c | 8 ++-- .../dll/directx/msdvbnp/networkprovider.cpp | 8 ++-- reactos/dll/directx/msdvbnp/scanningtuner.cpp | 4 +- reactos/dll/ntdll/csr/connect.c | 2 +- reactos/dll/ntdll/dbg/dbgui.c | 4 +- reactos/dll/ntdll/ldr/ldrinit.c | 6 +-- reactos/dll/ntdll/ldr/ldrpe.c | 4 +- reactos/dll/ntdll/ldr/ldrutils.c | 4 +- reactos/dll/ntdll/rtl/libsupp.c | 2 +- reactos/dll/opengl/mesa/main/get.c | 2 +- reactos/dll/opengl/mesa/tnl/t_vertex.c | 4 +- reactos/dll/opengl/mesa/vbo/vbo_exec_api.c | 2 +- reactos/dll/opengl/mesa/vbo/vbo_save.h | 4 +- .../dll/opengl/mesa/x86/read_rgba_span_x86.S | 2 +- reactos/dll/opengl/mesa/x86/rtasm/x86sse.c | 2 +- reactos/dll/opengl/mesa/x86/rtasm/x86sse.h | 6 +-- reactos/dll/opengl/opengl32/swimpl.c | 2 +- .../shellext/netshell/shfldr_netconnect.cpp | 2 +- reactos/dll/shellext/ntobjshex/ntobjenum.cpp | 4 +- reactos/dll/shellext/ntobjshex/ntobjenum.h | 4 +- reactos/dll/shellext/stobject/lang/de-DE.rc | 2 +- reactos/dll/shellext/stobject/lang/en-US.rc | 2 +- reactos/dll/shellext/stobject/lang/es-ES.rc | 2 +- reactos/dll/shellext/stobject/lang/it-IT.rc | 2 +- reactos/dll/shellext/stobject/lang/ro-RO.rc | 2 +- reactos/dll/shellext/stobject/lang/ru-RU.rc | 2 +- reactos/dll/shellext/stobject/lang/tr-TR.rc | 2 +- reactos/dll/shellext/stobject/lang/zh-CN.rc | 2 +- reactos/dll/shellext/stobject/lang/zh-TW.rc | 2 +- reactos/dll/shellext/stobject/resource.h | 2 +- reactos/dll/win32/aclui/checklist.c | 4 +- reactos/dll/win32/advapi32/advapi32.h | 2 +- reactos/dll/win32/advapi32/misc/shutdown.c | 2 +- reactos/dll/win32/advapi32/misc/sysfunc.c | 2 +- reactos/dll/win32/advapi32/sec/misc.c | 8 ++-- reactos/dll/win32/crtdll/dllmain.c | 4 +- .../dll/win32/devmgr/devmgmt/DeviceView.cpp | 16 +++---- .../dll/win32/devmgr/devmgmt/MainWindow.cpp | 2 +- reactos/dll/win32/dnsapi/dnsapi/precomp.h | 2 +- reactos/dll/win32/fltlib/fltlib.c | 2 +- .../win32/kernel32/client/console/console.c | 4 +- reactos/dll/win32/kernel32/client/debugger.c | 2 +- reactos/dll/win32/kernel32/client/dllmain.c | 2 +- reactos/dll/win32/kernel32/client/dosdev.c | 2 +- reactos/dll/win32/kernel32/client/environ.c | 4 +- .../dll/win32/kernel32/client/file/cnotify.c | 4 +- reactos/dll/win32/kernel32/client/file/copy.c | 2 +- .../dll/win32/kernel32/client/file/filemap.c | 2 +- .../dll/win32/kernel32/client/file/npipe.c | 2 +- reactos/dll/win32/kernel32/client/file/tape.c | 2 +- reactos/dll/win32/kernel32/client/heapmem.c | 8 ++-- reactos/dll/win32/kernel32/client/loader.c | 6 +-- reactos/dll/win32/kernel32/client/path.c | 6 +-- reactos/dll/win32/kernel32/client/proc.c | 10 ++-- reactos/dll/win32/kernel32/client/vista.c | 2 +- reactos/dll/win32/kernel32/include/base_x.h | 2 +- reactos/dll/win32/kernel32/k32.h | 2 +- reactos/dll/win32/kernel32/wine/timezone.c | 2 +- .../kernel32/winnls/string/lcformat_private.h | 2 +- reactos/dll/win32/lsasrv/authpackage.c | 4 +- reactos/dll/win32/lsasrv/database.c | 2 +- reactos/dll/win32/lsasrv/lsasrv.c | 2 +- reactos/dll/win32/mmdrv/midi.c | 2 +- reactos/dll/win32/mmdrv/wave.h | 2 +- reactos/dll/win32/msafd/misc/dllmain.c | 22 ++++----- reactos/dll/win32/msafd/misc/sndrcv.c | 48 +++++++++---------- reactos/dll/win32/msgina/msgina.c | 2 +- reactos/dll/win32/msv1_0/msv1_0.c | 2 +- reactos/dll/win32/msv1_0/msv1_0.spec | 4 +- reactos/dll/win32/msvcrt/dllmain.c | 4 +- reactos/dll/win32/netcfgx/netcfgx.c | 2 +- reactos/dll/win32/netid/lang/en-US.rc | 2 +- reactos/dll/win32/ntmarta/ntmarta.c | 2 +- reactos/dll/win32/psapi/psapi.c | 8 ++-- reactos/dll/win32/rasadhlp/winsock.c | 36 +++++++------- reactos/dll/win32/rasdlg/lang/en-US.rc | 8 ++-- reactos/dll/win32/samlib/samlib.c | 2 +- reactos/dll/win32/samsrv/lang/en-US.rc | 2 +- reactos/dll/win32/samsrv/samrpc.c | 22 ++++----- reactos/dll/win32/samsrv/samsrv.h | 8 ++-- reactos/dll/win32/samsrv/setup.c | 6 +-- reactos/dll/win32/samsrv/user.c | 4 +- reactos/dll/win32/smdll/query.c | 2 +- reactos/dll/win32/smdll/readme.txt | 2 +- reactos/dll/win32/wdmaud.drv/mmixer.c | 4 +- reactos/dll/win32/ws2_32/src/addrinfo.c | 12 ++--- reactos/dll/win32/ws2_32/src/async.c | 18 +++---- reactos/dll/win32/ws2_32/src/dcatalog.c | 2 +- reactos/dll/win32/ws2_32/src/getproto.c | 2 +- reactos/dll/win32/ws2_32/src/getxbyxx.c | 6 +-- reactos/dll/win32/ws2_32/src/nsquery.c | 2 +- reactos/dll/win32/ws2_32/src/qshelpr.c | 4 +- reactos/dll/win32/ws2_32/src/rasdial.c | 2 +- reactos/dll/win32/ws2_32/src/rnr.c | 2 +- reactos/dll/win32/ws2_32/src/sputil.c | 2 +- reactos/dll/win32/ws2_32/src/startup.c | 2 +- reactos/dll/win32/ws2help/apc.c | 2 +- reactos/dll/win32/ws2help/dllmain.c | 10 ++-- reactos/dll/win32/ws2help/handle.c | 4 +- 166 files changed, 364 insertions(+), 364 deletions(-) diff --git a/reactos/dll/appcompat/apphelp/layer.c b/reactos/dll/appcompat/apphelp/layer.c index b44555dc2e5..ab15b2fce31 100644 --- a/reactos/dll/appcompat/apphelp/layer.c +++ b/reactos/dll/appcompat/apphelp/layer.c @@ -213,7 +213,7 @@ NTSTATUS SdbpOpenKey(PUNICODE_STRING FullPath, BOOL bMachine, ACCESS_MASK Access Status = RtlFormatCurrentUserKeyPath(&BasePath); if (!NT_SUCCESS(Status)) { - SHIM_ERR("Unable to aquire user registry key, Error: 0x%lx\n", Status); + SHIM_ERR("Unable to acquire user registry key, Error: 0x%lx\n", Status); return Status; } } diff --git a/reactos/dll/appcompat/apphelp/sdbtagid.h b/reactos/dll/appcompat/apphelp/sdbtagid.h index 76b6c907242..674104ef0d4 100644 --- a/reactos/dll/appcompat/apphelp/sdbtagid.h +++ b/reactos/dll/appcompat/apphelp/sdbtagid.h @@ -27,7 +27,7 @@ /* The above definition of TAGID_ROOT is used in winapi and can be found * on msdn it but doesn't make sense, especially internally, because * TAGID represents offset into database data and there is a header at - * offset 0, NOT a tag. Therfore, this definition should be used internally + * offset 0, NOT a tag. Therefore, this definition should be used internally * to represent first valid TAGID. Header size is 12 bytes. */ #define _TAGID_ROOT 12 diff --git a/reactos/dll/appcompat/apphelp/sdbwrite.c b/reactos/dll/appcompat/apphelp/sdbwrite.c index de41bec8f3e..eb76db6a8ab 100644 --- a/reactos/dll/appcompat/apphelp/sdbwrite.c +++ b/reactos/dll/appcompat/apphelp/sdbwrite.c @@ -95,7 +95,7 @@ static BOOL WINAPI SdbpWriteStringtable(PDB db) * * If a file already exists on specified path, that file shall be overwritten. * - * @note Use SdbCloseDatabasWrite to close the database opened with this function. + * @note Use SdbCloseDatabaseWrite to close the database opened with this function. * * @param [in] path Path to the new shim database. * @param [in] type Type of path. Either DOS_PATH or NT_PATH. diff --git a/reactos/dll/appcompat/hacking.txt b/reactos/dll/appcompat/hacking.txt index b4106991c8f..18010e9d2d0 100644 --- a/reactos/dll/appcompat/hacking.txt +++ b/reactos/dll/appcompat/hacking.txt @@ -11,7 +11,7 @@ pSdbCreateDatabase [Err ][SdbpWriteBufferedData] Failed to allocate 65548 bytes. pSdbWriteStringTag - [Err ][SdbpAddStringToTable] Error Gettting temp path 0x8 + [Err ][SdbpAddStringToTable] Error Getting temp path 0x8 [Err ][SdbpCreateFile ] Failed to convert DOS path "C:\Users\MAE67~1.JAN\AppData\Local\Temp\SDBAB16.tmp" [Err ][SdbpAddStringToTable] Error copying string table temp filename [Err ][HashCreate ] Failed to allocate 8 bytes. diff --git a/reactos/dll/cpl/access/sound.c b/reactos/dll/cpl/access/sound.c index 0793c259ab6..49d7362c168 100644 --- a/reactos/dll/cpl/access/sound.c +++ b/reactos/dll/cpl/access/sound.c @@ -2,7 +2,7 @@ * PROJECT: ReactOS Accessibility Control Panel * LICENSE: GPL - See COPYING in the top level directory * FILE: dll/cpl/access/sound.c - * PURPOSE: Sound-related acessibility settings + * PURPOSE: Sound-related accessibility settings * COPYRIGHT: Copyright 2004 Johannes Anderwald (johannes.anderwald@reactos.org) * Copyright 2007 Eric Kohl */ diff --git a/reactos/dll/cpl/console/console.c b/reactos/dll/cpl/console/console.c index d0f65dadd16..d4fd1813520 100644 --- a/reactos/dll/cpl/console/console.c +++ b/reactos/dll/cpl/console/console.c @@ -90,7 +90,7 @@ ApplyConsoleInfo(HWND hwndDlg) static BOOL ConsoleInfoAlreadySaved = FALSE; /* - * We alread applied all the console properties (and saved if needed). + * We already applied all the console properties (and saved if needed). * Nothing more needs to be done. */ if (ConsoleInfoAlreadySaved) diff --git a/reactos/dll/cpl/desk/appearance.h b/reactos/dll/cpl/desk/appearance.h index 73ea6a77897..2a454a86de2 100644 --- a/reactos/dll/cpl/desk/appearance.h +++ b/reactos/dll/cpl/desk/appearance.h @@ -70,7 +70,7 @@ typedef struct * and different sizes. In other words the user can select a combination * of colour and size. * That means that for the classic theme THEME.SizesList is unused and - * every color has some child styles that corespond its sizes. + * every color has some child styles that correspond its sizes. * The themes for visual styles however will use both ColoursList and SizesList * and ChildStyle will not be used. */ diff --git a/reactos/dll/cpl/desk/devsett.c b/reactos/dll/cpl/desk/devsett.c index a792647fb87..446848fa0cc 100644 --- a/reactos/dll/cpl/desk/devsett.c +++ b/reactos/dll/cpl/desk/devsett.c @@ -564,7 +564,7 @@ CDevSettings_GetData(IDataObject* iface, pformatetcIn); if (SUCCEEDED(hr)) { - /* Return the reqested data back to the shell extension */ + /* Return the requested data back to the shell extension */ if (pformatetcIn->cfFormat == This->cfDisplayDevice) { diff --git a/reactos/dll/cpl/desk/theme.c b/reactos/dll/cpl/desk/theme.c index 7114fdf9018..151913a7144 100644 --- a/reactos/dll/cpl/desk/theme.c +++ b/reactos/dll/cpl/desk/theme.c @@ -220,7 +220,7 @@ LoadCurrentScheme(OUT COLOR_SCHEME *scheme) } /* - * LoadSchemeFromReg: Populates the passed scheme with values retireved from registry + * LoadSchemeFromReg: Populates the passed scheme with values retrieved from registry */ BOOL LoadSchemeFromReg(OUT COLOR_SCHEME *scheme, IN PTHEME_SELECTION pSelectedTheme) diff --git a/reactos/dll/cpl/hdwwiz/hdwwiz.c b/reactos/dll/cpl/hdwwiz/hdwwiz.c index 793fa311156..eeb1bd9d681 100644 --- a/reactos/dll/cpl/hdwwiz/hdwwiz.c +++ b/reactos/dll/cpl/hdwwiz/hdwwiz.c @@ -128,7 +128,7 @@ SearchPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) } static INT_PTR CALLBACK -IsConnctedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +IsConnectedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) { @@ -811,7 +811,7 @@ HardwareWizardInit(HWND hwnd) psp.pszHeaderSubTitle = NULL; psp.hInstance = hApplet; psp.lParam = 0; - psp.pfnDlgProc = IsConnctedPageDlgProc; + psp.pfnDlgProc = IsConnectedPageDlgProc; psp.pszTemplate = MAKEINTRESOURCE(IDD_ISCONNECTEDPAGE); ahpsp[nPages++] = CreatePropertySheetPage(&psp); diff --git a/reactos/dll/cpl/hotplug/hotplug.spec b/reactos/dll/cpl/hotplug/hotplug.spec index 8ec310bac27..a29fe409579 100644 --- a/reactos/dll/cpl/hotplug/hotplug.spec +++ b/reactos/dll/cpl/hotplug/hotplug.spec @@ -5,8 +5,8 @@ ;@ stub HotPlugEjectDeviceEx ;@ stub HotPlugEjectVetoedW ;@ stub HotPlugHibernateVetoedW -;@ stub HotPlugRemovealVetoedW +;@ stub HotPlugRemovalVetoedW ;@ stub HotPlugSafeRemovalDriveNotificationW ;@ stub HotPlugSafeRemovalNotificationW -;@ stub HotPlugStandyVetoedW +;@ stub HotPlugStandbyVetoedW ;@ stub HotPlugWarmEjectVetoedW diff --git a/reactos/dll/cpl/input/input_list.c b/reactos/dll/cpl/input/input_list.c index f4ed7f7b8dc..0d9718d7e75 100644 --- a/reactos/dll/cpl/input/input_list.c +++ b/reactos/dll/cpl/input/input_list.c @@ -190,16 +190,16 @@ InputList_AddInputMethodToUserRegistry(DWORD dwIndex, INPUT_LIST_NODE *pNode) KEY_SET_VALUE, &hKey) == ERROR_SUCCESS) { - WCHAR szSubstitues[MAX_PATH]; + WCHAR szSubstitutes[MAX_PATH]; - StringCchPrintfW(szSubstitues, ARRAYSIZE(szSubstitues), L"%08X", pNode->pLayout->dwId); + StringCchPrintfW(szSubstitutes, ARRAYSIZE(szSubstitutes), L"%08X", pNode->pLayout->dwId); RegSetValueExW(hKey, szPreload, 0, REG_SZ, - (LPBYTE)szSubstitues, - (wcslen(szSubstitues) + 1) * sizeof(WCHAR)); + (LPBYTE)szSubstitutes, + (wcslen(szSubstitutes) + 1) * sizeof(WCHAR)); RegCloseKey(hKey); } diff --git a/reactos/dll/cpl/intl/sort.c b/reactos/dll/cpl/intl/sort.c index db02df7a075..d8333762d5d 100644 --- a/reactos/dll/cpl/intl/sort.c +++ b/reactos/dll/cpl/intl/sort.c @@ -81,7 +81,7 @@ CreateSortList(HWND hwnd, LCID lcid) hWndSortList = hwnd; - /* Handle special case for Spainish (Spain) */ + /* Handle special case for Spanish (Spain) */ if (lcid == MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT) || lcid == MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH_MODERN), SORT_DEFAULT)) { diff --git a/reactos/dll/cpl/main/mouse.c b/reactos/dll/cpl/main/mouse.c index 99a3c6894b6..9d90054394a 100644 --- a/reactos/dll/cpl/main/mouse.c +++ b/reactos/dll/cpl/main/mouse.c @@ -1113,7 +1113,7 @@ LoadInitialCursorScheme(HWND hwndDlg) _tcsncat(szSchemeName, szSystemScheme, MAX_PATH - _tcslen(szSchemeName) - 1); } - /* Search and select the curent scheme name from the scheme list */ + /* Search and select the current scheme name from the scheme list */ nSel = SendDlgItemMessage(hwndDlg, IDC_COMBO_CURSOR_SCHEME, CB_FINDSTRINGEXACT, -1, (LPARAM)szSchemeName); if (nSel != CB_ERR) SendDlgItemMessage(hwndDlg, IDC_COMBO_CURSOR_SCHEME, CB_SETCURSEL, (WPARAM)nSel, (LPARAM)0); diff --git a/reactos/dll/cpl/mmsys/mmsys.c b/reactos/dll/cpl/mmsys/mmsys.c index e8d37fb7566..a88db3729dd 100644 --- a/reactos/dll/cpl/mmsys/mmsys.c +++ b/reactos/dll/cpl/mmsys/mmsys.c @@ -3,7 +3,7 @@ * PROJECT: ReactOS Multimedia Control Panel * FILE: dll/cpl/mmsys/mmsys.c * PURPOSE: ReactOS Multimedia Control Panel - * PROGRAMMER: Thoams Weidenmueller + * PROGRAMMER: Thomas Weidenmueller * Dmitry Chapyshev * UPDATE HISTORY: * 2005/11/23 Created diff --git a/reactos/dll/cpl/powercfg/advanced.c b/reactos/dll/cpl/powercfg/advanced.c index 965fd74587a..d89ab3c9772 100644 --- a/reactos/dll/cpl/powercfg/advanced.c +++ b/reactos/dll/cpl/powercfg/advanced.c @@ -185,7 +185,7 @@ ShowCurrentPowerActionPolicies(HWND hwndDlg) if (!IsBatteryUsed()) { #if 0 - /* expiremental code */ + /* experimental code */ // ShowCurrentPowerButtonAcAction(hList2, ShowCurrentPowerActionPolicy(GetDlgItem(hwndDlg, IDC_POWERBUTTON), g_SystemBatteries, @@ -206,7 +206,7 @@ ShowCurrentPowerActionPolicies(HWND hwndDlg) &gGPP.user.PowerButtonAc); #if 0 - /* expiremental code */ + /* experimental code */ ShowCurrentPowerActionPolicy(GetDlgItem(hwndDlg, IDC_SLEEPBUTTON), g_SleepButton, sizeof(g_SleepButton) / sizeof(POWER_ACTION), diff --git a/reactos/dll/cpl/powercfg/lang/bg-BG.rc b/reactos/dll/cpl/powercfg/lang/bg-BG.rc index dddf3daffeb..90547ebda89 100644 --- a/reactos/dll/cpl/powercfg/lang/bg-BG.rc +++ b/reactos/dll/cpl/powercfg/lang/bg-BG.rc @@ -1,6 +1,6 @@ LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Наредби на захранването" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/cs-CZ.rc b/reactos/dll/cpl/powercfg/lang/cs-CZ.rc index 0c57d0c2fa2..8d3ba109502 100644 --- a/reactos/dll/cpl/powercfg/lang/cs-CZ.rc +++ b/reactos/dll/cpl/powercfg/lang/cs-CZ.rc @@ -1,6 +1,6 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Schémata napájení" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/de-DE.rc b/reactos/dll/cpl/powercfg/lang/de-DE.rc index cf2fccb6e15..a9ec860cfd9 100644 --- a/reactos/dll/cpl/powercfg/lang/de-DE.rc +++ b/reactos/dll/cpl/powercfg/lang/de-DE.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 218 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 218 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Energieschemata" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/el-GR.rc b/reactos/dll/cpl/powercfg/lang/el-GR.rc index f58ee9a830a..a3ef11d4e02 100644 --- a/reactos/dll/cpl/powercfg/lang/el-GR.rc +++ b/reactos/dll/cpl/powercfg/lang/el-GR.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_GREEK, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Συνδυασμοί τροφοδοσίας" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/en-US.rc b/reactos/dll/cpl/powercfg/lang/en-US.rc index baf781ddec1..89d02461122 100644 --- a/reactos/dll/cpl/powercfg/lang/en-US.rc +++ b/reactos/dll/cpl/powercfg/lang/en-US.rc @@ -1,6 +1,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Power Schemes" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/es-ES.rc b/reactos/dll/cpl/powercfg/lang/es-ES.rc index 4c86a41b054..cd57a9e52bc 100644 --- a/reactos/dll/cpl/powercfg/lang/es-ES.rc +++ b/reactos/dll/cpl/powercfg/lang/es-ES.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 262, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 262, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Combinaciones de energía" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/fr-FR.rc b/reactos/dll/cpl/powercfg/lang/fr-FR.rc index f3054436a32..88de497b634 100644 --- a/reactos/dll/cpl/powercfg/lang/fr-FR.rc +++ b/reactos/dll/cpl/powercfg/lang/fr-FR.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Profils d'alimentation" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/he-IL.rc b/reactos/dll/cpl/powercfg/lang/he-IL.rc index 0d52f75e70f..287cedcc303 100644 --- a/reactos/dll/cpl/powercfg/lang/he-IL.rc +++ b/reactos/dll/cpl/powercfg/lang/he-IL.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "תכניות צריכת חשמל" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/id-ID.rc b/reactos/dll/cpl/powercfg/lang/id-ID.rc index dbdc292cb71..412226a75cc 100644 --- a/reactos/dll/cpl/powercfg/lang/id-ID.rc +++ b/reactos/dll/cpl/powercfg/lang/id-ID.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Skema Tenaga" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/it-IT.rc b/reactos/dll/cpl/powercfg/lang/it-IT.rc index 624608a76d5..043ef24399d 100644 --- a/reactos/dll/cpl/powercfg/lang/it-IT.rc +++ b/reactos/dll/cpl/powercfg/lang/it-IT.rc @@ -1,6 +1,6 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Gestione risparmio energia" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/ja-JP.rc b/reactos/dll/cpl/powercfg/lang/ja-JP.rc index 5941dd815ec..a8e0ddcfdd9 100644 --- a/reactos/dll/cpl/powercfg/lang/ja-JP.rc +++ b/reactos/dll/cpl/powercfg/lang/ja-JP.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "電源設定" FONT 9, "MS UI Gothic" diff --git a/reactos/dll/cpl/powercfg/lang/nl-NL.rc b/reactos/dll/cpl/powercfg/lang/nl-NL.rc index 695f7210642..f8030829f7e 100644 --- a/reactos/dll/cpl/powercfg/lang/nl-NL.rc +++ b/reactos/dll/cpl/powercfg/lang/nl-NL.rc @@ -1,6 +1,6 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Energie schema's" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/no-NO.rc b/reactos/dll/cpl/powercfg/lang/no-NO.rc index bec680d75c3..b412a8163ba 100644 --- a/reactos/dll/cpl/powercfg/lang/no-NO.rc +++ b/reactos/dll/cpl/powercfg/lang/no-NO.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Strømstyringsplan" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/pl-PL.rc b/reactos/dll/cpl/powercfg/lang/pl-PL.rc index 021ebd52a93..66a23f3028e 100644 --- a/reactos/dll/cpl/powercfg/lang/pl-PL.rc +++ b/reactos/dll/cpl/powercfg/lang/pl-PL.rc @@ -8,7 +8,7 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Schematy zasilania" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/ro-RO.rc b/reactos/dll/cpl/powercfg/lang/ro-RO.rc index 70a56930e4c..49512dcac9b 100644 --- a/reactos/dll/cpl/powercfg/lang/ro-RO.rc +++ b/reactos/dll/cpl/powercfg/lang/ro-RO.rc @@ -5,7 +5,7 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Regim de consum" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/ru-RU.rc b/reactos/dll/cpl/powercfg/lang/ru-RU.rc index f4b2fc338d2..6b4dad30dc3 100644 --- a/reactos/dll/cpl/powercfg/lang/ru-RU.rc +++ b/reactos/dll/cpl/powercfg/lang/ru-RU.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Схемы управления питанием" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/sk-SK.rc b/reactos/dll/cpl/powercfg/lang/sk-SK.rc index bfa08366e19..98161a1de78 100644 --- a/reactos/dll/cpl/powercfg/lang/sk-SK.rc +++ b/reactos/dll/cpl/powercfg/lang/sk-SK.rc @@ -8,7 +8,7 @@ LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Schémy napájania" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/sq-AL.rc b/reactos/dll/cpl/powercfg/lang/sq-AL.rc index f325416962c..27a8c329aa9 100644 --- a/reactos/dll/cpl/powercfg/lang/sq-AL.rc +++ b/reactos/dll/cpl/powercfg/lang/sq-AL.rc @@ -5,7 +5,7 @@ LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Skema e Energjisë" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/th-TH.rc b/reactos/dll/cpl/powercfg/lang/th-TH.rc index 86676b2d1de..faa1e4ae687 100644 --- a/reactos/dll/cpl/powercfg/lang/th-TH.rc +++ b/reactos/dll/cpl/powercfg/lang/th-TH.rc @@ -1,6 +1,6 @@ LANGUAGE LANG_THAI, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Power Schemes" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/tr-TR.rc b/reactos/dll/cpl/powercfg/lang/tr-TR.rc index 62197a65122..3e6cbbcdd76 100644 --- a/reactos/dll/cpl/powercfg/lang/tr-TR.rc +++ b/reactos/dll/cpl/powercfg/lang/tr-TR.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Güç Düzenleri" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/uk-UA.rc b/reactos/dll/cpl/powercfg/lang/uk-UA.rc index a2f3a9d098e..11b289d0856 100644 --- a/reactos/dll/cpl/powercfg/lang/uk-UA.rc +++ b/reactos/dll/cpl/powercfg/lang/uk-UA.rc @@ -8,7 +8,7 @@ LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "Схеми керування живленням" FONT 8, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/zh-CN.rc b/reactos/dll/cpl/powercfg/lang/zh-CN.rc index d0793390f79..ae0f1b8a75e 100644 --- a/reactos/dll/cpl/powercfg/lang/zh-CN.rc +++ b/reactos/dll/cpl/powercfg/lang/zh-CN.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "电源使用方案" FONT 9, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/lang/zh-TW.rc b/reactos/dll/cpl/powercfg/lang/zh-TW.rc index 51590e7def9..1f74f125b3a 100644 --- a/reactos/dll/cpl/powercfg/lang/zh-TW.rc +++ b/reactos/dll/cpl/powercfg/lang/zh-TW.rc @@ -2,7 +2,7 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL -IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237 +IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION CAPTION "電源使用方案" FONT 9, "MS Shell Dlg" diff --git a/reactos/dll/cpl/powercfg/powercfg.c b/reactos/dll/cpl/powercfg/powercfg.c index b6bedf259d1..9952f84bee6 100644 --- a/reactos/dll/cpl/powercfg/powercfg.c +++ b/reactos/dll/cpl/powercfg/powercfg.c @@ -97,7 +97,7 @@ Applet1(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam) psh.nStartPage = 0; psh.phpage = hpsp; - InitPropSheetPage(&psh, IDD_PROPPAGEPOWERSHEMES, (DLGPROC)PowerSchemesDlgProc); + InitPropSheetPage(&psh, IDD_PROPPAGEPOWERSCHEMES, (DLGPROC)PowerSchemesDlgProc); if (GetPwrCapabilities(&spc)) { if (spc.SystemBatteriesPresent) diff --git a/reactos/dll/cpl/powercfg/resource.h b/reactos/dll/cpl/powercfg/resource.h index 27146fe6b62..da61e093e6b 100644 --- a/reactos/dll/cpl/powercfg/resource.h +++ b/reactos/dll/cpl/powercfg/resource.h @@ -19,11 +19,11 @@ #define IDS_CONFIG1 53 #define IDS_CONFIG2 54 -#define IDD_PROPPAGEPOWERSHEMES 70 -#define IDD_PROPPAGEALARMS 71 -#define IDD_PROPPAGEPOWERMETER 72 -#define IDD_PROPPAGEADVANCED 73 -#define IDD_PROPPAGEHIBERNATE 74 +#define IDD_PROPPAGEPOWERSCHEMES 70 +#define IDD_PROPPAGEALARMS 71 +#define IDD_PROPPAGEPOWERMETER 72 +#define IDD_PROPPAGEADVANCED 73 +#define IDD_PROPPAGEHIBERNATE 74 #define IDS_NOACTION 100 #define IDS_PowerActionNone1 114 diff --git a/reactos/dll/cpl/sysdm/environment.c b/reactos/dll/cpl/sysdm/environment.c index 7a4fc54e343..9d80c8f26bb 100644 --- a/reactos/dll/cpl/sysdm/environment.c +++ b/reactos/dll/cpl/sysdm/environment.c @@ -538,7 +538,7 @@ SetAllVars(HWND hwndDlg, hwndListView = GetDlgItem(hwndDlg, iDlgItem); /* First item is 0 */ iItem = 0; - /* Set up struct to retreive item */ + /* Set up struct to retrieve item */ lvi.mask = LVIF_PARAM; lvi.iItem = iItem; diff --git a/reactos/dll/cpl/sysdm/lang/en-US.rc b/reactos/dll/cpl/sysdm/lang/en-US.rc index c05c281ced5..a505f24e247 100644 --- a/reactos/dll/cpl/sysdm/lang/en-US.rc +++ b/reactos/dll/cpl/sysdm/lang/en-US.rc @@ -298,7 +298,7 @@ BEGIN IDS_PAGEFILE_NONE "None" IDS_PAGEFILE_SYSTEM "System Managed" IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes." - IDS_DEVS "\nReactOS Team\n\nProject Coordinator\n\nAleksey Bragin\n\nDevelopment Team\n\nAleksey Bragin\nAndrew Greenwood\nAndrey Korotaev\nArt Yerkes\nChristoph von Wittich\nColin Finck\nDaniel Reimer\nDmitry Chapyshev\nEric Kohl\nGed Murphy\nGregor Brunmar\nHervé Poussineau\nJames Tabor\nJeffrey Morlan\nJohannes Anderwald\nKamil Horníček\nKJK::Hyperion\nMaarten Bosma\nMagnus Olsen\nMarc Piulachs\nMatthias Kupfer\nMike Nordell\nPeter Ward\nPierre Schweitzer\nSaveliy Tretiakov\nStefan Ginsberg\nSylvain Petreolle\nThomas Blümel\nTimo Kreuzer \n\nAlex Ionescu\nFilip Navara\nGunnar Dalsnes\nMartin Fuchs\nRoyce Mitchell III\nBrandon Turner\nBrian Palmer\nCasper Hornstrup\nDavid Welch\nEmanuele Aliberti\nGé van Geldorp\nGregor Anich\nJason Filby\nJens Collin\nMichael Wirth\nNathan Woods\nRobert Dickenson\nRex Jolliff\nVizzini \n\nRelease Engineers\n\nColin Finck\nZ98\n\nWebsite Team\n\nColin Finck\nJaix Bly\nKlemens Friedl\nZ98\n\nMedia Team\n\nMindflyer\nWierd_W\n\nfurther thanks go to\n\nall Contributers\nWine Team\n\n" + IDS_DEVS "\nReactOS Team\n\nProject Coordinator\n\nAleksey Bragin\n\nDevelopment Team\n\nAleksey Bragin\nAndrew Greenwood\nAndrey Korotaev\nArt Yerkes\nChristoph von Wittich\nColin Finck\nDaniel Reimer\nDmitry Chapyshev\nEric Kohl\nGed Murphy\nGregor Brunmar\nHervé Poussineau\nJames Tabor\nJeffrey Morlan\nJohannes Anderwald\nKamil Horníček\nKJK::Hyperion\nMaarten Bosma\nMagnus Olsen\nMarc Piulachs\nMatthias Kupfer\nMike Nordell\nPeter Ward\nPierre Schweitzer\nSaveliy Tretiakov\nStefan Ginsberg\nSylvain Petreolle\nThomas Blümel\nTimo Kreuzer \n\nAlex Ionescu\nFilip Navara\nGunnar Dalsnes\nMartin Fuchs\nRoyce Mitchell III\nBrandon Turner\nBrian Palmer\nCasper Hornstrup\nDavid Welch\nEmanuele Aliberti\nGé van Geldorp\nGregor Anich\nJason Filby\nJens Collin\nMichael Wirth\nNathan Woods\nRobert Dickenson\nRex Jolliff\nVizzini \n\nRelease Engineers\n\nColin Finck\nZ98\n\nWebsite Team\n\nColin Finck\nJaix Bly\nKlemens Friedl\nZ98\n\nMedia Team\n\nMindflyer\nWierd_W\n\nfurther thanks go to\n\nall Contributors\nWine Team\n\n" IDS_HWPROFILE_CONFIRM_DELETE_TITLE "Confirm Profile Delete" IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware profile ""%s""?" IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use." diff --git a/reactos/dll/cpl/timedate/ntpclient.c b/reactos/dll/cpl/timedate/ntpclient.c index 7f2b524da4f..7442b49150f 100644 --- a/reactos/dll/cpl/timedate/ntpclient.c +++ b/reactos/dll/cpl/timedate/ntpclient.c @@ -108,7 +108,7 @@ ReceiveData(PINFO pInfo) INT Ret; ULONG ulTime = 0; - /* Monitor socket for incomming connections */ + /* Monitor socket for incoming connections */ FD_ZERO(&readFDS); FD_SET(pInfo->Sock, &readFDS); diff --git a/reactos/dll/cpl/usrmgr/misc.c b/reactos/dll/cpl/usrmgr/misc.c index 2aed5d5b5f1..0cc56a8dc9a 100644 --- a/reactos/dll/cpl/usrmgr/misc.c +++ b/reactos/dll/cpl/usrmgr/misc.c @@ -2,7 +2,7 @@ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS User Manager Control Panel * FILE: dll/cpl/usrmgr/misc.c - * PURPOSE: Miscellaneus functions + * PURPOSE: Miscellaneous functions * * PROGRAMMERS: Eric Kohl */ @@ -41,7 +41,7 @@ CheckAccountName(HWND hwndDlg, _tcspbrk((lpAccountName) ? lpAccountName : szAccountName, TEXT("\"*+,/\\:;<=>?[]|")) != NULL) { MessageBox(hwndDlg, - TEXT("The account name you entered is invalid! An account name must not contain the following charecters: *+,/:;<=>?[\\]|"), + TEXT("The account name you entered is invalid! An account name must not contain the following characters: *+,/:;<=>?[\\]|"), TEXT("ERROR"), MB_OK | MB_ICONERROR); return FALSE; diff --git a/reactos/dll/directx/bdaplgin/lnbinfo.cpp b/reactos/dll/directx/bdaplgin/lnbinfo.cpp index fe08fc31b96..76895546b64 100644 --- a/reactos/dll/directx/bdaplgin/lnbinfo.cpp +++ b/reactos/dll/directx/bdaplgin/lnbinfo.cpp @@ -36,10 +36,10 @@ public: } //IBDA_LNBInfo methods - HRESULT STDMETHODCALLTYPE put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow); - HRESULT STDMETHODCALLTYPE get_LocalOscilatorFrequencyLowBand(ULONG *pulLOFLow); - HRESULT STDMETHODCALLTYPE put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh); - HRESULT STDMETHODCALLTYPE get_LocalOscilatorFrequencyHighBand(ULONG *pulLOFHigh); + HRESULT STDMETHODCALLTYPE put_LocalOscillatorFrequencyLowBand(ULONG ulLOFLow); + HRESULT STDMETHODCALLTYPE get_LocalOscillatorFrequencyLowBand(ULONG *pulLOFLow); + HRESULT STDMETHODCALLTYPE put_LocalOscillatorFrequencyHighBand(ULONG ulLOFHigh); + HRESULT STDMETHODCALLTYPE get_LocalOscillatorFrequencyHighBand(ULONG *pulLOFHigh); HRESULT STDMETHODCALLTYPE put_HighLowSwitchFrequency(ULONG ulSwitchFrequency); HRESULT STDMETHODCALLTYPE get_HighLowSwitchFrequency(ULONG *pulSwitchFrequency); @@ -88,7 +88,7 @@ CBDALNBInfo::QueryInterface( HRESULT STDMETHODCALLTYPE -CBDALNBInfo::put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow) +CBDALNBInfo::put_LocalOscillatorFrequencyLowBand(ULONG ulLOFLow) { KSP_NODE Node; HRESULT hr; @@ -102,7 +102,7 @@ CBDALNBInfo::put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow) #ifdef BDAPLGIN_TRACE WCHAR Buffer[100]; - swprintf(Buffer, L"CBDALNBInfo::put_LocalOscilatorFrequencyLowBand: m_NodeId %lu ulLOFLow %lu hr %lx\n", m_NodeId, ulLOFLow, hr); + swprintf(Buffer, L"CBDALNBInfo::put_LocalOscillatorFrequencyLowBand: m_NodeId %lu ulLOFLow %lu hr %lx\n", m_NodeId, ulLOFLow, hr); OutputDebugStringW(Buffer); #endif @@ -111,14 +111,14 @@ CBDALNBInfo::put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow) HRESULT STDMETHODCALLTYPE -CBDALNBInfo::get_LocalOscilatorFrequencyLowBand(ULONG *pulLOFLow) +CBDALNBInfo::get_LocalOscillatorFrequencyLowBand(ULONG *pulLOFLow) { return E_NOINTERFACE; } HRESULT STDMETHODCALLTYPE -CBDALNBInfo::put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh) +CBDALNBInfo::put_LocalOscillatorFrequencyHighBand(ULONG ulLOFHigh) { KSP_NODE Node; HRESULT hr; @@ -132,7 +132,7 @@ CBDALNBInfo::put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh) #ifdef BDAPLGIN_TRACE WCHAR Buffer[100]; - swprintf(Buffer, L"CBDALNBInfo::put_LocalOscilatorFrequencyHighBand: m_NodeId %lu ulLOFHigh %lu hr %lx\n", m_NodeId, ulLOFHigh, hr); + swprintf(Buffer, L"CBDALNBInfo::put_LocalOscillatorFrequencyHighBand: m_NodeId %lu ulLOFHigh %lu hr %lx\n", m_NodeId, ulLOFHigh, hr); OutputDebugStringW(Buffer); #endif @@ -141,7 +141,7 @@ CBDALNBInfo::put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh) HRESULT STDMETHODCALLTYPE -CBDALNBInfo::get_LocalOscilatorFrequencyHighBand(ULONG *pulLOFHigh) +CBDALNBInfo::get_LocalOscillatorFrequencyHighBand(ULONG *pulLOFHigh) { return E_NOINTERFACE; } diff --git a/reactos/dll/directx/d3d9/d3d9_device.c b/reactos/dll/directx/d3d9/d3d9_device.c index 100d2fdb38b..b29a0bd2e1f 100644 --- a/reactos/dll/directx/d3d9/d3d9_device.c +++ b/reactos/dll/directx/d3d9/d3d9_device.c @@ -499,7 +499,7 @@ HRESULT WINAPI IDirect3DDevice9Base_Reset(LPDIRECT3DDEVICE9 iface, D3DPRESENT_PA * @param CONST RGNDATA* pDirtyRegion * A pointer to a RGNDATA structure representing an area of the back buffer to display where * NULL means the whole back buffer. This parameter MUST be NULL unless the back buffer -* was created with the D3DSWAPEFFECT_COPY flag. This is an opimization region only. +* was created with the D3DSWAPEFFECT_COPY flag. This is an optimization region only. * * @return HRESULT * If the method successfully displays the back buffer content, the return value is D3D_OK. diff --git a/reactos/dll/directx/d3d9/d3d9_impl.c b/reactos/dll/directx/d3d9/d3d9_impl.c index b593383c4a3..1f4d73ed518 100644 --- a/reactos/dll/directx/d3d9/d3d9_impl.c +++ b/reactos/dll/directx/d3d9/d3d9_impl.c @@ -242,7 +242,7 @@ static UINT WINAPI IDirect3D9Impl_GetAdapterModeCount(LPDIRECT3D9 iface, UINT Ad * * @param UINT Mode * Index within the pixel format to be returned. -* The maximym value for this is the value returned by IDirect3D9::GetAdapterModeCount() - 1. +* The maximum value for this is the value returned by IDirect3D9::GetAdapterModeCount() - 1. * * @param D3DDISPLAYMODE* pMode * Pointer to a D3DDISPLAYMODE structure to be filled with the display mode information @@ -434,7 +434,7 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceType(LPDIRECT3D9 iface, UINT Ada if (TRUE == Windowed && TRUE == IsExtendedFormat(DisplayFormat)) { - DPRINT1("Extended diplay modes can only be used in fullscreen mode"); + DPRINT1("Extended display modes can only be used in fullscreen mode"); UNLOCK_D3D9(); return D3DERR_NOTAVAILABLE; } @@ -623,7 +623,7 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceFormat(LPDIRECT3D9 iface, UINT A if (RType != D3DRTYPE_TEXTURE) { - DPRINT1("Invalid Usage speficied, D3DUSAGE_DMAP must be combined with RType D3DRTYPE_TEXTURE"); + DPRINT1("Invalid Usage specified, D3DUSAGE_DMAP must be combined with RType D3DRTYPE_TEXTURE"); UNLOCK_D3D9(); return D3DERR_INVALIDCALL; } @@ -664,7 +664,7 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceMultiSampleType(LPDIRECT3D9 ifac * One of the D3DDEVTYPE enum members. * * @param D3DFORMAT AdapterFormat -* One of the D3DFORMAT enum members except D3DFMT_UNKNOWN that the display adapter mode where the test should occurr. +* One of the D3DFORMAT enum members except D3DFMT_UNKNOWN that the display adapter mode where the test should occur. * * @param D3DFORMAT RenderTargetFormat * One of the D3DFORMAT enum members except D3DFMT_UNKNOWN for the display adapter mode's render target format to be tested. diff --git a/reactos/dll/directx/d3d9/d3d9_mipmap.c b/reactos/dll/directx/d3d9/d3d9_mipmap.c index f950cf6816f..2d99bd9f50c 100644 --- a/reactos/dll/directx/d3d9/d3d9_mipmap.c +++ b/reactos/dll/directx/d3d9/d3d9_mipmap.c @@ -90,7 +90,7 @@ HRESULT WINAPI D3D9MipMap_GetDevice(LPDIRECT3DTEXTURE9 iface, IDirect3DDevice9** if (FAILED(D3D9BaseObject_GetDevice(&This->BaseTexture.BaseResource.BaseObject, ppDevice))) { - DPRINT1("Invalid This parameter speficied"); + DPRINT1("Invalid This parameter specified"); UNLOCK_D3DDEVICE9(); return D3DERR_INVALIDDEVICE; } diff --git a/reactos/dll/directx/d3d9/d3d9_swapchain.c b/reactos/dll/directx/d3d9/d3d9_swapchain.c index 32217c0e5c4..c348e469f16 100644 --- a/reactos/dll/directx/d3d9/d3d9_swapchain.c +++ b/reactos/dll/directx/d3d9/d3d9_swapchain.c @@ -118,7 +118,7 @@ static HRESULT WINAPI Direct3DSwapChain9_GetDevice(LPDIRECT3DSWAPCHAIN9 iface, I if (FAILED(D3D9BaseObject_GetDevice(&This->BaseObject, ppDevice))) { - DPRINT1("Invalid This parameter speficied"); + DPRINT1("Invalid This parameter specified"); UNLOCK_D3DDEVICE9(); return D3DERR_INVALIDDEVICE; } diff --git a/reactos/dll/directx/ddraw/Ddraw/GetCaps.c b/reactos/dll/directx/ddraw/Ddraw/GetCaps.c index 632311722de..e4730c81082 100644 --- a/reactos/dll/directx/ddraw/Ddraw/GetCaps.c +++ b/reactos/dll/directx/ddraw/Ddraw/GetCaps.c @@ -9,7 +9,7 @@ /* TODO * lpddNLVHELCaps and lpddNLVCaps - * Thouse two can be null or inviald in lpGBL + * Thouse two can be null or invalid in lpGBL * we need add code in startup to detect if we have lpddNLVCaps set * ms HEL does not support lpddNLVHELCaps shall we do that ? * ms HEL does not support dwVidMemTotal and dwVidMemFree shall we implement a emulate of them ? diff --git a/reactos/dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c b/reactos/dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c index 4b2ddae460a..358d2e4a4c1 100644 --- a/reactos/dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c +++ b/reactos/dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c @@ -8,7 +8,7 @@ */ /* TODO - * We need adding digtial signarture detections for the drivers + * We need adding digital signature detections for the drivers * and count out which level the signtature driver got, the value * shall be save to pDDDI->dwWHQLLevel, But I do not known how todo * this part yet, That is only missing feature in this functions diff --git a/reactos/dll/directx/ddraw/Ddraw/ddraw.h b/reactos/dll/directx/ddraw/Ddraw/ddraw.h index a216887f26c..928d3aa50fd 100644 --- a/reactos/dll/directx/ddraw/Ddraw/ddraw.h +++ b/reactos/dll/directx/ddraw/Ddraw/ddraw.h @@ -229,7 +229,7 @@ DWORD CALLBACK HelDdSurfSetColorKey(LPDDHAL_SETCOLORKEYDATA lpSetColorKeyData); DWORD CALLBACK HelDdSurfSetOverlayPosition(LPDDHAL_SETOVERLAYPOSITIONDATA lpSetOverlayPositionData); DWORD CALLBACK HelDdSurfSetPalette(LPDDHAL_SETPALETTEDATA lpSetPaletteData); DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData); -DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOveryLayData); +DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOverLayData); diff --git a/reactos/dll/directx/ddraw/Ddraw/ddraw_displaymode.c b/reactos/dll/directx/ddraw/Ddraw/ddraw_displaymode.c index 4db86ae78e2..cf55e232150 100644 --- a/reactos/dll/directx/ddraw/Ddraw/ddraw_displaymode.c +++ b/reactos/dll/directx/ddraw/Ddraw/ddraw_displaymode.c @@ -380,7 +380,7 @@ Main_DirectDraw_GetDisplayMode (LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pD } else { - // FIXME: More stucture members might need to be filled + // FIXME: More structure members might need to be filled pDDSD->dwFlags |= DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT | DDSD_PITCH | DDSD_REFRESHRATE; pDDSD->dwHeight = This->lpLcl->lpGbl->vmiData.dwDisplayHeight; @@ -416,7 +416,7 @@ Main_DirectDraw_GetDisplayMode4 (LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC2 } else { - // FIXME: More stucture members might need to be filled + // FIXME: More structure members might need to be filled pDDSD->dwFlags |= DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT | DDSD_PITCH | DDSD_REFRESHRATE; pDDSD->dwHeight = This->lpLcl->lpGbl->vmiData.dwDisplayHeight; diff --git a/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c b/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c index 6d7b271fb1f..94072495db4 100644 --- a/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c +++ b/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c @@ -45,7 +45,7 @@ Main_DirectDraw_QueryInterface (LPDDRAWI_DIRECTDRAW_INT This, _SEH2_TRY { /* FIXME - the D3D object can be optained from here + the D3D object can be obtained from here Direct3D7 */ if (IsEqualGUID(&IID_IDirectDraw7, id)) @@ -161,7 +161,7 @@ Main_DirectDraw_AddRef (LPDDRAWI_DIRECTDRAW_INT This) if (This->lpLcl->lpGbl != NULL) { - /* Increment the gobal internal ref counter */ + /* Increment the global internal ref counter */ This->lpLcl->lpGbl->dwRefCnt++; } } @@ -214,7 +214,7 @@ Main_DirectDraw_Release (LPDDRAWI_DIRECTDRAW_INT This) if ( This->lpLcl->lpGbl->dwRefCnt == 0) { - // set resoltion back to the one in registry + // set resolution back to the one in registry /*if(This->cooperative_level & DDSCL_EXCLUSIVE) { ChangeDisplaySettings(NULL, 0); @@ -254,7 +254,7 @@ Main_DirectDraw_Initialize (LPDDRAWI_DIRECTDRAW_INT This, LPGUID lpGUID) * @name DDraw->Compact * @implemented * -* In exlusive mode the function DDraw->Compact returns DERR_NOEXCLUSIVEMODE, otherwise it returns DD_OK +* In exclusive mode the function DDraw->Compact returns DERR_NOEXCLUSIVEMODE, otherwise it returns DD_OK * * @return * Returns only error code DD_OK or DERR_NOEXCLUSIVEMODE @@ -325,7 +325,7 @@ Main_DirectDraw_GetAvailableVidMem4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSCAPS2 dds _SEH2_TRY { - // There is no HEL implentation of this api + // There is no HEL implementation of this api if (!(This->lpLcl->lpDDCB->HALDDMiscellaneous.dwFlags & DDHAL_MISCCB32_GETAVAILDRIVERMEMORY) || (This->lpLcl->lpGbl->dwFlags & DDRAWI_NOHARDWARE) ) { @@ -465,7 +465,7 @@ Main_DirectDraw_GetFourCCCodes(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpNumCodes, /* - * We can optain the version of the directdraw object by compare the + * We can obtain the version of the directdraw object by compare the * vtl table pointer from iface we do not need pass which version * we whant to use * @@ -539,7 +539,7 @@ Main_DirectDraw_CreateSurface4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC2 pD return ret; } -/* 5 of 31 DirectDraw7_Vtable api are working simluare to windows */ +/* 5 of 31 DirectDraw7_Vtable api are working similar to windows */ /* 8 of 31 DirectDraw7_Vtable api are under devloping / testing */ HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, diff --git a/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c b/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c index e1e4eae11fa..575ba88df6c 100644 --- a/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c +++ b/reactos/dll/directx/ddraw/Ddraw/ddraw_stubs.c @@ -10,7 +10,7 @@ #include "rosdraw.h" /* - * Status: Implentation removed due to rewrite + * Status: Implementation removed due to rewrite */ HRESULT WINAPI @@ -58,7 +58,7 @@ Main_DirectDraw_EnumSurfaces7(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, } /* - * Status: Implentation removed due to rewrite + * Status: Implementation removed due to rewrite */ HRESULT WINAPI Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This) @@ -91,7 +91,7 @@ Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbI } /* - * Status: Implentation removed due to rewrite + * Status: Implementation removed due to rewrite */ HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags, diff --git a/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c b/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c index a8ea89f953a..cd0be94f2c1 100644 --- a/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c +++ b/reactos/dll/directx/ddraw/Surface/callbacks_surf_hel.c @@ -163,7 +163,7 @@ DWORD CALLBACK HelDdSurfLock(LPDDHAL_LOCKDATA lpLockData) DWORD CALLBACK HelDdSurfreserved4(DWORD *lpPtr) { - /* This api is not doucmented by MS, keep it stubbed */ + /* This api is not documented by MS, keep it stubbed */ DX_STUB; } @@ -205,7 +205,7 @@ DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData) { /* Create a memory bitmap to store a copy of current hdc surface */ - /* fixme the rcarea are not store in the struct yet so the data will look corupted */ + /* fixme the rcarea are not store in the struct yet so the data will look corrupted */ hImage = CreateCompatibleBitmap (hDC, lpUnLockData->lpDDSurface->lpGbl->wWidth, lpUnLockData->lpDDSurface->lpGbl->wHeight); /* Create a memory hdc so we can draw on our current memory bitmap */ @@ -249,7 +249,7 @@ DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData) return DDHAL_DRIVER_HANDLED; } -DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOveryLayData) +DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOverLayData) { DX_STUB; } diff --git a/reactos/dll/directx/ddraw/Surface/createsurface.c b/reactos/dll/directx/ddraw/Surface/createsurface.c index e46d8c9aa5f..b38aaec6465 100644 --- a/reactos/dll/directx/ddraw/Surface/createsurface.c +++ b/reactos/dll/directx/ddraw/Surface/createsurface.c @@ -73,7 +73,7 @@ Internal_CreateSurface( LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD, /* * program does not need set the DDSD_LPSURFACE, - * if they forget set it, the ddraw will autoamtic + * if they forget set it, the ddraw will automatic * set it for system memory. */ if ( ((pDDSD->ddsCaps.dwCaps & DDSCAPS_SYSTEMMEMORY) == DDSCAPS_SYSTEMMEMORY) && @@ -229,7 +229,7 @@ Internal_CreateSurface( LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD, /* Fixme call on DdCanCreate then on DdCreateSurface createsurface data here */ - /* FIXME bIsDifferentPixelFormat being set to true or false with automatic detcitons */ + /* FIXME bIsDifferentPixelFormat being set to true or false with automatic detections */ mDdCanCreateSurface.bIsDifferentPixelFormat = FALSE; mDdCanCreateSurface.lpDD = pDDraw->lpLcl->lpGbl; diff --git a/reactos/dll/directx/ddraw/Surface/surface_main.c b/reactos/dll/directx/ddraw/Surface/surface_main.c index 0e6479e156e..5f20bcb2224 100644 --- a/reactos/dll/directx/ddraw/Surface/surface_main.c +++ b/reactos/dll/directx/ddraw/Surface/surface_main.c @@ -354,7 +354,7 @@ HRESULT WINAPI Main_DDrawSurface_Blt(LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT /* FIXME * compare so we do not write too far * ThisDest->lpLcl->lpGbl->wWidth; <- surface max width - * ThisDest->lpLcl->lpGbl->wHeight <- surface max heght + * ThisDest->lpLcl->lpGbl->wHeight <- surface max height * ThisDest->lpLcl->lpGbl->lPitch <- surface bpp */ @@ -377,7 +377,7 @@ HRESULT WINAPI Main_DDrawSurface_Blt(LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT /* FIXME * compare so we do not write too far * ThisDest->lpLcl->lpGbl->wWidth; <- surface max width - * ThisDest->lpLcl->lpGbl->wHeight <- surface max heght + * ThisDest->lpLcl->lpGbl->wHeight <- surface max height * ThisDest->lpLcl->lpGbl->lPitch <- surface bpp */ @@ -451,7 +451,7 @@ Main_DDrawSurface_Lock (LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT prect, return DDERR_INVALIDPARAMS; } - /* FIXME add a check see if lock suport or not */ + /* FIXME add a check see if lock support or not */ if (prect!=NULL) { @@ -494,7 +494,7 @@ Main_DDrawSurface_Lock (LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT prect, //if (pDDSD->dwSize == sizeof(DDSURFACEDESC2)) //{ // ZeroMemory(pDDSD,sizeof(DDSURFACEDESC2)); - // // FIXME the interanl mddsdPrimary shall be DDSURFACEDESC2 + // // FIXME the internal mddsdPrimary shall be DDSURFACEDESC2 // memcpy(pDDSD,&This->Surf->mddsdPrimary,sizeof(DDSURFACEDESC)); // pDDSD->dwSize = sizeof(DDSURFACEDESC2); //} diff --git a/reactos/dll/directx/ddraw/ddraw_structures.txt b/reactos/dll/directx/ddraw/ddraw_structures.txt index 0f896ddda4b..156c8f0c4f7 100644 --- a/reactos/dll/directx/ddraw/ddraw_structures.txt +++ b/reactos/dll/directx/ddraw/ddraw_structures.txt @@ -68,7 +68,7 @@ typedef struct _DDRAWI_DIRECTDRAW_GBL { LPDDRAWI_DIRECTDRAW_GBL lp16DD; // pointer to it self (DDRAWI_DIRECTDRAW_GBL) DWORD dwMaxOverlays; DWORD dwCurrOverlays; - DWORD dwMonitorFrequency; // current mointor freq, (nivida always set this to 0, it is a bug in nvida drv) + DWORD dwMonitorFrequency; // current monitor freq, (nvidia always set this to 0, it is a bug in nvidia drv) DDCORECAPS ddHELCaps; DWORD dwUnused2[50]; DDCOLORKEY ddckCKDestOverlay; diff --git a/reactos/dll/directx/ddraw/main.c b/reactos/dll/directx/ddraw/main.c index 1dd60994938..6391c011364 100644 --- a/reactos/dll/directx/ddraw/main.c +++ b/reactos/dll/directx/ddraw/main.c @@ -305,7 +305,7 @@ DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback, | D3DHAL_DP2VIEWPORTINFO | 0x04 - xxxx | --------------------------------------- - to calculate the end of the lpCmd buffer in this exmaple + to calculate the end of the lpCmd buffer in this example D3DHAL_DP2COMMAND->wStateCount * sizeof(D3DHAL_DP2VIEWPORTINFO); now you got number of bytes but we need to add the size of D3DHAL_DP2COMMAND to get this right. the end should be @@ -319,7 +319,7 @@ DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback, * The D3DParseUnknownCommand routine . * * @param lpCmd -* Is a typcast to LPD3DHAL_DP2COMMAND struct +* Is a typecast to LPD3DHAL_DP2COMMAND struct * typedef struct _D3DHAL_DP2COMMAND * { * BYTE bCommand; @@ -372,7 +372,7 @@ D3DParseUnknownCommand( LPVOID lpCmd, switch (dp2command->bCommand) { - /* check for vaild command, only 3 commands are vaild */ + /* check for valid command, only 3 commands are valid */ case D3DDP2OP_VIEWPORTINFO: *(PBYTE)lpRetCmd += ((dp2command->wStateCount * sizeof(D3DHAL_DP2VIEWPORTINFO)) + sizeof(D3DHAL_DP2COMMAND)); break; diff --git a/reactos/dll/directx/ddraw/rosdraw.h b/reactos/dll/directx/ddraw/rosdraw.h index 0f8af8dad72..bf67cc07b3b 100644 --- a/reactos/dll/directx/ddraw/rosdraw.h +++ b/reactos/dll/directx/ddraw/rosdraw.h @@ -48,7 +48,7 @@ extern IDirect3D7Vtbl IDirect3D7_Vtbl; /* Start up direct hal or hel * iface = a pointer to the com object - * pGUID = guid hardware acclations or software acclation this can be NULL + * pGUID = guid hardware accelerations or software acceleration this can be NULL * reenable = FALSE if we whant create a new directdraw com * = TRUE if we really whant rebuild the whole com interface (not in use) */ @@ -103,7 +103,7 @@ void CopyDDSurfDescToDDSurfDesc2(LPDDSURFACEDESC2 dst_pDesc, LPDDSURFACEDESC src /* DirectDraw Cleanup code only internal use */ VOID Cleanup(LPDDRAWI_DIRECTDRAW_INT iface); -/* own macro to alloc memmory */ +/* own macro to alloc memory */ /* #define DxHeapMemAlloc(m) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, m) @@ -184,9 +184,9 @@ VOID Hal_DirectDraw_Release (LPDIRECTDRAW7); /* use this macro to close - down the debuger text complete + down the debugger text complete no debuging at all, it will - crash ms debuger in VS + crash ms debugger in VS */ //#define DX_WINDBG_trace() @@ -197,12 +197,12 @@ VOID Hal_DirectDraw_Release (LPDIRECTDRAW7); /* - Use this macro if you want deboug in visual studio or + Use this macro if you want debug in visual studio or if you have a program to look at the _INT struct from ReactOS ddraw.dll or ms ddraw.dll, so you can see what value ms are being setup. - This macro will create allot warings and can not be help when you compile + This macro will create allot warnings and can not be help when you compile */ @@ -218,7 +218,7 @@ VOID Hal_DirectDraw_Release (LPDIRECTDRAW7); so you can figout what going wrong and what api are being call or if it hel or is it hal - This marco does not create warings when you compile + This marco does not create warnings when you compile */ #define DX_STUB \ diff --git a/reactos/dll/directx/ddraw/startup.c b/reactos/dll/directx/ddraw/startup.c index 91ed535e908..6383e7456cd 100644 --- a/reactos/dll/directx/ddraw/startup.c +++ b/reactos/dll/directx/ddraw/startup.c @@ -75,7 +75,7 @@ Create_DirectDraw (LPGUID pGUID, LPDIRECTDRAW* pIface, DX_STUB_str("2.linking\n"); - /* step 1.Alloc the new DDRAWI_DIRECTDRAW_INT for the lnking */ + /* step 1.Alloc the new DDRAWI_DIRECTDRAW_INT for the link */ DxHeapMemAlloc(newThis, sizeof(DDRAWI_DIRECTDRAW_INT)); if (newThis == NULL) { @@ -213,7 +213,7 @@ StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable) DxHeapMemAlloc( ddgbl.lpDDCBtmp , sizeof(DDHAL_CALLBACKS)); if (ddgbl.lpDDCBtmp == NULL) { - DX_STUB_str("Out of memmory\n"); + DX_STUB_str("Out of memory\n"); return DD_FALSE; } } @@ -500,7 +500,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable) } /* Some card disable the dx after it have been created so - * we are force reanble it + * we are force reenabling it */ if (!DdReenableDirectDrawObject(This->lpLcl->lpGbl, &newmode)) { @@ -650,7 +650,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable) { DWORD dwSize; DWORD dwFlags; - PDD_ALPHABLT AlphaBlt; // unsuse acoding msdn and always set to NULL + PDD_ALPHABLT AlphaBlt; // unsuse according to msdn and always set to NULL PDD_CREATESURFACEEX CreateSurfaceEx; PDD_GETDRIVERSTATE GetDriverState; PDD_DESTROYDDLOCAL DestroyDDLocal; diff --git a/reactos/dll/directx/dsound_new/capture.c b/reactos/dll/directx/dsound_new/capture.c index a79433b6d56..37b1dcc2877 100644 --- a/reactos/dll/directx/dsound_new/capture.c +++ b/reactos/dll/directx/dsound_new/capture.c @@ -187,7 +187,7 @@ CDirectSoundCapture_fnInitialize( return DSERR_ALREADYINITIALIZED; } - /* fixme mutual exlucsion */ + /* fixme mutual exclusion */ if (pcGuidDevice == NULL || IsEqualGUID(pcGuidDevice, &GUID_NULL)) { diff --git a/reactos/dll/directx/dsound_new/directsound.c b/reactos/dll/directx/dsound_new/directsound.c index 1727f89fe9d..1a61964207f 100644 --- a/reactos/dll/directx/dsound_new/directsound.c +++ b/reactos/dll/directx/dsound_new/directsound.c @@ -322,7 +322,7 @@ IDirectSound8_fnInitialize( return DSERR_ALREADYINITIALIZED; } - /* fixme mutual exlucsion */ + /* fixme mutual exclusion */ if (pcGuidDevice == NULL || IsEqualGUID(pcGuidDevice, &GUID_NULL)) { diff --git a/reactos/dll/directx/ksproxy/allocator.cpp b/reactos/dll/directx/ksproxy/allocator.cpp index 1a23dc96d8e..305dbcac702 100644 --- a/reactos/dll/directx/ksproxy/allocator.cpp +++ b/reactos/dll/directx/ksproxy/allocator.cpp @@ -75,7 +75,7 @@ protected: LONG m_cBuffers; LONG m_cbAlign; LONG m_cbPrefix; - BOOL m_Commited; + BOOL m_Committed; CRITICAL_SECTION m_CriticalSection; MediaSampleStack m_FreeList; MediaSampleList m_UsedList; @@ -118,7 +118,7 @@ CKsAllocator::CKsAllocator() : m_Ref(0), m_cBuffers(0), m_cbAlign(0), m_cbPrefix(0), - m_Commited(FALSE), + m_Committed(FALSE), m_FreeList(), m_UsedList(), m_Buffer(0), @@ -168,7 +168,7 @@ CKsAllocator::SetProperties( return VFW_E_ALREADY_COMMITTED; } - if (m_Commited) + if (m_Committed) { // need to decommit first LeaveCriticalSection(&m_CriticalSection); @@ -230,9 +230,9 @@ CKsAllocator::Commit() return NOERROR; } - if (m_Commited) + if (m_Committed) { - // already commited + // already committed LeaveCriticalSection(&m_CriticalSection); return NOERROR; } @@ -293,8 +293,8 @@ CKsAllocator::Commit() CurrentBuffer += Size; } - // we are now commited - m_Commited = true; + // we are now committed + m_Committed = true; LeaveCriticalSection(&m_CriticalSection); return S_OK; @@ -317,7 +317,7 @@ CKsAllocator::Decommit() return NOERROR; } - m_Commited = false; + m_Committed = false; if (m_Allocated != m_FreeList.size()) { @@ -348,7 +348,7 @@ CKsAllocator::GetBuffer( { IMediaSample * Sample = NULL; - if (!m_Commited) + if (!m_Committed) return VFW_E_NOT_COMMITTED; do diff --git a/reactos/dll/directx/ksproxy/ksproxy.cpp b/reactos/dll/directx/ksproxy/ksproxy.cpp index 5b13d9df2c9..9a034e1f754 100644 --- a/reactos/dll/directx/ksproxy/ksproxy.cpp +++ b/reactos/dll/directx/ksproxy/ksproxy.cpp @@ -225,7 +225,7 @@ KsGetMediaTypeCount( PKSMULTIPLE_ITEM MultipleItem; HRESULT hr; - /* try get contrained data ranges */ + /* try get constrained data ranges */ hr = KsGetMultiplePinFactoryItems(FilterHandle, PinFactoryId, KSPROPERTY_PIN_CONSTRAINEDDATARANGES, (PVOID*)&MultipleItem); /* check for failure*/ diff --git a/reactos/dll/directx/ksuser/ksuser.c b/reactos/dll/directx/ksuser/ksuser.c index 1b231674693..864483908fb 100644 --- a/reactos/dll/directx/ksuser/ksuser.c +++ b/reactos/dll/directx/ksuser/ksuser.c @@ -127,7 +127,7 @@ KsCreateAllocator(HANDLE ConnectionHandle, * Handle to use to create the clock * * @param PKSCLOCK_CREATE ClockCreate -* paramenter to use to create the clock +* parameter to use to create the clock * * @param PHANDLE ClockHandle * The new handle @@ -169,7 +169,7 @@ KsCreateClock(HANDLE ConnectionHandle, * requested for the connection. * @param ACCESS_MASK DesiredAccess -* Desrided access +* Desired access * * @param PHANDLE ConnectionHandle * connection handle passed @@ -179,7 +179,7 @@ KsCreateClock(HANDLE ConnectionHandle, * * @remarks. * The flag in PKSDATAFORMAT is not really document, -* to find it u need api mointor allot api and figout +* to find it u need api monitor allot api and figout * how it works, only flag I have found is the * KSDATAFORMAT_ATTRIBUTES flag, it doing a Align * of LONLONG size, it also round up it. @@ -222,7 +222,7 @@ KsCreatePin(HANDLE FilterHandle, * topology node parameters to use when it is create * * @param ACCESS_MASK DesiredAccess -* Desrided access +* Desired access * * @param PHANDLE NodeHandle * Location for the topology node handle diff --git a/reactos/dll/directx/msdvbnp/networkprovider.cpp b/reactos/dll/directx/msdvbnp/networkprovider.cpp index 3d53d981f75..3561888a6ab 100644 --- a/reactos/dll/directx/msdvbnp/networkprovider.cpp +++ b/reactos/dll/directx/msdvbnp/networkprovider.cpp @@ -59,7 +59,7 @@ public: HRESULT STDMETHODCALLTYPE GetNetworkType(GUID *pguidNetworkType); HRESULT STDMETHODCALLTYPE PutTuningSpace(REFGUID guidTuningSpace); HRESULT STDMETHODCALLTYPE GetTuningSpace(GUID *pguidTuingSpace); - HRESULT STDMETHODCALLTYPE RegisterDeviceFilter(IUnknown *pUnkFilterControl, ULONG *ppvRegisitrationContext); + HRESULT STDMETHODCALLTYPE RegisterDeviceFilter(IUnknown *pUnkFilterControl, ULONG *ppvRegistrationContext); HRESULT STDMETHODCALLTYPE UnRegisterDeviceFilter(ULONG pvRegistrationContext); CNetworkProvider(LPCGUID ClassID); @@ -454,7 +454,7 @@ HRESULT STDMETHODCALLTYPE CNetworkProvider::RegisterDeviceFilter( IUnknown *pUnkFilterControl, - ULONG *ppvRegisitrationContext) + ULONG *ppvRegistrationContext) { HRESULT hr; IBDA_DeviceControl * pDeviceControl = NULL; @@ -462,7 +462,7 @@ CNetworkProvider::RegisterDeviceFilter( OutputDebugStringW(L"CNetworkProvider::RegisterDeviceFilter\n"); - if (!pUnkFilterControl || !ppvRegisitrationContext) + if (!pUnkFilterControl || !ppvRegistrationContext) { //invalid argument return E_POINTER; @@ -497,7 +497,7 @@ CNetworkProvider::RegisterDeviceFilter( pTopology->Release(); // store registration ctx - *ppvRegisitrationContext = (m_DeviceFilters.size() | DEVICE_FILTER_MASK); + *ppvRegistrationContext = (m_DeviceFilters.size() | DEVICE_FILTER_MASK); // store filter m_DeviceFilters.push_back(pUnkFilterControl); diff --git a/reactos/dll/directx/msdvbnp/scanningtuner.cpp b/reactos/dll/directx/msdvbnp/scanningtuner.cpp index e866768eda3..0fb22786487 100644 --- a/reactos/dll/directx/msdvbnp/scanningtuner.cpp +++ b/reactos/dll/directx/msdvbnp/scanningtuner.cpp @@ -574,14 +574,14 @@ CScanningTunner::SetLnbInfo( { HRESULT hr; - hr = pLnbInfo->put_LocalOscilatorFrequencyLowBand(ulLOFLow); + hr = pLnbInfo->put_LocalOscillatorFrequencyLowBand(ulLOFLow); if (hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NOT_FOUND) || hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_SET_NOT_FOUND)) hr = NOERROR; if (FAILED(hr)) return hr; - hr = pLnbInfo->put_LocalOscilatorFrequencyHighBand(ulLOFHigh); + hr = pLnbInfo->put_LocalOscillatorFrequencyHighBand(ulLOFHigh); if (hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NOT_FOUND) || hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_SET_NOT_FOUND)) hr = NOERROR; diff --git a/reactos/dll/ntdll/csr/connect.c b/reactos/dll/ntdll/csr/connect.c index 692fe7536c0..a1a95096e37 100644 --- a/reactos/dll/ntdll/csr/connect.c +++ b/reactos/dll/ntdll/csr/connect.c @@ -262,7 +262,7 @@ CsrClientConnectToServer(IN PWSTR ObjectDirectory, /* Now check if connection info is given */ if (ConnectionInfo) { - /* Well, we're defintely in a client now */ + /* Well, we're definitely in a client now */ InsideCsrProcess = FALSE; /* Do we have a connection to CSR yet? */ diff --git a/reactos/dll/ntdll/dbg/dbgui.c b/reactos/dll/ntdll/dbg/dbgui.c index 119ea7d63bf..80b0a1dcb5e 100644 --- a/reactos/dll/ntdll/dbg/dbgui.c +++ b/reactos/dll/ntdll/dbg/dbgui.c @@ -272,14 +272,14 @@ DbgUiConvertStateChangeStructure(IN PDBGUI_WAIT_STATE_CHANGE WaitStateChange, */ NTSTATUS NTAPI -DbgUiWaitStateChange(OUT PDBGUI_WAIT_STATE_CHANGE DbgUiWaitStateCange, +DbgUiWaitStateChange(OUT PDBGUI_WAIT_STATE_CHANGE WaitStateChange, IN PLARGE_INTEGER TimeOut OPTIONAL) { /* Tell the kernel to wait */ return NtWaitForDebugEvent(NtCurrentTeb()->DbgSsReserved[1], TRUE, TimeOut, - DbgUiWaitStateCange); + WaitStateChange); } /* diff --git a/reactos/dll/ntdll/ldr/ldrinit.c b/reactos/dll/ntdll/ldr/ldrinit.c index 1d5468d5e9a..71c224010cf 100644 --- a/reactos/dll/ntdll/ldr/ldrinit.c +++ b/reactos/dll/ntdll/ldr/ldrinit.c @@ -839,7 +839,7 @@ LdrpRunInitializeRoutines(IN PCONTEXT Context OPTIONAL) NextEntry = NextEntry->Flink; while (NextEntry != ListHead) { - /* Get the Data Entrry */ + /* Get the Data Entry */ LdrEntry = CONTAINING_RECORD(NextEntry, LDR_DATA_TABLE_ENTRY, InInitializationOrderLinks); /* FIXME: Verify NX Compat */ @@ -1338,7 +1338,7 @@ LdrpInitializeExecutionOptions(PUNICODE_STRING ImagePathName, PPEB Peb, PHANDLE /* Return error if we were not provided a pointer where to save the options key handle */ if (!OptionsKey) return STATUS_INVALID_HANDLE; - /* Zero initialize the optinos key pointer */ + /* Zero initialize the options key pointer */ *OptionsKey = NULL; /* Open the options key */ @@ -1523,7 +1523,7 @@ LdrpInitializeProcess(IN PCONTEXT Context, IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR, &ComSectionSize)) { - /* Remeber this for later */ + /* Remember this for later */ IsDotNetImage = TRUE; } diff --git a/reactos/dll/ntdll/ldr/ldrpe.c b/reactos/dll/ntdll/ldr/ldrpe.c index a93ca3f56f2..10d128f2c96 100644 --- a/reactos/dll/ntdll/ldr/ldrpe.c +++ b/reactos/dll/ntdll/ldr/ldrpe.c @@ -148,7 +148,7 @@ LdrpSnapIAT(IN PLDR_DATA_TABLE_ENTRY ExportLdrEntry, /* We'll only do forwarders. Get the import name */ ImportName = (LPSTR)((ULONG_PTR)ImportLdrEntry->DllBase + IatEntry->Name); - /* Get the list of forwaders */ + /* Get the list of forwarders */ ForwarderChain = IatEntry->ForwarderChain; /* Loop them */ @@ -288,7 +288,7 @@ LdrpHandleOneNewFormatImportDescriptor(IN LPWSTR DllPath OPTIONAL, /* Get the name's VA */ BoundImportName = (LPSTR)FirstEntry + BoundEntry->OffsetModuleName; - /* Show debug mesage */ + /* Show debug message */ if (ShowSnaps) { DPRINT1("LDR: %wZ bound to %s\n", &LdrEntry->BaseDllName, BoundImportName); diff --git a/reactos/dll/ntdll/ldr/ldrutils.c b/reactos/dll/ntdll/ldr/ldrutils.c index 16be082ab2e..84ab7bf3572 100644 --- a/reactos/dll/ntdll/ldr/ldrutils.c +++ b/reactos/dll/ntdll/ldr/ldrutils.c @@ -21,7 +21,7 @@ BOOLEAN g_ShimsEnabled; /* FUNCTIONS *****************************************************************/ -/* NOTE: Remove thise one once our actctx support becomes better */ +/* NOTE: Remove this one once our actctx support becomes better */ NTSTATUS find_actctx_dll( LPCWSTR libname, WCHAR *fullname ) { static const WCHAR winsxsW[] = {'\\','w','i','n','s','x','s','\\'}; @@ -2290,7 +2290,7 @@ LdrpGetProcedureAddress(IN PVOID BaseAddress, return STATUS_INVALID_PARAMETER; } - /* Set the orginal flag in the thunk */ + /* Set the original flag in the thunk */ Thunk.u1.Ordinal = Ordinal | IMAGE_ORDINAL_FLAG; } diff --git a/reactos/dll/ntdll/rtl/libsupp.c b/reactos/dll/ntdll/rtl/libsupp.c index b0bf8eaba63..aa8056ee5d6 100644 --- a/reactos/dll/ntdll/rtl/libsupp.c +++ b/reactos/dll/ntdll/rtl/libsupp.c @@ -598,7 +598,7 @@ NTSTATUS NTAPI RtlComputeImportTableHash(IN HANDLE FileHandle, OUT PCHAR Hash, - IN ULONG ImporTTableHashSize) + IN ULONG ImportTableHashSize) { UNIMPLEMENTED; return STATUS_NOT_IMPLEMENTED; diff --git a/reactos/dll/opengl/mesa/main/get.c b/reactos/dll/opengl/mesa/main/get.c index 3f1144a8d93..1a388cd20b2 100644 --- a/reactos/dll/opengl/mesa/main/get.c +++ b/reactos/dll/opengl/mesa/main/get.c @@ -24,7 +24,7 @@ #include -/* This is a table driven implemetation of the glGet*v() functions. +/* This is a table driven implementation of the glGet*v() functions. * The basic idea is that most getters just look up an int somewhere * in struct gl_context and then convert it to a bool or float according to * which of glGetIntegerv() glGetBooleanv() etc is being called. diff --git a/reactos/dll/opengl/mesa/tnl/t_vertex.c b/reactos/dll/opengl/mesa/tnl/t_vertex.c index 6d5aca3bf7c..039c18a4365 100644 --- a/reactos/dll/opengl/mesa/tnl/t_vertex.c +++ b/reactos/dll/opengl/mesa/tnl/t_vertex.c @@ -432,7 +432,7 @@ void _tnl_build_vertices( struct gl_context *ctx, } /* Emit VB vertices start..end to dest. Note that VB vertex at - * postion start will be emitted to dest at position zero. + * position start will be emitted to dest at position zero. */ void *_tnl_emit_vertices_to_buffer( struct gl_context *ctx, GLuint start, @@ -449,7 +449,7 @@ void *_tnl_emit_vertices_to_buffer( struct gl_context *ctx, } /* Emit indexed VB vertices start..end to dest. Note that VB vertex at - * postion start will be emitted to dest at position zero. + * position start will be emitted to dest at position zero. */ void *_tnl_emit_indexed_vertices_to_buffer( struct gl_context *ctx, diff --git a/reactos/dll/opengl/mesa/vbo/vbo_exec_api.c b/reactos/dll/opengl/mesa/vbo/vbo_exec_api.c index 56e3fea559b..5ecb00fb20d 100644 --- a/reactos/dll/opengl/mesa/vbo/vbo_exec_api.c +++ b/reactos/dll/opengl/mesa/vbo/vbo_exec_api.c @@ -793,7 +793,7 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode ) return; } - /* Heuristic: attempt to isolate attributes occuring outside + /* Heuristic: attempt to isolate attributes occurring outside * begin/end pairs. */ if (exec->vtx.vertex_size && !exec->vtx.attrsz[0]) diff --git a/reactos/dll/opengl/mesa/vbo/vbo_save.h b/reactos/dll/opengl/mesa/vbo/vbo_save.h index 4d4a5bf1710..0bba7516d65 100644 --- a/reactos/dll/opengl/mesa/vbo/vbo_save.h +++ b/reactos/dll/opengl/mesa/vbo/vbo_save.h @@ -90,9 +90,9 @@ struct vbo_save_vertex_list { * changes, so don't make too big or apps which dynamically create * dlists and use only a few times will suffer. * - * Consider stategy of uploading regions from the VBO on demand in the + * Consider strategy of uploading regions from the VBO on demand in the * case of dynamic vbos. Then make the dlist code signal that - * likelyhood as it occurs. No reason we couldn't change usage + * likelihood as it occurs. No reason we couldn't change usage * internally even though this probably isn't allowed for client VBOs? */ #define VBO_SAVE_BUFFER_SIZE (8*1024) /* dwords */ diff --git a/reactos/dll/opengl/mesa/x86/read_rgba_span_x86.S b/reactos/dll/opengl/mesa/x86/read_rgba_span_x86.S index 3be4515b114..f3091bf1ce6 100644 --- a/reactos/dll/opengl/mesa/x86/read_rgba_span_x86.S +++ b/reactos/dll/opengl/mesa/x86/read_rgba_span_x86.S @@ -361,7 +361,7 @@ _generic_read_RGBA_span_BGRA8888_REV_SSE2: /* If the source pointer isn't a multiple of 16 we have to process * a few pixels the "slow" way to get the address aligned for - * the SSE fetch intsructions. + * the SSE fetch instructions. */ negl %eax diff --git a/reactos/dll/opengl/mesa/x86/rtasm/x86sse.c b/reactos/dll/opengl/mesa/x86/rtasm/x86sse.c index c93faba7928..bb5d7cd81cf 100644 --- a/reactos/dll/opengl/mesa/x86/rtasm/x86sse.c +++ b/reactos/dll/opengl/mesa/x86/rtasm/x86sse.c @@ -1146,7 +1146,7 @@ void mmx_movq( struct x86_function *p, */ -/* Retreive a reference to one of the function arguments, taking into +/* Retrieve a reference to one of the function arguments, taking into * account any push/pop activity: */ struct x86_reg x86_fn_arg( struct x86_function *p, diff --git a/reactos/dll/opengl/mesa/x86/rtasm/x86sse.h b/reactos/dll/opengl/mesa/x86/rtasm/x86sse.h index f6282f5bd41..9c518820a17 100644 --- a/reactos/dll/opengl/mesa/x86/rtasm/x86sse.h +++ b/reactos/dll/opengl/mesa/x86/rtasm/x86sse.h @@ -75,7 +75,7 @@ enum sse_cc { #define cc_Z cc_E #define cc_NZ cc_NE -/* Begin/end/retreive function creation: +/* Begin/end/retrieve function creation: */ @@ -246,8 +246,8 @@ void x87_fucom( struct x86_function *p, struct x86_reg arg ); -/* Retreive a reference to one of the function arguments, taking into - * account any push/pop activity. Note - doesn't track explict +/* Retrieve a reference to one of the function arguments, taking into + * account any push/pop activity. Note - doesn't track explicit * manipulation of ESP by other instructions. */ struct x86_reg x86_fn_arg( struct x86_function *p, unsigned arg ); diff --git a/reactos/dll/opengl/opengl32/swimpl.c b/reactos/dll/opengl/opengl32/swimpl.c index d2957c33460..4e4cfebcbc9 100644 --- a/reactos/dll/opengl/opengl32/swimpl.c +++ b/reactos/dll/opengl/opengl32/swimpl.c @@ -117,7 +117,7 @@ sw_get_string( struct gl_context *ctx, GLenum name ) static void sw_update_state( struct gl_context *ctx, GLuint new_state ) { - /* easy - just propogate */ + /* easy - just propagate */ _swrast_InvalidateState( ctx, new_state ); _swsetup_InvalidateState( ctx, new_state ); _tnl_InvalidateState( ctx, new_state ); diff --git a/reactos/dll/shellext/netshell/shfldr_netconnect.cpp b/reactos/dll/shellext/netshell/shfldr_netconnect.cpp index c828f87c4d8..e168e132fa3 100644 --- a/reactos/dll/shellext/netshell/shfldr_netconnect.cpp +++ b/reactos/dll/shellext/netshell/shfldr_netconnect.cpp @@ -235,7 +235,7 @@ HRESULT WINAPI CNetworkConnections::ParseDisplayName ( } /************************************************************************** - * CreateNetConnectEnumListss() + * CreateNetConnectEnumList() */ static BOOL CreateNetConnectEnumList(CEnumIDList *list, DWORD dwFlags) { diff --git a/reactos/dll/shellext/ntobjshex/ntobjenum.cpp b/reactos/dll/shellext/ntobjshex/ntobjenum.cpp index e34a74725f8..08958ff10e7 100644 --- a/reactos/dll/shellext/ntobjshex/ntobjenum.cpp +++ b/reactos/dll/shellext/ntobjshex/ntobjenum.cpp @@ -42,7 +42,7 @@ const LPCWSTR ObjectTypeNames [] = { L"Mutant", L"Section", L"Event", L"Semaphore", L"Timer", L"Key", L"EventPair", L"IoCompletion", L"Device", L"File", L"Controller", L"Profile", - L"Type", L"Desktop", L"WindowStatiom", L"Driver", + L"Type", L"Desktop", L"WindowStation", L"Driver", L"Token", L"Process", L"Thread", L"Adapter", L"Port", 0 }; @@ -86,7 +86,7 @@ static DWORD NtOpenObject(OBJECT_TYPE type, PHANDLE phandle, DWORD access, LPCWS case TIMER_OBJECT: return NtOpenTimer(phandle, access, &open_struct); case KEY_OBJECT: return NtOpenKey(phandle, access, &open_struct); case EVENTPAIR_OBJECT: return NtOpenEventPair(phandle, access, &open_struct); - case IOCOMPLETITION_OBJECT: return NtOpenIoCompletion(phandle, access, &open_struct); + case IOCOMPLETION_OBJECT: return NtOpenIoCompletion(phandle, access, &open_struct); case FILE_OBJECT: return NtOpenFile(phandle, access, &open_struct, &ioStatusBlock, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, 0); default: return ERROR_INVALID_FUNCTION; diff --git a/reactos/dll/shellext/ntobjshex/ntobjenum.h b/reactos/dll/shellext/ntobjshex/ntobjenum.h index 76b8e43d99d..51937df1b57 100644 --- a/reactos/dll/shellext/ntobjshex/ntobjenum.h +++ b/reactos/dll/shellext/ntobjshex/ntobjenum.h @@ -27,7 +27,7 @@ extern "C" { enum OBJECT_TYPE { DIRECTORY_OBJECT, SYMBOLICLINK_OBJECT, MUTANT_OBJECT, SECTION_OBJECT, EVENT_OBJECT, SEMAPHORE_OBJECT, - TIMER_OBJECT, KEY_OBJECT, EVENTPAIR_OBJECT, IOCOMPLETITION_OBJECT, + TIMER_OBJECT, KEY_OBJECT, EVENTPAIR_OBJECT, IOCOMPLETION_OBJECT, DEVICE_OBJECT, FILE_OBJECT, CONTROLLER_OBJECT, PROFILE_OBJECT, TYPE_OBJECT, DESKTOP_OBJECT, WINDOWSTATION_OBJECT, DRIVER_OBJECT, TOKEN_OBJECT, PROCESS_OBJECT, THREAD_OBJECT, ADAPTER_OBJECT, PORT_OBJECT, @@ -82,7 +82,7 @@ struct RegPidlEntry union { struct { - // For Value entries, this contains the value contents, if it's resonably small. + // For Value entries, this contains the value contents, if it's reasonably small. // For Key entries, this contains the custom class name DWORD contentType; USHORT contentsLength; diff --git a/reactos/dll/shellext/stobject/lang/de-DE.rc b/reactos/dll/shellext/stobject/lang/de-DE.rc index 3f0205d77d4..988546fe86a 100644 --- a/reactos/dll/shellext/stobject/lang/de-DE.rc +++ b/reactos/dll/shellext/stobject/lang/de-DE.rc @@ -34,7 +34,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - Laufwerk (%s)" IDS_HOTPLUG_DRIVES " - Laufwerke (%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "Diese Hardware erfordert ""Sicheres Entfernen""" + IDS_HOTPLUG_REQUIRES "Diese Hardware erfordert ""Sicheres Entfernen""" IDS_HOTPLUG_CLICK "Klicken Sie auf dieses Symbol, und wählen Sie die zu entfernende Hardware, bevor Sie diese Hardware entfernen." //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/en-US.rc b/reactos/dll/shellext/stobject/lang/en-US.rc index 3269fd2a995..eb35b77974b 100644 --- a/reactos/dll/shellext/stobject/lang/en-US.rc +++ b/reactos/dll/shellext/stobject/lang/en-US.rc @@ -34,7 +34,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - Drive(%s)" IDS_HOTPLUG_DRIVES " - Drives(%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "This hardware requires ""Safe Removal""" + IDS_HOTPLUG_REQUIRES "This hardware requires ""Safe Removal""" IDS_HOTPLUG_CLICK "Before removing this hardware, click on this icon and select the hardware you want to remove." //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/es-ES.rc b/reactos/dll/shellext/stobject/lang/es-ES.rc index 24692bf863b..37fb36fbb6e 100644 --- a/reactos/dll/shellext/stobject/lang/es-ES.rc +++ b/reactos/dll/shellext/stobject/lang/es-ES.rc @@ -35,7 +35,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - Unidad(%s)" IDS_HOTPLUG_DRIVES " - Unidades(%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "Este dispositivo necesita una ""desconexión segura""" + IDS_HOTPLUG_REQUIRES "Este dispositivo necesita una ""desconexión segura""" IDS_HOTPLUG_CLICK "Antes de desconectar el dispositivo, haga clic en este icono y eliga el dispositivo a desconectar." //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/it-IT.rc b/reactos/dll/shellext/stobject/lang/it-IT.rc index 7955217b833..690eb2be2ab 100644 --- a/reactos/dll/shellext/stobject/lang/it-IT.rc +++ b/reactos/dll/shellext/stobject/lang/it-IT.rc @@ -34,7 +34,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - Unità disco(%s)" IDS_HOTPLUG_DRIVES " - Unità dischi(%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "Questo dispositivo richiede ""Rimozione Sicura""" + IDS_HOTPLUG_REQUIRES "Questo dispositivo richiede ""Rimozione Sicura""" IDS_HOTPLUG_CLICK "Prima di rimuovere questo dispositivo, fare clic su questa icona e selezionare la voce che si desidera rimuovere." //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/ro-RO.rc b/reactos/dll/shellext/stobject/lang/ro-RO.rc index afca1b38ad6..a736798765e 100644 --- a/reactos/dll/shellext/stobject/lang/ro-RO.rc +++ b/reactos/dll/shellext/stobject/lang/ro-RO.rc @@ -35,7 +35,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - unitate (%s)" IDS_HOTPLUG_DRIVES " - unități (%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "Acest dispozitiv necesită „Scoatere în siguranță”" + IDS_HOTPLUG_REQUIRES "Acest dispozitiv necesită „Scoatere în siguranță”" IDS_HOTPLUG_CLICK "Înainte de a scoate acest dispozitiv, apăsați pe această pictogramă și selectați dispozitivul pe care doriți să-l scoateți." //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/ru-RU.rc b/reactos/dll/shellext/stobject/lang/ru-RU.rc index 0b7e34475e2..299312562ea 100644 --- a/reactos/dll/shellext/stobject/lang/ru-RU.rc +++ b/reactos/dll/shellext/stobject/lang/ru-RU.rc @@ -36,7 +36,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - Диск(%s)" IDS_HOTPLUG_DRIVES " - Диски(%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "Это оборудование требует ""Безопасного извлечения""" + IDS_HOTPLUG_REQUIRES "Это оборудование требует ""Безопасного извлечения""" IDS_HOTPLUG_CLICK "Перед извлечением устройства, кликните эту иконку и выберите устройство, которое вы хотите отключить." //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/tr-TR.rc b/reactos/dll/shellext/stobject/lang/tr-TR.rc index e1cc07f9dc3..3874b76ac63 100644 --- a/reactos/dll/shellext/stobject/lang/tr-TR.rc +++ b/reactos/dll/shellext/stobject/lang/tr-TR.rc @@ -36,7 +36,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - Sürücü (%s)" IDS_HOTPLUG_DRIVES " - Sürücüler (%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "Bu donanım ""Güvenli Kaldır""mayı destekliyor." + IDS_HOTPLUG_REQUIRES "Bu donanım ""Güvenli Kaldır""mayı destekliyor." IDS_HOTPLUG_CLICK "Bu donanımı kaldırmadan önce bu simgenin üzerine tıklayınız ve kaldırmak istediğiniz donanımı seçiniz." //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/zh-CN.rc b/reactos/dll/shellext/stobject/lang/zh-CN.rc index 3ac1f0c8ea9..9a2edb89d5e 100644 --- a/reactos/dll/shellext/stobject/lang/zh-CN.rc +++ b/reactos/dll/shellext/stobject/lang/zh-CN.rc @@ -36,7 +36,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - 磁盘(%s)" IDS_HOTPLUG_DRIVES " - 磁盘(%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "此硬件所需""安全删除""" + IDS_HOTPLUG_REQUIRES "此硬件所需""安全删除""" IDS_HOTPLUG_CLICK "删除这个硬件之前, 单击此图标并选择您想要删除的硬件。" //Volume related strings diff --git a/reactos/dll/shellext/stobject/lang/zh-TW.rc b/reactos/dll/shellext/stobject/lang/zh-TW.rc index 500b8c2ecba..49f8305771a 100644 --- a/reactos/dll/shellext/stobject/lang/zh-TW.rc +++ b/reactos/dll/shellext/stobject/lang/zh-TW.rc @@ -36,7 +36,7 @@ BEGIN IDS_HOTPLUG_DRIVE " - 磁碟(%s)" IDS_HOTPLUG_DRIVES " - 磁碟(%s)" IDS_HOTPLUG_A "A:" - IDS_HOTPLUG_REQUIERES "此硬體所需""安全刪除""" + IDS_HOTPLUG_REQUIRES "此硬體所需""安全刪除""" IDS_HOTPLUG_CLICK "刪除這個硬體之前, 單擊此圖示並選擇您想要刪除的硬體。" //Volume related strings diff --git a/reactos/dll/shellext/stobject/resource.h b/reactos/dll/shellext/stobject/resource.h index 0d3674f3e2a..2637a12aeaf 100644 --- a/reactos/dll/shellext/stobject/resource.h +++ b/reactos/dll/shellext/stobject/resource.h @@ -23,7 +23,7 @@ #define IDS_HOTPLUG_DRIVE 219 #define IDS_HOTPLUG_DRIVES 220 #define IDS_HOTPLUG_A 221 -#define IDS_HOTPLUG_REQUIERES 222 +#define IDS_HOTPLUG_REQUIRES 222 #define IDS_HOTPLUG_CLICK 223 #define IDI_VOLUME 230 diff --git a/reactos/dll/win32/aclui/checklist.c b/reactos/dll/win32/aclui/checklist.c index 38a2df84fb4..885a77e7f89 100644 --- a/reactos/dll/win32/aclui/checklist.c +++ b/reactos/dll/win32/aclui/checklist.c @@ -967,7 +967,7 @@ PaintControl(IN PCHECKLISTWND infoPtr, } /* draw the standard checkbox if no themes are enabled or drawing the - themeed control failed */ + themed control failed */ if (FAILED(hDrawResult)) #endif { @@ -1022,7 +1022,7 @@ PaintControl(IN PCHECKLISTWND infoPtr, } /* draw the standard checkbox if no themes are enabled or drawing the - themeed control failed */ + themed control failed */ if (FAILED(hDrawResult)) #endif { diff --git a/reactos/dll/win32/advapi32/advapi32.h b/reactos/dll/win32/advapi32/advapi32.h index b5849e0b717..5869e35d435 100644 --- a/reactos/dll/win32/advapi32/advapi32.h +++ b/reactos/dll/win32/advapi32/advapi32.h @@ -2,7 +2,7 @@ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS System Libraries * FILE: lib/advapi32/advapi32.h - * PURPOSE: Win32 Advanced API Libary Header + * PURPOSE: Win32 Advanced API Library Header * PROGRAMMER: Alex Ionescu (alex@relsoft.net) */ #ifndef __ADVAPI32_H diff --git a/reactos/dll/win32/advapi32/misc/shutdown.c b/reactos/dll/win32/advapi32/misc/shutdown.c index 82d17d9a4eb..67492d65f05 100644 --- a/reactos/dll/win32/advapi32/misc/shutdown.c +++ b/reactos/dll/win32/advapi32/misc/shutdown.c @@ -292,7 +292,7 @@ InitiateSystemShutdownExW(LPWSTR lpMachineName, /****************************************************************************** * InitiateShutdownW [ADVAPI32.@] * - * @unimplamented + * @unimplemented */ DWORD WINAPI InitiateShutdownW(LPWSTR lpMachineName, diff --git a/reactos/dll/win32/advapi32/misc/sysfunc.c b/reactos/dll/win32/advapi32/misc/sysfunc.c index 429d8b86480..b0ed231faf1 100644 --- a/reactos/dll/win32/advapi32/misc/sysfunc.c +++ b/reactos/dll/win32/advapi32/misc/sysfunc.c @@ -578,7 +578,7 @@ SystemFunction036(PVOID pbBuffer, ULONG dwLen) //////////////////////////////////////////////////////////////// //////////////////// B I G W A R N I N G !!! //////////////// // This function will output numbers based on the tick count. // - // It will NOT OUPUT CRYPTOGRAPHIC-SAFE RANDOM NUMBERS !!! // + // It will NOT OUTPUT CRYPTOGRAPHIC-SAFE RANDOM NUMBERS !!! // //////////////////////////////////////////////////////////////// DWORD dwSeed; diff --git a/reactos/dll/win32/advapi32/sec/misc.c b/reactos/dll/win32/advapi32/sec/misc.c index 706c2ab74b0..1a35c0a329b 100644 --- a/reactos/dll/win32/advapi32/sec/misc.c +++ b/reactos/dll/win32/advapi32/sec/misc.c @@ -1555,11 +1555,11 @@ TreeResetNamedSecurityInfoW(LPWSTR pObjectName, #ifdef HAS_FN_PROGRESSW -typedef struct _INERNAL_FNPROGRESSW_DATA +typedef struct _INTERNAL_FNPROGRESSW_DATA { FN_PROGRESSA fnProgress; PVOID Args; -} INERNAL_FNPROGRESSW_DATA, *PINERNAL_FNPROGRESSW_DATA; +} INTERNAL_FNPROGRESSW_DATA, *PINTERNAL_FNPROGRESSW_DATA; static VOID WINAPI InternalfnProgressW(LPWSTR pObjectName, @@ -1568,7 +1568,7 @@ InternalfnProgressW(LPWSTR pObjectName, PVOID Args, BOOL SecuritySet) { - PINERNAL_FNPROGRESSW_DATA pifnProgressData = (PINERNAL_FNPROGRESSW_DATA)Args; + PINTERNAL_FNPROGRESSW_DATA pifnProgressData = (PINTERNAL_FNPROGRESSW_DATA)Args; INT ObjectNameSize; LPSTR pObjectNameA; @@ -1635,7 +1635,7 @@ TreeResetNamedSecurityInfoA(LPSTR pObjectName, lazy to implement it... */ return ERROR_CALL_NOT_IMPLEMENTED; #else - INERNAL_FNPROGRESSW_DATA ifnProgressData; + INTERNAL_FNPROGRESSW_DATA ifnProgressData; UNICODE_STRING ObjectName; DWORD Ret; diff --git a/reactos/dll/win32/crtdll/dllmain.c b/reactos/dll/win32/crtdll/dllmain.c index e933f2e9336..f5023e66bea 100644 --- a/reactos/dll/win32/crtdll/dllmain.c +++ b/reactos/dll/win32/crtdll/dllmain.c @@ -9,8 +9,8 @@ * use, modify or distribute it freely. * * This code is distributed in the hope that it will be useful but - * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY - * DISCLAMED. This includes but is not limited to warrenties of + * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY + * DISCLAMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * */ diff --git a/reactos/dll/win32/devmgr/devmgmt/DeviceView.cpp b/reactos/dll/win32/devmgr/devmgmt/DeviceView.cpp index c902b33fb56..3b35c8d70a0 100644 --- a/reactos/dll/win32/devmgr/devmgmt/DeviceView.cpp +++ b/reactos/dll/win32/devmgr/devmgmt/DeviceView.cpp @@ -191,7 +191,7 @@ CDeviceView::Refresh( _In_ bool UpdateView ) { - // Enum devices on a seperate thread to keep the gui responsive + // Enum devices on a separate thread to keep the gui responsive m_ViewType = Type; @@ -822,7 +822,7 @@ CDeviceView::InsertIntoTreeView( tvi.iImage = Node->GetClassImage(); tvi.iSelectedImage = Node->GetClassImage(); - // try to cast it to a device node. This will only suceed if it's the correct type + // try to cast it to a device node. This will only succeed if it's the correct type CDeviceNode *DeviceNode = dynamic_cast(Node); if (DeviceNode && DeviceNode->GetOverlayImage()) { @@ -844,10 +844,10 @@ CDeviceView::BuildActionMenuForNode( _In_ bool MainMenu ) { - // Create a seperator structure - MENUITEMINFOW MenuSeperator = { 0 }; - MenuSeperator.cbSize = sizeof(MENUITEMINFOW); - MenuSeperator.fType = MFT_SEPARATOR; + // Create a separator structure + MENUITEMINFOW MenuSeparator = { 0 }; + MenuSeparator.cbSize = sizeof(MENUITEMINFOW); + MenuSeparator.fType = MFT_SEPARATOR; // Setup the MENUITEMINFOW MenuItemInfo = { 0 }; @@ -899,7 +899,7 @@ CDeviceView::BuildActionMenuForNode( i++; } - InsertMenuItemW(OwnerMenu, i, TRUE, &MenuSeperator); + InsertMenuItemW(OwnerMenu, i, TRUE, &MenuSeparator); i++; } @@ -921,7 +921,7 @@ CDeviceView::BuildActionMenuForNode( if (Node->HasProperties()) { - InsertMenuItemW(OwnerMenu, i, TRUE, &MenuSeperator); + InsertMenuItemW(OwnerMenu, i, TRUE, &MenuSeparator); i++; String.LoadStringW(g_hThisInstance, IDS_MENU_PROPERTIES); diff --git a/reactos/dll/win32/devmgr/devmgmt/MainWindow.cpp b/reactos/dll/win32/devmgr/devmgmt/MainWindow.cpp index dae7fbafab8..7fb8e2bba95 100644 --- a/reactos/dll/win32/devmgr/devmgmt/MainWindow.cpp +++ b/reactos/dll/win32/devmgr/devmgmt/MainWindow.cpp @@ -781,7 +781,7 @@ CDeviceManager::MainWndProc(_In_ HWND hwnd, if (wParam == DBT_DEVNODES_CHANGED) { // - // The OS can send multiple change messages in quick sucsession. To avoid + // The OS can send multiple change messages in quick succession. To avoid // refreshing multiple times (and to avoid waiting in the message thread) // we set a timer to run in 500ms, which should leave enough time for all // the messages to come through. Wrap so we don't set multiple timers diff --git a/reactos/dll/win32/dnsapi/dnsapi/precomp.h b/reactos/dll/win32/dnsapi/dnsapi/precomp.h index ee426ccc4a5..44aa0c395c1 100644 --- a/reactos/dll/win32/dnsapi/dnsapi/precomp.h +++ b/reactos/dll/win32/dnsapi/dnsapi/precomp.h @@ -2,7 +2,7 @@ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS System Libraries * FILE: lib/dnsapi/precomp.h - * PURPOSE: Win32 DNS API Libary Header + * PURPOSE: Win32 DNS API Library Header * PROGRAMMER: Alex Ionescu (alex@relsoft.net) */ diff --git a/reactos/dll/win32/fltlib/fltlib.c b/reactos/dll/win32/fltlib/fltlib.c index 6b9b8420c78..22c1f460558 100644 --- a/reactos/dll/win32/fltlib/fltlib.c +++ b/reactos/dll/win32/fltlib/fltlib.c @@ -107,7 +107,7 @@ FilterLoadUnload(_In_z_ LPCWSTR lpFilterName, FilterName, BufferLength); - /* Cleaup and bail*/ + /* Cleanup and bail*/ RtlFreeHeap(GetProcessHeap(), 0, FilterName); CloseHandle(hFltMgr); diff --git a/reactos/dll/win32/kernel32/client/console/console.c b/reactos/dll/win32/kernel32/client/console/console.c index c5206327984..71da03a83d4 100644 --- a/reactos/dll/win32/kernel32/client/console/console.c +++ b/reactos/dll/win32/kernel32/client/console/console.c @@ -2780,7 +2780,7 @@ SetConsoleIcon(HICON hIcon) * \name SetConsoleInputExeNameW * \brief Sets the console input file name from a unicode string. * \param lpExeName Pointer to a unicode string with the name. - * \return TRUE if successful, FALSE if unsuccsedful. + * \return TRUE if successful, FALSE if unsuccessful. * \remarks If lpExeName is 0 or the string length is 0 or greater than 255, * the function fails and sets last error to ERROR_INVALID_PARAMETER. */ @@ -2820,7 +2820,7 @@ SetConsoleInputExeNameW(IN LPWSTR lpExeName) * \name SetConsoleInputExeNameA * \brief Sets the console input file name from an ansi string. * \param lpExeName Pointer to an ansi string with the name. - * \return TRUE if successful, FALSE if unsuccsedful. + * \return TRUE if successful, FALSE if unsuccessful. * \remarks If lpExeName is 0 or the string length is 0 or greater than 255, * the function fails and sets last error to ERROR_INVALID_PARAMETER. */ diff --git a/reactos/dll/win32/kernel32/client/debugger.c b/reactos/dll/win32/kernel32/client/debugger.c index ab9d3b4e0c3..4420b8e765f 100644 --- a/reactos/dll/win32/kernel32/client/debugger.c +++ b/reactos/dll/win32/kernel32/client/debugger.c @@ -530,7 +530,7 @@ DebugActiveProcessStop(IN DWORD dwProcessId) /* Close all the process handles */ CloseAllProcessHandles(dwProcessId); - /* Now stop debgging the process */ + /* Now stop debugging the process */ Status = DbgUiStopDebugging(Handle); Status1 = NtClose(Handle); ASSERT(NT_SUCCESS(Status1)); diff --git a/reactos/dll/win32/kernel32/client/dllmain.c b/reactos/dll/win32/kernel32/client/dllmain.c index 112b79f62c1..7d90867c42f 100644 --- a/reactos/dll/win32/kernel32/client/dllmain.c +++ b/reactos/dll/win32/kernel32/client/dllmain.c @@ -104,7 +104,7 @@ DllMain(HANDLE hDll, { case DLL_PROCESS_ATTACH: { - /* Set no filter intially */ + /* Set no filter initially */ GlobalTopLevelExceptionFilter = RtlEncodePointer(NULL); /* Enable the Rtl thread pool and timer queue to use proper Win32 thread */ diff --git a/reactos/dll/win32/kernel32/client/dosdev.c b/reactos/dll/win32/kernel32/client/dosdev.c index bb30fccdef5..5352e57f064 100644 --- a/reactos/dll/win32/kernel32/client/dosdev.c +++ b/reactos/dll/win32/kernel32/client/dosdev.c @@ -389,7 +389,7 @@ QueryDosDeviceW( Length = UnicodeString.Length / sizeof(WCHAR); if (Length < ucchMax) { - /* Append null-charcter */ + /* Append null-character */ lpTargetPath[Length] = UNICODE_NULL; Length++; } diff --git a/reactos/dll/win32/kernel32/client/environ.c b/reactos/dll/win32/kernel32/client/environ.c index 306b6e60354..297230a6d79 100644 --- a/reactos/dll/win32/kernel32/client/environ.c +++ b/reactos/dll/win32/kernel32/client/environ.c @@ -142,7 +142,7 @@ Quickie: RtlFreeUnicodeString(&VarNameU); if (VarValueU.Buffer) RtlFreeHeap(RtlGetProcessHeap(), 0, VarValueU.Buffer); - /* Check if we suceeded */ + /* Check if we succeeded */ if (!NT_SUCCESS(Status)) { /* We did not, clear the result and set the error code */ @@ -499,7 +499,7 @@ Quickie: RtlFreeUnicodeString(&SourceU); if (DestU.Buffer) RtlFreeHeap(RtlGetProcessHeap(), 0, DestU.Buffer); - /* Check if we suceeded */ + /* Check if we succeeded */ if (!NT_SUCCESS(Status)) { /* We did not, clear the result and set the error code */ diff --git a/reactos/dll/win32/kernel32/client/file/cnotify.c b/reactos/dll/win32/kernel32/client/file/cnotify.c index 491a67bdc8d..a03a0b52954 100644 --- a/reactos/dll/win32/kernel32/client/file/cnotify.c +++ b/reactos/dll/win32/kernel32/client/file/cnotify.c @@ -309,7 +309,7 @@ ReadDirectoryChangesW(IN HANDLE hDirectory, return FALSE; } - /* Does the caller want an APC callbac? */ + /* Does the caller want an APC callback? */ if (lpCompletionRoutine) { /* Don't use an event in this case */ @@ -364,7 +364,7 @@ ReadDirectoryChangesW(IN HANDLE hDirectory, (BOOLEAN)bWatchSubtree); if (NT_ERROR(Status)) { - /* Normally we cleanup the context in the completon routine, but we failed */ + /* Normally we cleanup the context in the completion routine, but we failed */ if (ActivationContext) BasepFreeActivationContextActivationBlock(ActivationContext); /* Convert the error and fail */ diff --git a/reactos/dll/win32/kernel32/client/file/copy.c b/reactos/dll/win32/kernel32/client/file/copy.c index c96bc06f30b..9834b5b1a85 100644 --- a/reactos/dll/win32/kernel32/client/file/copy.c +++ b/reactos/dll/win32/kernel32/client/file/copy.c @@ -6,7 +6,7 @@ * PROGRAMMER: Ariadne (ariadne@xs4all.nl) * UPDATE HISTORY: * 01/11/98 Created - * 07/02/99 Moved to seperate file + * 07/02/99 Moved to separate file */ /* INCLUDES ****************************************************************/ diff --git a/reactos/dll/win32/kernel32/client/file/filemap.c b/reactos/dll/win32/kernel32/client/file/filemap.c index b04a0043c1d..7a543ac3dc6 100644 --- a/reactos/dll/win32/kernel32/client/file/filemap.c +++ b/reactos/dll/win32/kernel32/client/file/filemap.c @@ -266,7 +266,7 @@ UnmapViewOfFile(LPCVOID lpBaseAddress) return FALSE; } - /* Otherwise, return sucess */ + /* Otherwise, return success */ return TRUE; } diff --git a/reactos/dll/win32/kernel32/client/file/npipe.c b/reactos/dll/win32/kernel32/client/file/npipe.c index 2bcc2af40cd..535f648e59a 100644 --- a/reactos/dll/win32/kernel32/client/file/npipe.c +++ b/reactos/dll/win32/kernel32/client/file/npipe.c @@ -944,7 +944,7 @@ GetNamedPipeHandleStateW(HANDLE hNamedPipe, if (lpUserName != NULL) { /* FIXME - open the thread token, call ImpersonateNamedPipeClient() and - retreive the user name with GetUserName(), revert the impersonation + retrieve the user name with GetUserName(), revert the impersonation and finally restore the thread token */ } diff --git a/reactos/dll/win32/kernel32/client/file/tape.c b/reactos/dll/win32/kernel32/client/file/tape.c index ec48bbe9fa1..81ae77f4717 100644 --- a/reactos/dll/win32/kernel32/client/file/tape.c +++ b/reactos/dll/win32/kernel32/client/file/tape.c @@ -62,7 +62,7 @@ BasepDoTapeOperation(IN HANDLE DeviceHandle, } else { - /* Set sucess */ + /* Set success */ ErrorCode = ERROR_SUCCESS; } diff --git a/reactos/dll/win32/kernel32/client/heapmem.c b/reactos/dll/win32/kernel32/client/heapmem.c index eba131aa2e9..0ef199e6fb0 100644 --- a/reactos/dll/win32/kernel32/client/heapmem.c +++ b/reactos/dll/win32/kernel32/client/heapmem.c @@ -851,7 +851,7 @@ GlobalReAlloc(HGLOBAL hMem, /* If this wasn't a movable heap, then we MUST re-alloc in place */ if (!(uFlags & GMEM_MOVEABLE)) Flags |= HEAP_REALLOC_IN_PLACE_ONLY; - /* Lock the heap and disable built-in locking in the RTL Heap funcitons */ + /* Lock the heap and disable built-in locking in the RTL Heap functions */ RtlLockHeap(BaseHeap); Flags |= HEAP_NO_SERIALIZE; @@ -985,7 +985,7 @@ GlobalReAlloc(HGLOBAL hMem, { /* * Check if the handle matches the pointer or the moveable flag - * isn't there, which is what we expect since it currenly isn't. + * isn't there, which is what we expect since it currently isn't. */ if ((Handle == hMem) || !(Flags & BASE_HEAP_FLAG_MOVABLE)) { @@ -1333,7 +1333,7 @@ GlobalMemoryStatusEx(LPMEMORYSTATUSEX lpBuffer) lpBuffer->ullTotalVirtual = (BaseStaticServerData->SysInfo.MaximumUserModeAddress - BaseStaticServerData->SysInfo.MinimumUserModeAddress) + 1; - /* And finally the avilable virtual space */ + /* And finally the available virtual space */ lpBuffer->ullAvailVirtual = lpBuffer->ullTotalVirtual - VmCounters.VirtualSize; lpBuffer->ullAvailExtendedVirtual = 0; @@ -1619,7 +1619,7 @@ LocalReAlloc(HLOCAL hMem, /* If this wasn't a movable heap, then we MUST re-alloc in place */ if (!(uFlags & LMEM_MOVEABLE)) Flags |= HEAP_REALLOC_IN_PLACE_ONLY; - /* Lock the heap and disable built-in locking in the RTL Heap funcitons */ + /* Lock the heap and disable built-in locking in the RTL Heap functions */ RtlLockHeap(BaseHeap); Flags |= HEAP_NO_SERIALIZE; diff --git a/reactos/dll/win32/kernel32/client/loader.c b/reactos/dll/win32/kernel32/client/loader.c index 41b6fd70b7c..bed45c541f4 100644 --- a/reactos/dll/win32/kernel32/client/loader.c +++ b/reactos/dll/win32/kernel32/client/loader.c @@ -73,7 +73,7 @@ BasepMapModuleHandle(HMODULE hModule, BOOLEAN AsDataFile) if (LDR_IS_DATAFILE(hModule) && !AsDataFile) return NULL; - /* It'a a normal DLL, just return its handle */ + /* It's a normal DLL, just return its handle */ return hModule; } @@ -432,7 +432,7 @@ GetProcAddress(HMODULE hModule, LPCSTR lpProcName) } /* Check for a special case when returned pointer is - the same as iamge's base address */ + the same as image's base address */ if (fnExp == hMapped) { /* Set correct error code */ @@ -569,7 +569,7 @@ GetModuleFileNameA(HINSTANCE hModule, Status = BasepUnicodeStringTo8BitString(&FilenameA, &FilenameW, TRUE); if (!NT_SUCCESS(Status)) { - /* Set last error, free string and retun failure */ + /* Set last error, free string and return failure */ BaseSetLastNTError(Status); RtlFreeUnicodeString(&FilenameW); return 0; diff --git a/reactos/dll/win32/kernel32/client/path.c b/reactos/dll/win32/kernel32/client/path.c index dc3b044f342..b61926c2597 100644 --- a/reactos/dll/win32/kernel32/client/path.c +++ b/reactos/dll/win32/kernel32/client/path.c @@ -350,7 +350,7 @@ BasepComputeProcessPath(IN PBASE_SEARCH_PATH_TYPE PathOrder, } break; - /* Add the current dierctory */ + /* Add the current directory */ case BaseSearchPathCurrent: /* Copy it in the buffer, ASSERT there's enough space */ @@ -572,7 +572,7 @@ IsShortName_U(IN PWCHAR Name, /* What do you think 8.3 means? */ if (Length > 12) return FALSE; - /* Sure, any emtpy name is a short name */ + /* Sure, any empty name is a short name */ if (!Length) return TRUE; /* This could be . or .. or something else */ @@ -1193,7 +1193,7 @@ SearchPathA(IN LPCSTR lpPath, goto Quickie; } - /* If the correct ANSI size is too big, return requird length plus a NULL */ + /* If the correct ANSI size is too big, return required length plus a NULL */ if (AnsiLength >= nBufferLength) { PathSize = AnsiLength + 1; diff --git a/reactos/dll/win32/kernel32/client/proc.c b/reactos/dll/win32/kernel32/client/proc.c index 98a11fcb03d..c8e370d382c 100644 --- a/reactos/dll/win32/kernel32/client/proc.c +++ b/reactos/dll/win32/kernel32/client/proc.c @@ -2001,7 +2001,7 @@ GetProcessHandleCount(IN HANDLE hProcess, NULL); if (NT_SUCCESS(Status)) { - /* Copy the count and return sucecss */ + /* Copy the count and return success */ *pdwHandleCount = phc; return TRUE; } @@ -2251,7 +2251,7 @@ ProcessIdToSessionId(IN DWORD dwProcessId, sizeof(SessionInformation), NULL); - /* Close the handle and check if we suceeded */ + /* Close the handle and check if we succeeded */ NtClose(ProcessHandle); if (NT_SUCCESS(Status)) { @@ -2351,7 +2351,7 @@ CreateProcessInternalW(IN HANDLE hUserToken, BASE_MSG_SXS_HANDLES MappedHandles, Handles, FileHandles; PVOID CapturedStrings[3]; SXS_WIN32_NT_PATH_PAIR ExePathPair, ManifestPathPair, PolicyPathPair; - SXS_OVERRIDE_MANIFEST OverrideMannifest; + SXS_OVERRIDE_MANIFEST OverrideManifest; UNICODE_STRING FreeString, SxsNtExePath; PWCHAR SxsConglomeratedBuffer, StaticBuffer; ULONG ConglomeratedBufferSizeBytes, StaticBufferSize, i; @@ -2834,7 +2834,7 @@ StartScan: &SxsWin32RelativePath); if (!TranslationStatus) { - /* Path must be invaild somehow, bail out */ + /* Path must be invalid somehow, bail out */ DPRINT1("Path translation for SxS failed\n"); SetLastError(ERROR_PATH_NOT_FOUND); Result = FALSE; @@ -3828,7 +3828,7 @@ StartScan: NULL); if ((hUserToken) && (lpProcessAttributes)) { - /* Auggment them with information from the user */ + /* Augment them with information from the user */ LocalProcessAttributes = *lpProcessAttributes; LocalProcessAttributes.lpSecurityDescriptor = NULL; diff --git a/reactos/dll/win32/kernel32/client/vista.c b/reactos/dll/win32/kernel32/client/vista.c index 451becba923..d56c7ae7a62 100644 --- a/reactos/dll/win32/kernel32/client/vista.c +++ b/reactos/dll/win32/kernel32/client/vista.c @@ -290,7 +290,7 @@ RecoveryInProgress(OUT PBOOL pbCancelled) */ HRESULT WINAPI -RegisterApplicationRecoveryCallback(IN APPLICATION_RECOVERY_CALLBACK pRecoveyCallback, +RegisterApplicationRecoveryCallback(IN APPLICATION_RECOVERY_CALLBACK pRecoveryCallback, IN PVOID pvParameter OPTIONAL, DWORD dwPingInterval, DWORD dwFlags) diff --git a/reactos/dll/win32/kernel32/include/base_x.h b/reactos/dll/win32/kernel32/include/base_x.h index 62ed8f5c4c5..4db8186f654 100644 --- a/reactos/dll/win32/kernel32/include/base_x.h +++ b/reactos/dll/win32/kernel32/include/base_x.h @@ -25,7 +25,7 @@ // Note that Basep8BitStringToStaticUnicodeString looks deceptively similar. // However, that function was designed for File APIs, which can be switched into // a special "OEM" mode, that uses different NLS files/encoding, and thus calls -// RtlOemStringToAnsiString (see SetFileApisToOEM). Thererefore, this macro and +// RtlOemStringToAnsiString (see SetFileApisToOEM). Therefore, this macro and // that function are not interchangeable. As a separate note, that function uses // the *Ex version of the Rtl conversion APIs, which does stricter checking that // is not done when this macro is used. diff --git a/reactos/dll/win32/kernel32/k32.h b/reactos/dll/win32/kernel32/k32.h index 76bd832b029..52e5a8b5c25 100644 --- a/reactos/dll/win32/kernel32/k32.h +++ b/reactos/dll/win32/kernel32/k32.h @@ -2,7 +2,7 @@ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS System Libraries * FILE: dll/win32/kernel32/k32.h - * PURPOSE: Win32 Kernel Libary Header + * PURPOSE: Win32 Kernel Library Header * PROGRAMMER: Alex Ionescu (alex@relsoft.net) */ diff --git a/reactos/dll/win32/kernel32/wine/timezone.c b/reactos/dll/win32/kernel32/wine/timezone.c index a414c6615e9..23c0c473025 100644 --- a/reactos/dll/win32/kernel32/wine/timezone.c +++ b/reactos/dll/win32/kernel32/wine/timezone.c @@ -32,7 +32,7 @@ static const int MonthLengths[2][12] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } }; -/* STATIC FUNTIONS **********************************************************/ +/* STATIC FUNCTIONS **********************************************************/ static inline int IsLeapYear(int Year) { diff --git a/reactos/dll/win32/kernel32/winnls/string/lcformat_private.h b/reactos/dll/win32/kernel32/winnls/string/lcformat_private.h index 588833e14b7..00848222b59 100644 --- a/reactos/dll/win32/kernel32/winnls/string/lcformat_private.h +++ b/reactos/dll/win32/kernel32/winnls/string/lcformat_private.h @@ -2,7 +2,7 @@ * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS System Libraries * FILE: dll/win32/kernel32/winnls/string/lcformat_private.h - * PURPOSE: Win32 Kernel Libary Header + * PURPOSE: Win32 Kernel Library Header * PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org) */ diff --git a/reactos/dll/win32/lsasrv/authpackage.c b/reactos/dll/win32/lsasrv/authpackage.c index 8b74f716f86..c06cfe2be7a 100644 --- a/reactos/dll/win32/lsasrv/authpackage.c +++ b/reactos/dll/win32/lsasrv/authpackage.c @@ -2,7 +2,7 @@ * PROJECT: Local Security Authority Server DLL * LICENSE: GPL - See COPYING in the top level directory * FILE: dll/win32/lsasrv/authpackage.c - * PURPOSE: Authenticaton package management routines + * PURPOSE: Authentication package management routines * COPYRIGHT: Copyright 2013 Eric Kohl */ @@ -1410,7 +1410,7 @@ LsapLogonUser(PLSA_API_MSG RequestMsg, return STATUS_INSUFFICIENT_RESOURCES; } - /* Read the authentication info from the callers adress space */ + /* Read the authentication info from the callers address space */ Status = NtReadVirtualMemory(LogonContext->ClientProcessHandle, RequestMsg->LogonUser.Request.AuthenticationInformation, LocalAuthInfo, diff --git a/reactos/dll/win32/lsasrv/database.c b/reactos/dll/win32/lsasrv/database.c index b970b6f50cf..a341167aedf 100644 --- a/reactos/dll/win32/lsasrv/database.c +++ b/reactos/dll/win32/lsasrv/database.c @@ -367,7 +367,7 @@ LsapCreateDatabaseObjects(VOID) &DnsDomainGuid, sizeof(GUID)); - /* Set the Sceurity Descriptor */ + /* Set the Security Descriptor */ LsapSetObjectAttribute(PolicyObject, L"SecDesc", PolicySd, diff --git a/reactos/dll/win32/lsasrv/lsasrv.c b/reactos/dll/win32/lsasrv/lsasrv.c index 970df59c5f8..12fac372d82 100644 --- a/reactos/dll/win32/lsasrv/lsasrv.c +++ b/reactos/dll/win32/lsasrv/lsasrv.c @@ -322,7 +322,7 @@ LsapInitLsa(VOID) if (hEvent == NULL) { dwError = GetLastError(); - TRACE("Failed to create the notication event (Error %lu)\n", dwError); + TRACE("Failed to create the notification event (Error %lu)\n", dwError); if (dwError == ERROR_ALREADY_EXISTS) { diff --git a/reactos/dll/win32/mmdrv/midi.c b/reactos/dll/win32/mmdrv/midi.c index 5364fb66c29..fd85ec58dbe 100644 --- a/reactos/dll/win32/mmdrv/midi.c +++ b/reactos/dll/win32/mmdrv/midi.c @@ -71,7 +71,7 @@ typedef struct tag_MIDIALLOC { // on the device thread and its // apcs so does not need any // synchronized access. - HANDLE Event; // Event for driver syncrhonization + HANDLE Event; // Event for driver synchronization // and notification of auxiliary // task operation completion. // MIDITHREADFUNCTION AuxFunction; // Function for thread to perform diff --git a/reactos/dll/win32/mmdrv/wave.h b/reactos/dll/win32/mmdrv/wave.h index 0a11feb9628..1defc7ea5b2 100644 --- a/reactos/dll/win32/mmdrv/wave.h +++ b/reactos/dll/win32/mmdrv/wave.h @@ -59,7 +59,7 @@ typedef struct tag_WAVEALLOC { WAVEOVL DummyWaveOvl; // For break loop // - HANDLE Event; // Event for driver syncrhonization + HANDLE Event; // Event for driver synchronization // and notification of auxiliary // task operation completion. WAVETHREADFUNCTION AuxFunction; // Function for thread to perform diff --git a/reactos/dll/win32/msafd/misc/dllmain.c b/reactos/dll/win32/msafd/misc/dllmain.c index 1d336a9da6e..727549228e0 100644 --- a/reactos/dll/win32/msafd/misc/dllmain.c +++ b/reactos/dll/win32/msafd/misc/dllmain.c @@ -706,7 +706,7 @@ WSPCloseSocket(IN SOCKET Handle, /* * We have to execute a sleep, so it's kind of like * a block. If the socket is Nonblock, we cannot - * go on since asyncronous operation is expected + * go on since asynchronous operation is expected * and we cannot offer it */ if (Socket->SharedData->NonBlocking) @@ -1208,7 +1208,7 @@ WSPSelect(IN int nfds, TRACE("DeviceIoControlFile => %x\n", Status); - /* Wait for Completition */ + /* Wait for Completion */ if (Status == STATUS_PENDING) { WaitForSingleObject(SockEvent, INFINITE); @@ -3369,7 +3369,7 @@ int CreateContext(PSOCKET_INFORMATION Socket) NULL, 0); - /* Wait for Completition */ + /* Wait for Completion */ if (Status == STATUS_PENDING) { WaitForSingleObject(SockEvent, INFINITE); @@ -3482,7 +3482,7 @@ BOOLEAN SockGetAsyncSelectHelperAfdHandle(VOID) FILE_COMPLETION_INFORMATION CompletionInfo; OBJECT_HANDLE_ATTRIBUTE_INFORMATION HandleFlags; - /* First, make sure we're not already intialized */ + /* First, make sure we're not already initialized */ if (SockAsyncHelperAfdHandle) { return TRUE; @@ -3567,7 +3567,7 @@ VOID SockAsyncSelectCompletionRoutine(PVOID Context, PIO_STATUS_BLOCK IoStatusBl if (0 != (Socket->SharedData->AsyncEvents & FD_READ) && 0 == (Socket->SharedData->AsyncDisabledEvents & FD_READ)) { - /* Make the Notifcation */ + /* Make the Notification */ (Upcalls.lpWPUPostMessage)(Socket->SharedData->hWnd, Socket->SharedData->wMsg, Socket->Handle, @@ -3581,7 +3581,7 @@ VOID SockAsyncSelectCompletionRoutine(PVOID Context, PIO_STATUS_BLOCK IoStatusBl if (0 != (Socket->SharedData->AsyncEvents & FD_OOB) && 0 == (Socket->SharedData->AsyncDisabledEvents & FD_OOB)) { - /* Make the Notifcation */ + /* Make the Notification */ (Upcalls.lpWPUPostMessage)(Socket->SharedData->hWnd, Socket->SharedData->wMsg, Socket->Handle, @@ -3595,7 +3595,7 @@ VOID SockAsyncSelectCompletionRoutine(PVOID Context, PIO_STATUS_BLOCK IoStatusBl if (0 != (Socket->SharedData->AsyncEvents & FD_WRITE) && 0 == (Socket->SharedData->AsyncDisabledEvents & FD_WRITE)) { - /* Make the Notifcation */ + /* Make the Notification */ (Upcalls.lpWPUPostMessage)(Socket->SharedData->hWnd, Socket->SharedData->wMsg, Socket->Handle, @@ -3611,7 +3611,7 @@ VOID SockAsyncSelectCompletionRoutine(PVOID Context, PIO_STATUS_BLOCK IoStatusBl if (0 != (Socket->SharedData->AsyncEvents & FD_CONNECT) && 0 == (Socket->SharedData->AsyncDisabledEvents & FD_CONNECT)) { - /* Make the Notifcation */ + /* Make the Notification */ (Upcalls.lpWPUPostMessage)(Socket->SharedData->hWnd, Socket->SharedData->wMsg, Socket->Handle, @@ -3625,7 +3625,7 @@ VOID SockAsyncSelectCompletionRoutine(PVOID Context, PIO_STATUS_BLOCK IoStatusBl if (0 != (Socket->SharedData->AsyncEvents & FD_ACCEPT) && 0 == (Socket->SharedData->AsyncDisabledEvents & FD_ACCEPT)) { - /* Make the Notifcation */ + /* Make the Notification */ (Upcalls.lpWPUPostMessage)(Socket->SharedData->hWnd, Socket->SharedData->wMsg, Socket->Handle, @@ -3641,7 +3641,7 @@ VOID SockAsyncSelectCompletionRoutine(PVOID Context, PIO_STATUS_BLOCK IoStatusBl if (0 != (Socket->SharedData->AsyncEvents & FD_CLOSE) && 0 == (Socket->SharedData->AsyncDisabledEvents & FD_CLOSE)) { - /* Make the Notifcation */ + /* Make the Notification */ (Upcalls.lpWPUPostMessage)(Socket->SharedData->hWnd, Socket->SharedData->wMsg, Socket->Handle, @@ -3763,7 +3763,7 @@ VOID SockProcessQueuedAsyncSelect(PVOID Context, PIO_STATUS_BLOCK IoStatusBlock) /* Check if the Sequence Number changed by now, in which case quit */ if (AsyncData->SequenceNumber == Socket->SharedData->SequenceNumber) { - /* Do the actuall select, if needed */ + /* Do the actual select, if needed */ if ((Socket->SharedData->AsyncEvents & (~Socket->SharedData->AsyncDisabledEvents))) { SockProcessAsyncSelect(Socket, AsyncData); diff --git a/reactos/dll/win32/msafd/misc/sndrcv.c b/reactos/dll/win32/msafd/misc/sndrcv.c index 1fa293d52a0..15247c73c6f 100644 --- a/reactos/dll/win32/msafd/misc/sndrcv.c +++ b/reactos/dll/win32/msafd/misc/sndrcv.c @@ -48,7 +48,7 @@ WSPAsyncSelect(IN SOCKET Handle, SetSocketInformation(Socket, AFD_INFO_BLOCKING_MODE, &BlockMode, NULL, NULL, NULL, NULL); Socket->SharedData->NonBlocking = TRUE; - /* Deactive WSPEventSelect */ + /* Deactivate WSPEventSelect */ if (Socket->SharedData->AsyncEvents) { if (WSPEventSelect(Handle, NULL, 0, lpErrno) == SOCKET_ERROR) @@ -229,7 +229,7 @@ WSPRecv(SOCKET Handle, } } - /* Verifiy if we should use APC */ + /* Verify if we should use APC */ if (lpOverlapped == NULL) { @@ -249,15 +249,15 @@ WSPRecv(SOCKET Handle, } if (lpCompletionRoutine == NULL) { - /* Using Overlapped Structure, but no Completition Routine, so no need for APC */ + /* Using Overlapped Structure, but no Completion Routine, so no need for APC */ APCContext = lpOverlapped; APCFunction = NULL; Event = lpOverlapped->hEvent; } else { - /* Using Overlapped Structure and a Completition Routine, so use an APC */ - APCFunction = &AfdAPC; // should be a private io completition function inside us + /* Using Overlapped Structure and a Completion Routine, so use an APC */ + APCFunction = &AfdAPC; // should be a private io completion function inside us APCContext = HeapAlloc(GlobalHeap, 0, sizeof(AFDAPCCONTEXT)); if (!APCContext) { @@ -288,7 +288,7 @@ WSPRecv(SOCKET Handle, NULL, 0); - /* Wait for completition of not overlapped */ + /* Wait for completion of not overlapped */ if (Status == STATUS_PENDING && lpOverlapped == NULL) { /* It's up to the protocol to time out recv. We must wait @@ -444,7 +444,7 @@ WSPRecvFrom(SOCKET Handle, } } - /* Verifiy if we should use APC */ + /* Verify if we should use APC */ if (lpOverlapped == NULL) { @@ -464,15 +464,15 @@ WSPRecvFrom(SOCKET Handle, } if (lpCompletionRoutine == NULL) { - /* Using Overlapped Structure, but no Completition Routine, so no need for APC */ + /* Using Overlapped Structure, but no Completion Routine, so no need for APC */ APCContext = lpOverlapped; APCFunction = NULL; Event = lpOverlapped->hEvent; } else { - /* Using Overlapped Structure and a Completition Routine, so use an APC */ - APCFunction = &AfdAPC; // should be a private io completition function inside us + /* Using Overlapped Structure and a Completion Routine, so use an APC */ + APCFunction = &AfdAPC; // should be a private io completion function inside us APCContext = HeapAlloc(GlobalHeap, 0, sizeof(AFDAPCCONTEXT)); if (!APCContext) { @@ -503,10 +503,10 @@ WSPRecvFrom(SOCKET Handle, NULL, 0); - /* Wait for completition of not overlapped */ + /* Wait for completion of not overlapped */ if (Status == STATUS_PENDING && lpOverlapped == NULL) { - WaitForSingleObject(SockEvent, INFINITE); // BUGBUG, shouldn wait infintely for receive... + WaitForSingleObject(SockEvent, INFINITE); // BUGBUG, shouldn wait infinitely for receive... Status = IOSB->Status; } @@ -618,7 +618,7 @@ WSPSend(SOCKET Handle, } } - /* Verifiy if we should use APC */ + /* Verify if we should use APC */ if (lpOverlapped == NULL) { /* Not using Overlapped structure, so use normal blocking on event */ @@ -637,15 +637,15 @@ WSPSend(SOCKET Handle, } if (lpCompletionRoutine == NULL) { - /* Using Overlapped Structure, but no Completition Routine, so no need for APC */ + /* Using Overlapped Structure, but no Completion Routine, so no need for APC */ APCContext = lpOverlapped; APCFunction = NULL; Event = lpOverlapped->hEvent; } else { - /* Using Overlapped Structure and a Completition Routine, so use an APC */ - APCFunction = &AfdAPC; // should be a private io completition function inside us + /* Using Overlapped Structure and a Completion Routine, so use an APC */ + APCFunction = &AfdAPC; // should be a private io completion function inside us APCContext = HeapAlloc(GlobalHeap, 0, sizeof(AFDAPCCONTEXT)); if (!APCContext) { @@ -676,10 +676,10 @@ WSPSend(SOCKET Handle, NULL, 0); - /* Wait for completition of not overlapped */ + /* Wait for completion of not overlapped */ if (Status == STATUS_PENDING && lpOverlapped == NULL) { - WaitForSingleObject(SockEvent, INFINITE); // BUGBUG, shouldn wait infintely for send... + WaitForSingleObject(SockEvent, INFINITE); // BUGBUG, shouldn wait infinitely for send... Status = IOSB->Status; } @@ -817,7 +817,7 @@ WSPSendTo(SOCKET Handle, SendInfo.TdiConnection.RemoteAddress = RemoteAddress; SendInfo.TdiConnection.RemoteAddressLength = Socket->HelperData->MaxTDIAddressLength; - /* Verifiy if we should use APC */ + /* Verify if we should use APC */ if (lpOverlapped == NULL) { /* Not using Overlapped structure, so use normal blocking on event */ @@ -836,15 +836,15 @@ WSPSendTo(SOCKET Handle, } if (lpCompletionRoutine == NULL) { - /* Using Overlapped Structure, but no Completition Routine, so no need for APC */ + /* Using Overlapped Structure, but no Completion Routine, so no need for APC */ APCContext = lpOverlapped; APCFunction = NULL; Event = lpOverlapped->hEvent; } else { - /* Using Overlapped Structure and a Completition Routine, so use an APC */ - APCFunction = &AfdAPC; // should be a private io completition function inside us + /* Using Overlapped Structure and a Completion Routine, so use an APC */ + APCFunction = &AfdAPC; // should be a private io completion function inside us APCContext = HeapAlloc(GlobalHeap, 0, sizeof(AFDAPCCONTEXT)); if (!APCContext) { @@ -873,10 +873,10 @@ WSPSendTo(SOCKET Handle, NULL, 0); - /* Wait for completition of not overlapped */ + /* Wait for completion of not overlapped */ if (Status == STATUS_PENDING && lpOverlapped == NULL) { - /* BUGBUG, shouldn't wait infintely for send... */ + /* BUGBUG, shouldn't wait infinitely for send... */ WaitForSingleObject(SockEvent, INFINITE); Status = IOSB->Status; } diff --git a/reactos/dll/win32/msgina/msgina.c b/reactos/dll/win32/msgina/msgina.c index 4be15ddcb24..013c8bce44f 100644 --- a/reactos/dll/win32/msgina/msgina.c +++ b/reactos/dll/win32/msgina/msgina.c @@ -330,7 +330,7 @@ WlxInitialize( /* Notify winlogon that we will use the default SAS */ pgContext->pWlxFuncs->WlxUseCtrlAltDel(hWlx); - /* Locates the authentification package */ + /* Locates the authentication package */ //LsaRegisterLogonProcess(...); /* Check autologon settings the first time */ diff --git a/reactos/dll/win32/msv1_0/msv1_0.c b/reactos/dll/win32/msv1_0/msv1_0.c index d8e0be8f7ea..63d03e78e18 100644 --- a/reactos/dll/win32/msv1_0/msv1_0.c +++ b/reactos/dll/win32/msv1_0/msv1_0.c @@ -1181,7 +1181,7 @@ LsaApLogonUser(IN PLSA_CLIENT_REQUEST ClientRequest, SessionCreated = TRUE; - /* Build and fill the interactve profile buffer */ + /* Build and fill the interactive profile buffer */ Status = BuildInteractiveProfileBuffer(ClientRequest, UserInfo, &LogonServer, diff --git a/reactos/dll/win32/msv1_0/msv1_0.spec b/reactos/dll/win32/msv1_0/msv1_0.spec index ea061763b8c..954de3de6f3 100644 --- a/reactos/dll/win32/msv1_0/msv1_0.spec +++ b/reactos/dll/win32/msv1_0/msv1_0.spec @@ -14,5 +14,5 @@ @ stub MsvValidateTarget @ stub SpInitialize @ stub SpInstanceInit -@ stub SpLsaModeInitiaize -@ stub SpUserModeInitiaize +@ stub SpLsaModeInitialize +@ stub SpUserModeInitialize diff --git a/reactos/dll/win32/msvcrt/dllmain.c b/reactos/dll/win32/msvcrt/dllmain.c index c34f0710815..8b277d109cc 100644 --- a/reactos/dll/win32/msvcrt/dllmain.c +++ b/reactos/dll/win32/msvcrt/dllmain.c @@ -9,8 +9,8 @@ * use, modify or distribute it freely. * * This code is distributed in the hope that it will be useful but - * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY - * DISCLAMED. This includes but is not limited to warrenties of + * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY + * DISCLAMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * */ diff --git a/reactos/dll/win32/netcfgx/netcfgx.c b/reactos/dll/win32/netcfgx/netcfgx.c index 8d4f69f1dbc..949ff4e0dff 100644 --- a/reactos/dll/win32/netcfgx/netcfgx.c +++ b/reactos/dll/win32/netcfgx/netcfgx.c @@ -143,7 +143,7 @@ DllGetClassObject( /* Append a REG_SZ to an existing REG_MULTI_SZ string in the registry. * If the value doesn't exist, create it. - * Returns ERROR_SUCCESS if success. Othewise, returns an error code + * Returns ERROR_SUCCESS if success. Otherwise, returns an error code */ static LONG diff --git a/reactos/dll/win32/netid/lang/en-US.rc b/reactos/dll/win32/netid/lang/en-US.rc index 10e3955fe2a..bcc915c88d3 100644 --- a/reactos/dll/win32/netid/lang/en-US.rc +++ b/reactos/dll/win32/netid/lang/en-US.rc @@ -13,7 +13,7 @@ BEGIN EDITTEXT IDC_COMPUTERNAME, 98, 68, 144, 12, ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP LTEXT "Workgroup:", IDC_WORKGROUPDOMAIN, 6, 84, 64, 9 EDITTEXT IDC_WORKGROUPDOMAIN_NAME, 98, 84, 144, 12, ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP - LTEXT "To use the Network Identfication Wizard to join a domain and create a local user, click ""Network ID"".", IDC_STATIC, 6, 113, 172, 24 + LTEXT "To use the Network Identification Wizard to join a domain and create a local user, click ""Network ID"".", IDC_STATIC, 6, 113, 172, 24 PUSHBUTTON "&Network ID...", IDC_NETWORK_ID, 190, 114, 58, 15 LTEXT "To rename this computer or join a domain, click ""Change"".", IDC_STATIC, 6, 149, 170, 17 PUSHBUTTON "&Change...", IDC_NETWORK_PROPERTY, 190, 149, 58, 15 diff --git a/reactos/dll/win32/ntmarta/ntmarta.c b/reactos/dll/win32/ntmarta/ntmarta.c index 858f44564e3..2fb069b5122 100644 --- a/reactos/dll/win32/ntmarta/ntmarta.c +++ b/reactos/dll/win32/ntmarta/ntmarta.c @@ -1117,7 +1117,7 @@ AccpCloseObjectHandle(SE_OBJECT_TYPE ObjectType, { ASSERT(Handle != NULL); - /* close allocated handlees depending on the object type */ + /* close allocated handles depending on the object type */ switch (ObjectType) { case SE_REGISTRY_KEY: diff --git a/reactos/dll/win32/psapi/psapi.c b/reactos/dll/win32/psapi/psapi.c index 051d6f8ee56..1c82f505eda 100644 --- a/reactos/dll/win32/psapi/psapi.c +++ b/reactos/dll/win32/psapi/psapi.c @@ -969,7 +969,7 @@ GetModuleBaseNameW(HANDLE hProcess, lpBaseName[nSize - 1] = UNICODE_NULL; } } - /* Otherwise, nullify at last writen char */ + /* Otherwise, nullify at last written char */ else { ASSERT(Len + sizeof(UNICODE_NULL) <= nSize * sizeof(WCHAR)); @@ -1061,7 +1061,7 @@ GetModuleFileNameExW(HANDLE hProcess, lpFilename[nSize - 1] = UNICODE_NULL; } } - /* Otherwise, nullify at last writen char */ + /* Otherwise, nullify at last written char */ else { ASSERT(Len + sizeof(UNICODE_NULL) <= nSize * sizeof(WCHAR)); @@ -1267,7 +1267,7 @@ GetProcessImageFileNameA(HANDLE hProcess, /* Copy name */ Len = WideCharToMultiByte(CP_ACP, 0, ImageFileName->Buffer, ImageFileName->Length, lpImageFileName, nSize, NULL, NULL); - /* If conversion was successfull, don't return len with added \0 */ + /* If conversion was successful, don't return len with added \0 */ if (Len != 0) { Len -= sizeof(ANSI_NULL); @@ -1604,7 +1604,7 @@ GetProcessMemoryInfo(HANDLE Process, ppsmemCounters->QuotaNonPagedPoolUsage = Counters.QuotaNonPagedPoolUsage; ppsmemCounters->PagefileUsage = Counters.PagefileUsage; ppsmemCounters->PeakPagefileUsage = Counters.PeakPagefileUsage; - /* And if needed, additionnal field for _EX version */ + /* And if needed, additional field for _EX version */ if (cb >= sizeof(PROCESS_MEMORY_COUNTERS_EX)) { ((PPROCESS_MEMORY_COUNTERS_EX)ppsmemCounters)->PrivateUsage = Counters.PrivateUsage; diff --git a/reactos/dll/win32/rasadhlp/winsock.c b/reactos/dll/win32/rasadhlp/winsock.c index 7e3e585a483..eb14a3eff3c 100644 --- a/reactos/dll/win32/rasadhlp/winsock.c +++ b/reactos/dll/win32/rasadhlp/winsock.c @@ -22,21 +22,21 @@ WSAttemptAutodialAddr(IN CONST SOCKADDR FAR *Name, { PSOCKADDR_IN Ip = (PSOCKADDR_IN)Name; PSOCKADDR_NB NetBios = (PSOCKADDR_NB)Name; - AUTODIAL_ADDR AutodialAdddress; + AUTODIAL_ADDR AutodialAddress; /* Check the family type */ switch (Name->sa_family) { case AF_INET: /* Normal IPv4, set the Autodial Address Data */ - AutodialAdddress.Family = AutoDialIp; - AutodialAdddress.Ip4Address = Ip->sin_addr; + AutodialAddress.Family = AutoDialIp; + AutodialAddress.Ip4Address = Ip->sin_addr; break; case AF_NETBIOS: /* NetBIOS, set the Autodial Address Data*/ - AutodialAdddress.Family = AutoDialNetBios; - RtlCopyMemory(&AutodialAdddress.NetBiosAddress, + AutodialAddress.Family = AutoDialNetBios; + RtlCopyMemory(&AutodialAddress.NetBiosAddress, NetBios->snb_name, NETBIOS_NAME_LENGTH); break; @@ -47,7 +47,7 @@ WSAttemptAutodialAddr(IN CONST SOCKADDR FAR *Name, } /* Call the public routine */ - return AcsHlpAttemptConnection(&AutodialAdddress); + return AcsHlpAttemptConnection(&AutodialAddress); } /* @@ -57,7 +57,7 @@ BOOL WINAPI WSAttemptAutodialName(IN CONST LPWSAQUERYSETW Restrictions) { - AUTODIAL_ADDR AutodialAdddress; + AUTODIAL_ADDR AutodialAddress; CHAR AnsiIp[17]; LPGUID Guid = Restrictions->lpServiceClassId; @@ -68,23 +68,23 @@ WSAttemptAutodialName(IN CONST LPWSAQUERYSETW Restrictions) if (!memcmp(Guid, &HostnameGuid, sizeof(GUID))) { /* It is. Set up the Autodial Address Data */ - AutodialAdddress.Family = AutoDialIpHost; + AutodialAddress.Family = AutoDialIpHost; WideCharToMultiByte(CP_ACP, 0, Restrictions->lpszServiceInstanceName, -1, - AutodialAdddress.HostName, + AutodialAddress.HostName, INTERNET_MAX_PATH_LENGTH - 1, 0, 0); /* Call the public routine */ - return AcsHlpAttemptConnection(&AutodialAdddress); + return AcsHlpAttemptConnection(&AutodialAddress); } else if (!memcmp(Guid, &AddressGuid, sizeof(GUID))) { /* It's actually the IP String GUID */ - AutodialAdddress.Family = AutoDialIp; + AutodialAddress.Family = AutoDialIp; /* Convert the IP String to ANSI and then convert it to IP */ WideCharToMultiByte(CP_ACP, @@ -96,13 +96,13 @@ WSAttemptAutodialName(IN CONST LPWSAQUERYSETW Restrictions) 0, 0); _strlwr(AnsiIp); - AutodialAdddress.Ip4Address.S_un.S_addr = inet_addr(AnsiIp); + AutodialAddress.Ip4Address.S_un.S_addr = inet_addr(AnsiIp); /* Make sure the IP is valid */ - if (AutodialAdddress.Ip4Address.S_un.S_addr == -1) return FALSE; + if (AutodialAddress.Ip4Address.S_un.S_addr == -1) return FALSE; /* Call the public routine */ - return AcsHlpAttemptConnection(&AutodialAdddress); + return AcsHlpAttemptConnection(&AutodialAddress); } else { @@ -119,18 +119,18 @@ WINAPI WSNoteSuccessfulHostentLookup(IN CONST CHAR FAR *Name, IN CONST ULONG Address) { - AUTODIAL_ADDR AutodialAdddress; + AUTODIAL_ADDR AutodialAddress; AUTODIAL_CONN AutodialConnection; /* Make sure there actually is a name */ if (!(Name) || !strlen(Name)) return; /* Setup the Address */ - AutodialAdddress.Family = AutoDialIpHost; - strcpy(AutodialAdddress.HostName, Name); + AutodialAddress.Family = AutoDialIpHost; + strcpy(AutodialAddress.HostName, Name); /* Setup the new connection */ AutodialConnection.Family = ConnectionIp; AutodialConnection.Ip4Address = Address; - AcsHlpNoteNewConnection(&AutodialAdddress, &AutodialConnection); + AcsHlpNoteNewConnection(&AutodialAddress, &AutodialConnection); } diff --git a/reactos/dll/win32/rasdlg/lang/en-US.rc b/reactos/dll/win32/rasdlg/lang/en-US.rc index a9ed34c0b37..1d17a1f19d7 100644 --- a/reactos/dll/win32/rasdlg/lang/en-US.rc +++ b/reactos/dll/win32/rasdlg/lang/en-US.rc @@ -1314,7 +1314,7 @@ BEGIN AUTOCHECKBOX "&Use pre-shared key for authentication", 1604, 21, 15, 217, 10 LTEXT "&Key:", 1602, 20, 31, 44, 12 EDITTEXT 1605, 66, 30, 172, 12, ES_AUTOHSCROLL - AUTOCHECKBOX "Allow certificiates from my user store in addition to machine certificates", 1606, 20, 50, 242, 13, WS_DISABLED + AUTOCHECKBOX "Allow certificates from my user store in addition to machine certificates", 1606, 20, 50, 242, 13, WS_DISABLED AUTOCHECKBOX "Use a specific certificate", 1607, 20, 67, 239, 10, WS_DISABLED PUSHBUTTON "Select", 1608, 31, 84, 50, 14, WS_DISABLED COMBOBOX 1610, 91, 84, 135, 30, CBS_DROPDOWN | CBS_SORT | WS_DISABLED | WS_VSCROLL | NOT WS_TABSTOP @@ -2291,15 +2291,15 @@ BEGIN 7324 "An internal error has occured. \0" 7325 "Listview\0" 7326 "An error has occurred while attempting to commit the changes you have made to the local user database. \0" - 7327 "You have insufficient priveleges to add a user to the local system database. \0" + 7327 "You have insufficient privileges to add a user to the local system database. \0" 7328 "The user you are trying create already exists in the local user database.\0" 7329 "The user was not added to the local user database because the password you entered was rejected.\0" 7330 "Unable to reload the system user database because of an internal error.\0" 7331 "An internal error has occurred: The local user database handle is corrupt.\0" - 7332 "Unable to load the resources neccessary to display the user tab.\0" + 7332 "Unable to load the resources necessary to display the user tab.\0" 7333 "An internal error occured while attempting to rollback the changes you made to the local user database. \0" 7334 "The device database handle is corrupt.\0" - 7335 "Unable to load the resources neccessary to display the general tab.\0" + 7335 "Unable to load the resources necessary to display the general tab.\0" 7336 "An error has occurred while attempting to commit some of the device/vpn related changes you have made. \0" 7337 "An internal error occured.\0" 7338 "An internal error occurred: The networking component database handle is corrupt.\0" diff --git a/reactos/dll/win32/samlib/samlib.c b/reactos/dll/win32/samlib/samlib.c index c0d500bbaa0..b4dacd9e42f 100644 --- a/reactos/dll/win32/samlib/samlib.c +++ b/reactos/dll/win32/samlib/samlib.c @@ -1987,7 +1987,7 @@ SamSetInformationUser(IN SAM_HANDLE UserHandle, return Status; } - /* Calculate the NT hash value of the passord */ + /* Calculate the NT hash value of the password */ Status = SystemFunction007((PUNICODE_STRING)&PasswordBuffer->Password, (LPBYTE)&Internal1Buffer.EncryptedNtOwfPassword); if (!NT_SUCCESS(Status)) diff --git a/reactos/dll/win32/samsrv/lang/en-US.rc b/reactos/dll/win32/samsrv/lang/en-US.rc index 075ab75fe20..214dc2bb3c0 100644 --- a/reactos/dll/win32/samsrv/lang/en-US.rc +++ b/reactos/dll/win32/samsrv/lang/en-US.rc @@ -19,7 +19,7 @@ BEGIN * syssetup.dll:IDS_ADMINISTRATOR_NAME synchronized. */ IDS_USER_ADMINISTRATOR_NAME "Administrator" - IDS_USER_ADMINISTRATOR_COMMENT "Built-in account used to administate the computer or domain." + IDS_USER_ADMINISTRATOR_COMMENT "Built-in account used to administrate the computer or domain." IDS_USER_GUEST_NAME "Guest" IDS_USER_GUEST_COMMENT "Built-in account for guest access to the computer or domain." END diff --git a/reactos/dll/win32/samsrv/samrpc.c b/reactos/dll/win32/samsrv/samrpc.c index d4112c4bcaa..431f034052b 100644 --- a/reactos/dll/win32/samsrv/samrpc.c +++ b/reactos/dll/win32/samsrv/samrpc.c @@ -899,7 +899,7 @@ SamrOpenDomain(IN SAMPR_HANDLE ServerHandle, } else { - /* No vaild domain SID */ + /* No valid domain SID */ Status = STATUS_INVALID_PARAMETER; } @@ -3053,7 +3053,7 @@ SamrCreateAliasInDomain(IN SAMPR_HANDLE DomainHandle, goto done; } - /* Check the alias acoount name */ + /* Check the alias account name */ Status = SampCheckAccountName(AccountName, 256); if (!NT_SUCCESS(Status)) { @@ -5904,7 +5904,7 @@ SampQueryUserLogon(PSAM_DB_OBJECT UserObject, } /* Get the LogonHours attribute */ - Status = SampGetLogonHoursAttrbute(UserObject, + Status = SampGetLogonHoursAttribute(UserObject, &InfoBuffer->Logon.LogonHours); if (!NT_SUCCESS(Status)) { @@ -6071,7 +6071,7 @@ SampQueryUserAccount(PSAM_DB_OBJECT UserObject, } /* Get the LogonHours attribute */ - Status = SampGetLogonHoursAttrbute(UserObject, + Status = SampGetLogonHoursAttribute(UserObject, &InfoBuffer->Account.LogonHours); if (!NT_SUCCESS(Status)) { @@ -6140,11 +6140,11 @@ SampQueryUserLogonHours(PSAM_DB_OBJECT UserObject, return STATUS_INSUFFICIENT_RESOURCES; } - Status = SampGetLogonHoursAttrbute(UserObject, + Status = SampGetLogonHoursAttribute(UserObject, &InfoBuffer->LogonHours.LogonHours); if (!NT_SUCCESS(Status)) { - TRACE("SampGetLogonHoursAttrbute failed (Status 0x%08lx)\n", Status); + TRACE("SampGetLogonHoursAttribute failed (Status 0x%08lx)\n", Status); goto done; } @@ -6994,7 +6994,7 @@ SampQueryUserAll(PSAM_DB_OBJECT UserObject, /* Get the LogonHours attribute */ if (InfoBuffer->All.WhichFields & USER_ALL_LOGONHOURS) { - Status = SampGetLogonHoursAttrbute(UserObject, + Status = SampGetLogonHoursAttribute(UserObject, &InfoBuffer->All.LogonHours); if (!NT_SUCCESS(Status)) { @@ -7871,7 +7871,7 @@ SampSetUserAll(PSAM_DB_OBJECT UserObject, if (WhichFields & USER_ALL_LOGONHOURS) { - Status = SampSetLogonHoursAttrbute(UserObject, + Status = SampSetLogonHoursAttribute(UserObject, &Buffer->All.LogonHours); if (!NT_SUCCESS(Status)) goto done; @@ -7952,13 +7952,13 @@ SampSetUserAll(PSAM_DB_OBJECT UserObject, { if (Buffer->All.PasswordExpired) { - /* The pasword was last set ages ago */ + /* The password was last set ages ago */ FixedData.PasswordLastSet.LowPart = 0; FixedData.PasswordLastSet.HighPart = 0; } else { - /* The pasword was last set right now */ + /* The password was last set right now */ Status = NtQuerySystemTime(&FixedData.PasswordLastSet); if (!NT_SUCCESS(Status)) goto done; @@ -8073,7 +8073,7 @@ SamrSetInformationUser(IN SAMPR_HANDLE UserHandle, break; case UserLogonHoursInformation: - Status = SampSetLogonHoursAttrbute(UserObject, + Status = SampSetLogonHoursAttribute(UserObject, &Buffer->LogonHours.LogonHours); break; diff --git a/reactos/dll/win32/samsrv/samsrv.h b/reactos/dll/win32/samsrv/samsrv.h index a95e4df64f8..842ac51e2d0 100644 --- a/reactos/dll/win32/samsrv/samsrv.h +++ b/reactos/dll/win32/samsrv/samsrv.h @@ -391,12 +391,12 @@ SampSetUserPassword(IN PSAM_DB_OBJECT UserObject, IN BOOLEAN LmPasswordPresent); NTSTATUS -SampGetLogonHoursAttrbute(IN PSAM_DB_OBJECT UserObject, - IN OUT PSAMPR_LOGON_HOURS LogonHours); +SampGetLogonHoursAttribute(IN PSAM_DB_OBJECT UserObject, + IN OUT PSAMPR_LOGON_HOURS LogonHours); NTSTATUS -SampSetLogonHoursAttrbute(IN PSAM_DB_OBJECT UserObject, - IN PSAMPR_LOGON_HOURS LogonHours); +SampSetLogonHoursAttribute(IN PSAM_DB_OBJECT UserObject, + IN PSAMPR_LOGON_HOURS LogonHours); /* utils.c */ diff --git a/reactos/dll/win32/samsrv/setup.c b/reactos/dll/win32/samsrv/setup.c index 2e5c970fec0..5694e9eb445 100644 --- a/reactos/dll/win32/samsrv/setup.c +++ b/reactos/dll/win32/samsrv/setup.c @@ -931,7 +931,7 @@ SampInitializeSAM(VOID) pBuiltinSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, RtlLengthRequiredSid(1)); if (pBuiltinSid == NULL) { - ERR("Failed to alloacte the Builtin Domain SID\n"); + ERR("Failed to allocate the Builtin Domain SID\n"); bResult = FALSE; goto done; } @@ -943,7 +943,7 @@ SampInitializeSAM(VOID) pInteractiveSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, RtlLengthRequiredSid(1)); if (pInteractiveSid == NULL) { - ERR("Failed to alloacte the Interactive SID\n"); + ERR("Failed to allocate the Interactive SID\n"); bResult = FALSE; goto done; } @@ -955,7 +955,7 @@ SampInitializeSAM(VOID) pAuthenticatedUserSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, RtlLengthRequiredSid(1)); if (pAuthenticatedUserSid == NULL) { - ERR("Failed to alloacte the Authenticated User SID\n"); + ERR("Failed to allocate the Authenticated User SID\n"); bResult = FALSE; goto done; } diff --git a/reactos/dll/win32/samsrv/user.c b/reactos/dll/win32/samsrv/user.c index a442780992a..84099636018 100644 --- a/reactos/dll/win32/samsrv/user.c +++ b/reactos/dll/win32/samsrv/user.c @@ -616,7 +616,7 @@ done: NTSTATUS -SampGetLogonHoursAttrbute(IN PSAM_DB_OBJECT UserObject, +SampGetLogonHoursAttribute(IN PSAM_DB_OBJECT UserObject, IN OUT PSAMPR_LOGON_HOURS LogonHours) { PUCHAR RawBuffer = NULL; @@ -686,7 +686,7 @@ done: NTSTATUS -SampSetLogonHoursAttrbute(IN PSAM_DB_OBJECT UserObject, +SampSetLogonHoursAttribute(IN PSAM_DB_OBJECT UserObject, IN PSAMPR_LOGON_HOURS LogonHours) { PUCHAR RawBuffer = NULL; diff --git a/reactos/dll/win32/smdll/query.c b/reactos/dll/win32/smdll/query.c index f7858ece5fe..d3b6e964398 100644 --- a/reactos/dll/win32/smdll/query.c +++ b/reactos/dll/win32/smdll/query.c @@ -32,7 +32,7 @@ * DataLength: length in bytes of the Data buffer; it must be * set and must match the SmInformationClass info size; * ReturnedDataLength: optional pointer to storage to receive - * the size of the returnede data. + * the size of the returned data. * * RETURN VALUE * STATUS_SUCCESS: OK you get what you asked for; diff --git a/reactos/dll/win32/smdll/readme.txt b/reactos/dll/win32/smdll/readme.txt index d5551610031..a85f2f10152 100644 --- a/reactos/dll/win32/smdll/readme.txt +++ b/reactos/dll/win32/smdll/readme.txt @@ -12,7 +12,7 @@ b) environment subsystem servers, because each one should register in c) terminal emulators for optional subsystems, like posixw32 and os2w32, to ask the SM to start the optional subsystem server they need connect to; -d) system and development utilites to debug/query the SM. +d) system and development utilities to debug/query the SM. 2004-02-15 ea diff --git a/reactos/dll/win32/wdmaud.drv/mmixer.c b/reactos/dll/win32/wdmaud.drv/mmixer.c index a025a0ef2f8..9f5810628fe 100644 --- a/reactos/dll/win32/wdmaud.drv/mmixer.c +++ b/reactos/dll/win32/wdmaud.drv/mmixer.c @@ -391,7 +391,7 @@ WdmAudCleanupByMMixer() } MMRESULT -WdmAudGetMixerCapabilties( +WdmAudGetMixerCapabilities( IN ULONG DeviceId, LPMIXERCAPSW Capabilities) { @@ -530,7 +530,7 @@ WdmAudGetCapabilitiesByMMixer( if (DeviceType == MIXER_DEVICE_TYPE) { - return WdmAudGetMixerCapabilties(DeviceId, (LPMIXERCAPSW)Capabilities); + return WdmAudGetMixerCapabilities(DeviceId, (LPMIXERCAPSW)Capabilities); } else if (DeviceType == WAVE_OUT_DEVICE_TYPE) { diff --git a/reactos/dll/win32/ws2_32/src/addrinfo.c b/reactos/dll/win32/ws2_32/src/addrinfo.c index 540f85e4d2b..f3dd3d50119 100644 --- a/reactos/dll/win32/ws2_32/src/addrinfo.c +++ b/reactos/dll/win32/ws2_32/src/addrinfo.c @@ -361,7 +361,7 @@ LookupNodeByAddr(IN LPWSTR pNodeBuffer, &LookupHandle); if (ErrorCode == ERROR_SUCCESS) { - /* Lookup succesfull, now get the data */ + /* Lookup successful, now get the data */ BufferLength = (NI_MAXHOST - 1) * sizeof(WCHAR) + sizeof(Restrictions); ErrorCode = WSALookupServiceNextW(LookupHandle, 0, @@ -460,7 +460,7 @@ LookupAddressForName(IN LPCSTR NodeName, /* Exit if we have a result */ if (*pptResult) break; - /* Don't loop continously if this is a DNS misconfiguration */ + /* Don't loop continuously if this is a DNS misconfiguration */ if ((!strlen(Alias)) || (!strcmp(Name, Alias)) || (++AliasCount == 16)) { /* Exit the loop with a failure */ @@ -472,7 +472,7 @@ LookupAddressForName(IN LPCSTR NodeName, Swap(Name, Alias, Scratch); } - /* Check if we suceeded and the canonical name is requested */ + /* Check if we succeeded and the canonical name is requested */ if (!iError && bAI_CANONNAME) { /* Allocate memory for a copy */ @@ -843,7 +843,7 @@ getaddrinfo(const char FAR *nodename, (PADDRINFOW)hints, (PADDRINFOW*)res); - /* Convert it to ANSI if we suceeded */ + /* Convert it to ANSI if we succeeded */ if (ErrorCode == ERROR_SUCCESS) ConvertAddrinfoFromUnicodeToAnsi((PADDRINFOW)*res); Quickie: @@ -917,7 +917,7 @@ GetNameInfoW(IN CONST SOCKADDR *pSockaddr, return EAI_FAMILY; } - /* Check for valid socket adress length */ + /* Check for valid socket address length */ if ((DWORD)SockaddrLength < AddressLength) return WSAEFAULT; @@ -942,7 +942,7 @@ GetNameInfoW(IN CONST SOCKADDR *pSockaddr, } else { - /* We suceeded, no need to get the numeric address */ + /* We succeeded, no need to get the numeric address */ goto SkipNumeric; } } diff --git a/reactos/dll/win32/ws2_32/src/async.c b/reactos/dll/win32/ws2_32/src/async.c index 3f38734de0a..caa76940d0c 100644 --- a/reactos/dll/win32/ws2_32/src/async.c +++ b/reactos/dll/win32/ws2_32/src/async.c @@ -56,7 +56,7 @@ BytesInHostent(PHOSTENT Hostent) /* Add 2 pointers for the list-terminators */ Bytes += 2 * sizeof(ULONG_PTR); - /* Now loop for the alises */ + /* Now loop for the aliases */ for (i = 0; Hostent->h_aliases[i]; i++) { /* Add the alias size, plus the space its pointer takes */ @@ -89,7 +89,7 @@ BytesInServent(PSERVENT Servent) /* Add 1 pointers for the list terminator */ Bytes += sizeof(ULONG_PTR); - /* Now loop for the alises */ + /* Now loop for the aliases */ for (i = 0; Servent->s_aliases[i]; i++) { /* Add the alias size, plus the space its pointer takes */ @@ -113,7 +113,7 @@ BytesInProtoent(PPROTOENT Protoent) /* Add 1 pointers for the list terminator */ Bytes += sizeof(ULONG_PTR); - /* Now loop for the alises */ + /* Now loop for the aliases */ for (i = 0; Protoent->p_aliases[i]; i++) { /* Add the alias size, plus the space its pointer takes */ @@ -492,7 +492,7 @@ WsAsyncGetServ(IN HANDLE TaskHandle, LPARAM lParam; INT ErrorCode = 0; - /* Check the operaiton */ + /* Check the operation */ if (Operation == WsAsyncGetServByName) { /* Call the API */ @@ -537,7 +537,7 @@ WsAsyncGetServ(IN HANDLE TaskHandle, } } - /* Not processing anyomre */ + /* Not processing anymore */ WsAsyncCurrentTaskHandle = NULL; /* Release the lock */ @@ -565,7 +565,7 @@ WsAsyncGetProto(IN HANDLE TaskHandle, LPARAM lParam; INT ErrorCode = 0; - /* Check the operaiton */ + /* Check the operation */ if (Operation == WsAsyncGetProtoByName) { /* Call the API */ @@ -610,7 +610,7 @@ WsAsyncGetProto(IN HANDLE TaskHandle, } } - /* Not processing anyomre */ + /* Not processing anymore */ WsAsyncCurrentTaskHandle = NULL; /* Release the lock */ @@ -640,7 +640,7 @@ WsAsyncGetHost(IN HANDLE TaskHandle, LPARAM lParam; INT ErrorCode = 0; - /* Check the operaiton */ + /* Check the operation */ if (Operation == WsAsyncGetHostByAddr) { /* Call the API */ @@ -685,7 +685,7 @@ WsAsyncGetHost(IN HANDLE TaskHandle, } } - /* Not processing anyomre */ + /* Not processing anymore */ WsAsyncCurrentTaskHandle = NULL; /* Release the lock */ diff --git a/reactos/dll/win32/ws2_32/src/dcatalog.c b/reactos/dll/win32/ws2_32/src/dcatalog.c index a2a9e0bfa1c..6dc58f9c99b 100644 --- a/reactos/dll/win32/ws2_32/src/dcatalog.c +++ b/reactos/dll/win32/ws2_32/src/dcatalog.c @@ -834,7 +834,7 @@ CatalogChanged: /* Check if the socket is invalid */ if (NewHandle == INVALID_SOCKET) return WSAENOTSOCK; - /* We suceeded, get out of here */ + /* We succeeded, get out of here */ return ERROR_SUCCESS; } diff --git a/reactos/dll/win32/ws2_32/src/getproto.c b/reactos/dll/win32/ws2_32/src/getproto.c index 825a1eba5df..ad69500dccc 100644 --- a/reactos/dll/win32/ws2_32/src/getproto.c +++ b/reactos/dll/win32/ws2_32/src/getproto.c @@ -73,7 +73,7 @@ GetProtoOpenNetworkDatabase(PCHAR Name) } else { - /* Use defalt path */ + /* Use default path */ GetSystemDirectory(ExpandedPath, MAX_PATH); if (ExpandedPath[strlen(ExpandedPath) - 1] != '\\') { diff --git a/reactos/dll/win32/ws2_32/src/getxbyxx.c b/reactos/dll/win32/ws2_32/src/getxbyxx.c index aff4fc5f30f..75640b18903 100644 --- a/reactos/dll/win32/ws2_32/src/getxbyxx.c +++ b/reactos/dll/win32/ws2_32/src/getxbyxx.c @@ -51,7 +51,7 @@ UnpackServEnt(PSERVENT Servent) /* Convert all the List Offsets to Pointers */ FixList(&Servent->s_aliases, ServentPtr); - /* Convert the Name and Protocol Offesets to Pointers */ + /* Convert the Name and Protocol Offsets to Pointers */ Servent->s_name = (PCHAR)(Servent->s_name + ServentPtr); Servent->s_proto = (PCHAR)(Servent->s_proto + ServentPtr); } @@ -449,7 +449,7 @@ getservbyport(IN int port, return NULL; } - /* No protocol specifed */ + /* No protocol specified */ if(!proto) proto = ""; /* Allocate memory for the port name */ @@ -518,7 +518,7 @@ getservbyname(IN const char FAR * name, return NULL; } - /* No protocol specifed */ + /* No protocol specified */ if(!proto) proto = ""; /* Allocate buffer for it */ diff --git a/reactos/dll/win32/ws2_32/src/nsquery.c b/reactos/dll/win32/ws2_32/src/nsquery.c index 5c22bfdfb16..2019faf43ad 100644 --- a/reactos/dll/win32/ws2_32/src/nsquery.c +++ b/reactos/dll/win32/ws2_32/src/nsquery.c @@ -301,7 +301,7 @@ WsNqLookupServiceNext(IN PNSQUERY NsQuery, /* Call the helper to auto-dial */ if (WSAttemptAutodialName(NsQuery->QuerySet)) { - /* It suceeded, so we'll delete the current state. */ + /* It succeeded, so we'll delete the current state. */ while (!IsListEmpty(&NsQuery->ProviderList)) { /* Remove the entry and get its provider */ diff --git a/reactos/dll/win32/ws2_32/src/qshelpr.c b/reactos/dll/win32/ws2_32/src/qshelpr.c index 2586c5dfc8b..e80316e7ce0 100644 --- a/reactos/dll/win32/ws2_32/src/qshelpr.c +++ b/reactos/dll/win32/ws2_32/src/qshelpr.c @@ -47,7 +47,7 @@ AnsiDupFromUnicode(IN LPWSTR UnicodeString) } else if (ReturnValue > 0) { - /* The second loop was sucesfull and we have the string */ + /* The second loop was successful and we have the string */ GoOn = FALSE; } else @@ -93,7 +93,7 @@ UnicodeDupFromAnsi(IN LPSTR AnsiString) } else if (ReturnValue > 0) { - /* The second loop was sucesfull and we have the string */ + /* The second loop was successful and we have the string */ GoOn = FALSE; } else diff --git a/reactos/dll/win32/ws2_32/src/rasdial.c b/reactos/dll/win32/ws2_32/src/rasdial.c index 0b5b709d967..6fe6405ac9f 100644 --- a/reactos/dll/win32/ws2_32/src/rasdial.c +++ b/reactos/dll/win32/ws2_32/src/rasdial.c @@ -79,7 +79,7 @@ WsRasLoadHelperDll(VOID) /* Acquire the lock */ WsRasLock(); - /* Check if we were already initialiazed */ + /* Check if we were already initialized */ if (!WsRasInitialized) { /* Open the registry root key */ diff --git a/reactos/dll/win32/ws2_32/src/rnr.c b/reactos/dll/win32/ws2_32/src/rnr.c index 518541c7a03..e23f101803d 100644 --- a/reactos/dll/win32/ws2_32/src/rnr.c +++ b/reactos/dll/win32/ws2_32/src/rnr.c @@ -248,7 +248,7 @@ WSALookupServiceBeginA(IN LPWSAQUERYSETA lpqsRestrictions, DWORD UnicodeQuerySetSize = 0; DPRINT("WSALookupServiceBeginA: %p\n", lpqsRestrictions); - /* Verifiy pointer */ + /* Verify pointer */ if (IsBadReadPtr(lpqsRestrictions, sizeof(*lpqsRestrictions)) || IsBadReadPtr(lpqsRestrictions->lpServiceClassId, sizeof(*lpqsRestrictions->lpServiceClassId))) { diff --git a/reactos/dll/win32/ws2_32/src/sputil.c b/reactos/dll/win32/ws2_32/src/sputil.c index 854bee2ba9e..f43de290dd7 100644 --- a/reactos/dll/win32/ws2_32/src/sputil.c +++ b/reactos/dll/win32/ws2_32/src/sputil.c @@ -151,7 +151,7 @@ WPUQueryBlockingCallback(IN DWORD dwCatalogEntryId, } else { - /* Return excpected value and no callback */ + /* Return expected value and no callback */ Status = SOCKET_ERROR; Callback = NULL; } diff --git a/reactos/dll/win32/ws2_32/src/startup.c b/reactos/dll/win32/ws2_32/src/startup.c index c63b5818a4a..57a6fd4f137 100644 --- a/reactos/dll/win32/ws2_32/src/startup.c +++ b/reactos/dll/win32/ws2_32/src/startup.c @@ -92,7 +92,7 @@ WSACleanup(VOID) } else { - DPRINT("WSACleanup unintialized\n"); + DPRINT("WSACleanup uninitialized\n"); /* Weren't initialized */ SetLastError(ErrorCode); ErrorCode = SOCKET_ERROR; diff --git a/reactos/dll/win32/ws2help/apc.c b/reactos/dll/win32/ws2help/apc.c index 0a05a775ec6..0e55a891a2b 100644 --- a/reactos/dll/win32/ws2help/apc.c +++ b/reactos/dll/win32/ws2help/apc.c @@ -75,7 +75,7 @@ WahCloseThread(IN HANDLE ApcHelperHandle, /* Close the thread handle */ if (CloseHandle(ThreadId->ThreadHandle)) { - /* Clear the sturcture */ + /* Clear the structure */ ThreadId->ThreadHandle = NULL; ThreadId->Reserved = 0; return NO_ERROR; diff --git a/reactos/dll/win32/ws2help/dllmain.c b/reactos/dll/win32/ws2help/dllmain.c index d2a3a7a1dd0..dc18f1e0727 100644 --- a/reactos/dll/win32/ws2help/dllmain.c +++ b/reactos/dll/win32/ws2help/dllmain.c @@ -13,7 +13,7 @@ HANDLE GlobalHeap; BOOL Ws2helpInitialized = FALSE; -CRITICAL_SECTION StartupSyncronization; +CRITICAL_SECTION StartupSynchronization; HINSTANCE LibraryHdl; /* FUNCTIONS *****************************************************************/ @@ -103,7 +103,7 @@ WINAPI Ws2helpInitialize(VOID) { /* Enter the startup CS */ - EnterCriticalSection(&StartupSyncronization); + EnterCriticalSection(&StartupSynchronization); /* Check again for init */ if (!Ws2helpInitialized) @@ -114,7 +114,7 @@ Ws2helpInitialize(VOID) } /* Leave the CS and return */ - LeaveCriticalSection(&StartupSyncronization); + LeaveCriticalSection(&StartupSynchronization); return ERROR_SUCCESS; } @@ -135,7 +135,7 @@ DllMain(HANDLE hModule, DisableThreadLibraryCalls(hModule); /* Initialize startup CS */ - InitializeCriticalSection(&StartupSyncronization); + InitializeCriticalSection(&StartupSynchronization); /* Get Global Heap */ GlobalHeap = GetProcessHeap(); @@ -160,7 +160,7 @@ DllMain(HANDLE hModule, if (ghWriterEvent) CloseHandle(ghWriterEvent); /* Delete the startup CS */ - DeleteCriticalSection(&StartupSyncronization); + DeleteCriticalSection(&StartupSynchronization); Ws2helpInitialized = FALSE; } break; diff --git a/reactos/dll/win32/ws2help/handle.c b/reactos/dll/win32/ws2help/handle.c index 3064bd4e481..00ead65e21b 100644 --- a/reactos/dll/win32/ws2help/handle.c +++ b/reactos/dll/win32/ws2help/handle.c @@ -267,7 +267,7 @@ WahDisableNonIFSHandleSupport(VOID) /* Open the service */ Ws2IfsHandle = OpenService(ServiceMgrHandle, "WS2IFSL", SERVICE_ALL_ACCESS); - /* Disable the servce */ + /* Disable the service */ ChangeServiceConfig(Ws2IfsHandle, SERVICE_NO_CHANGE, SERVICE_DISABLED, @@ -425,7 +425,7 @@ WahOpenHandleHelper(OUT PHANDLE HelperHandle) } else { - /* Get the errror code */ + /* Get the error code */ ErrorCode = GetLastError(); }