Index: rostests/winetests/GUI/mainwnd.c =================================================================== --- rostests/winetests/GUI/mainwnd.c (revision 58683) +++ rostests/winetests/GUI/mainwnd.c (working copy) @@ -214,7 +214,7 @@ { // // Create a new thread to create the client process - // and recieve any ouput via stdout + // and receive any ouput via stdout // CreateThread(NULL, 0, Index: rostests/tests/readconsole/main.c =================================================================== --- rostests/tests/readconsole/main.c (revision 58683) +++ rostests/tests/readconsole/main.c (working copy) @@ -23,7 +23,7 @@ // _tprintf(TEXT("You printed %c :: "), Buffer); _tprintf(TEXT("With a value %d :: "), Buffer); - _tprintf(TEXT("Number of chars recieved %lu :: "), Count); + _tprintf(TEXT("Number of chars received %lu :: "), Count); _tprintf(TEXT("Char equal to backspace %d \n"), (Buffer == TEXT('\b'))); // Index: rosapps/applications/net/tsclient/rdesktop/doc/seamlessrdp-channel.txt =================================================================== --- rosapps/applications/net/tsclient/rdesktop/doc/seamlessrdp-channel.txt (revision 58683) +++ rosapps/applications/net/tsclient/rdesktop/doc/seamlessrdp-channel.txt (working copy) @@ -280,5 +280,5 @@ Syntax: FOCUS,,, -Changes which window that will recieve the keyboard events. Note that this +Changes which window that will receive the keyboard events. Note that this might cause the window to change z order. Index: reactos/media/doc/winsta and desktops.txt =================================================================== --- reactos/media/doc/winsta and desktops.txt (revision 58683) +++ reactos/media/doc/winsta and desktops.txt (working copy) @@ -32,7 +32,7 @@ -The one-and-only interactive WinSta. -No other winsta can be visible/active. --Only WinSta0 can recieve input. +-Only WinSta0 can receive input. -All other WinSta's are invisible/non-interactive WinStas. What good is a invisible WinSta? Its used for running services in thus services cant Index: reactos/boot/freeldr/freeldr/include/comm.h =================================================================== --- reactos/boot/freeldr/freeldr/include/comm.h (revision 58683) +++ reactos/boot/freeldr/freeldr/include/comm.h (working copy) @@ -22,7 +22,7 @@ #pragma once BOOLEAN Rs232PortInitialize(ULONG ComPort, ULONG BaudRate); -BOOLEAN Rs232PortGetByte(PUCHAR ByteRecieved); -// BOOLEAN Rs232PortPollByte(PUCHAR ByteRecieved); +BOOLEAN Rs232PortGetByte(PUCHAR ByteReceived); +// BOOLEAN Rs232PortPollByte(PUCHAR ByteReceived); VOID Rs232PortPutByte(UCHAR ByteToSend); BOOLEAN Rs232PortInUse(PUCHAR Base); Index: reactos/include/reactos/libs/fullfat/ff_config.h =================================================================== --- reactos/include/reactos/libs/fullfat/ff_config.h (revision 58683) +++ reactos/include/reactos/libs/fullfat/ff_config.h (working copy) @@ -143,7 +143,7 @@ //---------- Driver Sleep Time -#define FF_DRIVER_BUSY_SLEEP 20 // How long FullFAT should sleep the thread for in ms, if FF_ERR_DRIVER_BUSY is recieved. +#define FF_DRIVER_BUSY_SLEEP 20 // How long FullFAT should sleep the thread for in ms, if FF_ERR_DRIVER_BUSY is received. //---------- DEBUGGING FEATURES (HELPFUL ERROR MESSAGES) Index: reactos/include/ddk/ndiswan.h =================================================================== --- reactos/include/ddk/ndiswan.h (revision 58683) +++ reactos/include/ddk/ndiswan.h (working copy) @@ -228,10 +228,10 @@ OUT ULONG BytesReceivedUncompressed; OUT ULONG BytesTransmittedCompressed; OUT ULONG BytesReceivedCompressed; - OUT ULONG TunnelPacketsRecieved; - OUT ULONG TunnelRecievePacketsPending; + OUT ULONG TunnelPacketsReceived; + OUT ULONG TunnelReceivePacketsPending; OUT ULONG TunnelPacketsIndicatedUp; - OUT ULONG TunnelRecievePacketsRejected; + OUT ULONG TunnelReceivePacketsRejected; OUT ULONG TunnelPacketsSent; OUT ULONG TunnelPacketsSentComplete; OUT ULONG TunnelTransmitPacketsPending; @@ -317,10 +317,10 @@ OUT ULONG BytesReceivedUncompressed; OUT ULONG BytesTransmittedCompressed; OUT ULONG BytesReceivedCompressed; - OUT ULONG TunnelPacketsRecieved; - OUT ULONG TunnelRecievePacketsPending; + OUT ULONG TunnelPacketsReceived; + OUT ULONG TunnelReceivePacketsPending; OUT ULONG TunnelPacketsIndicatedUp; - OUT ULONG TunnelRecievePacketsRejected; + OUT ULONG TunnelReceivePacketsRejected; OUT ULONG TunnelPacketsSent; OUT ULONG TunnelPacketsSentComplete; OUT ULONG TunnelTransmitPacketsPending; Index: reactos/dll/win32/advapi32/service/sctrl.c =================================================================== --- reactos/dll/win32/advapi32/service/sctrl.c (revision 58683) +++ reactos/dll/win32/advapi32/service/sctrl.c (working copy) @@ -548,14 +548,14 @@ { case SERVICE_CONTROL_START_SHARE: case SERVICE_CONTROL_START_OWN: - TRACE("Start command - recieved SERVICE_CONTROL_START\n"); + TRACE("Start command - received SERVICE_CONTROL_START\n"); dwError = ScStartService(lpService, ControlPacket); if (dwError == ERROR_SUCCESS) dwRunningServices++; break; case SERVICE_CONTROL_STOP: - TRACE("Stop command - recieved SERVICE_CONTROL_STOP\n"); + TRACE("Stop command - received SERVICE_CONTROL_STOP\n"); dwError = ScControlService(lpService, ControlPacket); if (dwError == ERROR_SUCCESS) dwRunningServices--; Index: reactos/dll/win32/kernel32/client/file/console.c =================================================================== --- reactos/dll/win32/kernel32/client/file/console.c (revision 58683) +++ reactos/dll/win32/kernel32/client/file/console.c (working copy) @@ -4110,8 +4110,8 @@ * \name GetConsoleInputExeNameW * \brief Retrieves the console input file name as unicode string. * \param nBufferLength Length of the buffer in WCHARs. - * Specify 0 to recieve the needed buffer length. - * \param lpBuffer Pointer to a buffer that recieves the string. + * Specify 0 to receive the needed buffer length. + * \param lpBuffer Pointer to a buffer that receives the string. * \return Needed buffer size if \p nBufferLength is 0. * Otherwise 1 if successful, 2 if buffer is too small. * \remarks Sets last error value to ERROR_BUFFER_OVERFLOW if the buffer @@ -4157,10 +4157,10 @@ * \name GetConsoleInputExeNameA * \brief Retrieves the console input file name as ansi string. * \param nBufferLength Length of the buffer in CHARs. - * \param lpBuffer Pointer to a buffer that recieves the string. + * \param lpBuffer Pointer to a buffer that receives the string. * \return 1 if successful, 2 if buffer is too small. * \remarks Sets last error value to ERROR_BUFFER_OVERFLOW if the buffer - * is not big enough. The buffer recieves as much characters as fit. + * is not big enough. The buffer receives as much characters as fit. */ DWORD WINAPI Index: reactos/dll/cpl/intl/setupreg.c =================================================================== --- reactos/dll/cpl/intl/setupreg.c (revision 58683) +++ reactos/dll/cpl/intl/setupreg.c (working copy) @@ -125,7 +125,7 @@ return pszDestStr; } -/* Replace given template in source string with string to replace and return recieved string */ +/* Replace given template in source string with string to replace and return received string */ TCHAR* ReplaceSubStr(const TCHAR *szSourceStr, const TCHAR *szStrToReplace, Index: reactos/dll/cpl/intl/date.c =================================================================== --- reactos/dll/cpl/intl/date.c (revision 58683) +++ reactos/dll/cpl/intl/date.c (working copy) @@ -79,7 +79,7 @@ return pszFoundSep; } -/* Replace given template in source string with string to replace and return recieved string */ +/* Replace given template in source string with string to replace and return received string */ /* Setted up short date separator to registry */ Index: reactos/dll/cpl/intl/misc.c =================================================================== --- reactos/dll/cpl/intl/misc.c (revision 58683) +++ reactos/dll/cpl/intl/misc.c (working copy) @@ -111,7 +111,7 @@ return pszDestStr; } -/* Replace given template in source string with string to replace and return recieved string */ +/* Replace given template in source string with string to replace and return received string */ LPTSTR ReplaceSubStr(LPCTSTR szSourceStr, LPCTSTR szStrToReplace, Index: reactos/dll/cpl/timedate/ntpclient.c =================================================================== --- reactos/dll/cpl/timedate/ntpclient.c (revision 58683) +++ reactos/dll/cpl/timedate/ntpclient.c (working copy) @@ -99,7 +99,7 @@ static ULONG -RecieveData(PINFO pInfo) +ReceiveData(PINFO pInfo) { TIMEVAL timeVal; FD_SET readFDS; @@ -164,7 +164,7 @@ { if (SendData(pInfo)) { - ulTime = RecieveData(pInfo); + ulTime = ReceiveData(pInfo); } } Index: reactos/lib/sdk/crt/time/ftime.c =================================================================== --- reactos/lib/sdk/crt/time/ftime.c (revision 58683) +++ reactos/lib/sdk/crt/time/ftime.c (working copy) @@ -13,7 +13,7 @@ * \name _ftime_s * \brief Get the current time. * \param [out] ptimeb Pointer to a structure of type struct _timeb that - * recieves the current time. + * receives the current time. * \sa http://msdn.microsoft.com/en-us/library/95e68951.aspx */ errno_t @@ -45,7 +45,7 @@ * \name _ftime * \brief Get the current time. * \param [out] ptimeb Pointer to a structure of type struct _timeb that - * recieves the current time. + * receives the current time. * \note This function is for compatability and simply calls the secure * version _ftime_s(). * \sa http://msdn.microsoft.com/en-us/library/z54t9z5f.aspx Index: reactos/lib/sdk/crt/time/futime.c =================================================================== --- reactos/lib/sdk/crt/time/futime.c (revision 58683) +++ reactos/lib/sdk/crt/time/futime.c (working copy) @@ -46,7 +46,7 @@ * \name _futime * \brief Set a file's modification time. * \param [out] ptimeb Pointer to a structure of type struct _timeb that - * recieves the current time. + * receives the current time. * \sa http://msdn.microsoft.com/en-us/library/95e68951.aspx */ int Index: reactos/lib/3rdparty/fullfat/ff_file.c =================================================================== --- reactos/lib/3rdparty/fullfat/ff_file.c (revision 58683) +++ reactos/lib/3rdparty/fullfat/ff_file.c (working copy) @@ -1635,7 +1635,7 @@ * * @return 0 on Sucess, * @return -2 if offset results in an invalid position in the file. - * @return FF_ERR_NULL_POINTER if a FF_FILE pointer was not recieved. + * @return FF_ERR_NULL_POINTER if a FF_FILE pointer was not received. * @return -3 if an invalid origin was provided. * **/ Index: reactos/win32ss/include/ntuser.h =================================================================== --- reactos/win32ss/include/ntuser.h (revision 58683) +++ reactos/win32ss/include/ntuser.h (working copy) @@ -514,8 +514,8 @@ #define WNDS_HASPALETTE 0x00200000 #define WNDS_PAINTNOTPROCESSED 0x00400000 #define WNDS_SYNCPAINTPENDING 0x00800000 -#define WNDS_RECIEVEDQUERYSUSPENDMSG 0x01000000 -#define WNDS_RECIEVEDSUSPENDMSG 0x02000000 +#define WNDS_RECEIVEDQUERYSUSPENDMSG 0x01000000 +#define WNDS_RECEIVEDSUSPENDMSG 0x02000000 #define WNDS_TOGGLETOPMOST 0x04000000 #define WNDS_REDRAWIFHUNG 0x08000000 #define WNDS_REDRAWFRAMEIFHUNG 0x10000000 Index: reactos/win32ss/user/ntuser/hotkey.c =================================================================== --- reactos/win32ss/user/ntuser/hotkey.c (revision 58683) +++ reactos/win32ss/user/ntuser/hotkey.c (working copy) @@ -8,8 +8,8 @@ /* * FIXME: Hotkey notifications are triggered by keyboard input (physical or programatically) - * and since only desktops on WinSta0 can recieve input in seems very wrong to allow - * windows/threads on destops not belonging to WinSta0 to set hotkeys (recieve notifications). + * and since only desktops on WinSta0 can receive input in seems very wrong to allow + * windows/threads on destops not belonging to WinSta0 to set hotkeys (receive notifications). * -- Gunnar */ Index: reactos/win32ss/user/ntuser/monitor.c =================================================================== --- reactos/win32ss/user/ntuser/monitor.c (revision 58683) +++ reactos/win32ss/user/ntuser/monitor.c (working copy) @@ -673,7 +673,7 @@ * from MONITORINFO will be filled. * * pDevice - * Pointer to a UNICODE_STRING which will recieve the device's name. The + * Pointer to a UNICODE_STRING which will receive the device's name. The * length should be CCHDEVICENAME * Can be NULL * Index: reactos/base/services/tcpsvcs/discard.c =================================================================== --- reactos/base/services/tcpsvcs/discard.c (revision 58683) +++ reactos/base/services/tcpsvcs/discard.c (working copy) @@ -2,7 +2,7 @@ * PROJECT: ReactOS simple TCP/IP services * LICENSE: GPL - See COPYING in the top level directory * FILE: /base/services/tcpsvcs/discard.c - * PURPOSE: Recieves input from a client and discards it + * PURPOSE: Receives input from a client and discards it * COPYRIGHT: Copyright 2005 - 2008 Ged Murphy * */ @@ -12,7 +12,7 @@ #define BUFSIZE 1024 static BOOL -RecieveIncomingPackets(SOCKET sock) +ReceiveIncomingPackets(SOCKET sock) { CHAR readBuffer[BUFSIZE]; INT readBytes; @@ -46,9 +46,9 @@ DWORD retVal = 0; SOCKET sock = (SOCKET)sock_; - if (!RecieveIncomingPackets(sock)) + if (!ReceiveIncomingPackets(sock)) { - LogEvent(L"Discard: RecieveIncomingPackets failed", 0, 0, LOG_FILE); + LogEvent(L"Discard: ReceiveIncomingPackets failed", 0, 0, LOG_FILE); retVal = 1; } Index: reactos/base/applications/screensavers/3dtext/3dtext.c =================================================================== --- reactos/base/applications/screensavers/3dtext/3dtext.c (revision 58683) +++ reactos/base/applications/screensavers/3dtext/3dtext.c (working copy) @@ -75,7 +75,7 @@ 0.0f, // Deviation From The True Outlines 0.2f, // Font Thickness In The Z Direction WGL_FONT_POLYGONS, // Use Polygons, Not Lines - gmf); // Address Of Buffer To Recieve Data + gmf); // Address Of Buffer To Receive Data // Calculate the string extent for (i = 0; i < _tcslen(m_Text); i++) Index: reactos/base/applications/network/tracert/tracert.c =================================================================== --- reactos/base/applications/network/tracert/tracert.c (revision 58683) +++ reactos/base/applications/network/tracert/tracert.c (working copy) @@ -343,7 +343,7 @@ if (iSockRet != SOCKET_ERROR) { - /* get time packet was recieved */ + /* get time packet was received */ pInfo->lTimeEnd = GetTime(pInfo); DebugPrint(_T("reveived %d bytes\n"), iSockRet); bRet = TRUE; @@ -362,7 +362,7 @@ { unsigned short header_len = pInfo->RecvPacket->h_len * 4; - /* cast the recieved packet into an ECHO reply and a TTL Exceed and check the ID*/ + /* cast the received packet into an ECHO reply and a TTL Exceed and check the ID*/ ECHO_REPLY_HEADER *IcmpHdr = (ECHO_REPLY_HEADER *)((char*)pInfo->RecvPacket + header_len); /* Make sure the reply is ok */ @@ -426,7 +426,7 @@ { INT iHopCount = 1; // hop counter. default max is 30 BOOL bFoundTarget = FALSE; // Have we reached our destination yet - INT iRecieveReturn; // RecieveReturn return value + INT iReceiveReturn; // ReceiveReturn return value PECHO_REPLY_HEADER icmphdr; INT iTTL = 1; @@ -470,14 +470,14 @@ if (SendPacket(pInfo) != SOCKET_ERROR) { - BOOL bAwaitPacket = FALSE; // indicates whether we have recieved a good packet + BOOL bAwaitPacket = FALSE; // indicates whether we have received a good packet do { /* Receive replies until we get a successful read, or a fatal error */ - if ((iRecieveReturn = ReceivePacket(pInfo)) < 0) + if ((iReceiveReturn = ReceivePacket(pInfo)) < 0) { - /* FIXME: consider moving this into RecievePacket */ + /* FIXME: consider moving this into ReceivePacket */ /* check the seq num in the packet, if it's bad wait for another */ WORD hdrLen = pInfo->RecvPacket->h_len * 4; icmphdr = (ECHO_REPLY_HEADER *)((char*)&pInfo->RecvPacket + hdrLen); @@ -488,7 +488,7 @@ } } - if (iRecieveReturn) + if (iReceiveReturn) { if (DecodeResponse(pInfo) < 0) bAwaitPacket = TRUE; Index: reactos/base/applications/network/netstat/netstat.c =================================================================== --- reactos/base/applications/network/netstat/netstat.c (revision 58683) +++ reactos/base/applications/network/netstat/netstat.c (working copy) @@ -259,13 +259,13 @@ if ((dwRetVal = GetIpStatistics(pIpStats)) == NO_ERROR) { _tprintf(_T("\nIPv4 Statistics\n\n")); - _tprintf(_T(" %-34s = %lu\n"), _T("Packets Recieved"), pIpStats->dwInReceives); + _tprintf(_T(" %-34s = %lu\n"), _T("Packets Received"), pIpStats->dwInReceives); _tprintf(_T(" %-34s = %lu\n"), _T("Received Header Errors"), pIpStats->dwInHdrErrors); _tprintf(_T(" %-34s = %lu\n"), _T("Received Address Errors"), pIpStats->dwInAddrErrors); _tprintf(_T(" %-34s = %lu\n"), _T("Datagrams Forwarded"), pIpStats->dwForwDatagrams); - _tprintf(_T(" %-34s = %lu\n"), _T("Unknown Protocols Recieved"), pIpStats->dwInUnknownProtos); + _tprintf(_T(" %-34s = %lu\n"), _T("Unknown Protocols Received"), pIpStats->dwInUnknownProtos); _tprintf(_T(" %-34s = %lu\n"), _T("Received Packets Discarded"), pIpStats->dwInDiscards); - _tprintf(_T(" %-34s = %lu\n"), _T("Recieved Packets Delivered"), pIpStats->dwInDelivers); + _tprintf(_T(" %-34s = %lu\n"), _T("Received Packets Delivered"), pIpStats->dwInDelivers); _tprintf(_T(" %-34s = %lu\n"), _T("Output Requests"), pIpStats->dwOutRequests); _tprintf(_T(" %-34s = %lu\n"), _T("Routing Discards"), pIpStats->dwRoutingDiscards); _tprintf(_T(" %-34s = %lu\n"), _T("Discarded Output Packets"), pIpStats->dwOutDiscards); @@ -343,7 +343,7 @@ _tprintf(_T(" %-35s = %lu\n"), _T("Failed Connection Attempts"), pTcpStats->dwAttemptFails); _tprintf(_T(" %-35s = %lu\n"), _T("Reset Connections"), pTcpStats->dwEstabResets); _tprintf(_T(" %-35s = %lu\n"), _T("Current Connections"), pTcpStats->dwCurrEstab); - _tprintf(_T(" %-35s = %lu\n"), _T("Segments Recieved"), pTcpStats->dwInSegs); + _tprintf(_T(" %-35s = %lu\n"), _T("Segments Received"), pTcpStats->dwInSegs); _tprintf(_T(" %-35s = %lu\n"), _T("Segments Sent"), pTcpStats->dwOutSegs); _tprintf(_T(" %-35s = %lu\n"), _T("Segments Retransmitted"), pTcpStats->dwRetransSegs); } @@ -363,9 +363,9 @@ if ((dwRetVal = GetUdpStatistics(pUdpStats)) == NO_ERROR) { _tprintf(_T("\nUDP Statistics for IPv4\n\n")); - _tprintf(_T(" %-21s = %lu\n"), _T("Datagrams Recieved"), pUdpStats->dwInDatagrams); + _tprintf(_T(" %-21s = %lu\n"), _T("Datagrams Received"), pUdpStats->dwInDatagrams); _tprintf(_T(" %-21s = %lu\n"), _T("No Ports"), pUdpStats->dwNoPorts); - _tprintf(_T(" %-21s = %lu\n"), _T("Recieve Errors"), pUdpStats->dwInErrors); + _tprintf(_T(" %-21s = %lu\n"), _T("Receive Errors"), pUdpStats->dwInErrors); _tprintf(_T(" %-21s = %lu\n"), _T("Datagrams Sent"), pUdpStats->dwOutDatagrams); } else Index: reactos/ntoskrnl/include/internal/kd.h =================================================================== --- reactos/ntoskrnl/include/internal/kd.h (revision 58683) +++ reactos/ntoskrnl/include/internal/kd.h (working copy) @@ -42,13 +42,13 @@ BOOLEAN NTAPI KdPortGetByte( - PUCHAR ByteRecieved); + PUCHAR ByteReceived); BOOLEAN NTAPI KdPortGetByteEx( PKD_PORT_INFORMATION PortInformation, - PUCHAR ByteRecieved); + PUCHAR ByteReceived); VOID NTAPI Index: reactos/drivers/bus/acpi/compbatt/comppnp.c =================================================================== --- reactos/drivers/bus/acpi/compbatt/comppnp.c (revision 58683) +++ reactos/drivers/bus/acpi/compbatt/comppnp.c (working copy) @@ -18,7 +18,7 @@ IN PIRP Irp) { PCOMPBATT_DEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension; - if (CompBattDebug & 1) DbgPrint("CompBatt: PowerDispatch recieved power IRP.\n"); + if (CompBattDebug & 1) DbgPrint("CompBatt: PowerDispatch received power IRP.\n"); /* Start the next IRP */ PoStartNextPowerIrp(Irp); Index: reactos/drivers/bus/acpi/cmbatt/cmbpnp.c =================================================================== --- reactos/drivers/bus/acpi/cmbatt/cmbpnp.c (revision 58683) +++ reactos/drivers/bus/acpi/cmbatt/cmbpnp.c (working copy) @@ -369,7 +369,7 @@ /* Don't do anything, but this is strange since it's already removed */ Status = STATUS_SUCCESS; if (CmBattDebug & 4) - DbgPrint("CmBattPnpDispatch: Recieved two consecutive QUERY_REMOVE requests.\n"); + DbgPrint("CmBattPnpDispatch: Received two consecutive QUERY_REMOVE requests.\n"); } else { Index: reactos/drivers/base/kddll/kdserial.c =================================================================== --- reactos/drivers/base/kddll/kdserial.c (revision 58683) +++ reactos/drivers/base/kddll/kdserial.c (working copy) @@ -31,7 +31,7 @@ /****************************************************************************** * \name KdpReceiveBuffer - * \brief Recieves data from the KD port and fills a buffer. + * \brief Receives data from the KD port and fills a buffer. * \param Buffer Pointer to a buffer that receives the data. * \param Size Size of data to receive in bytes. * \return KDP_PACKET_RECEIVED if successful. @@ -64,7 +64,7 @@ /****************************************************************************** * \name KdpReceivePacketLeader - * \brief Recieves a packet leadr from the KD port. + * \brief Receives a packet leadr from the KD port. * \param PacketLeader Pointer to an ULONG that receives the packet leader. * \return KDP_PACKET_RECEIVED if successful. * KDP_PACKET_TIMEOUT if the receive timed out.