Commit d5de9977 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: Spelling fixes.

parent 92787539
......@@ -319,7 +319,7 @@ BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER counter)
/****************************************************************************
* QueryPerformanceFrequency (KERNEL32.@)
*
* Get the resolution of the performace counter.
* Get the resolution of the performance counter.
*
* PARAMS
* frequency [O] Destination for the counter resolution
......
......@@ -340,7 +340,7 @@ BOOL WINAPI DebugBreakProcess(HANDLE hProc)
/***********************************************************************
* DebugBreak (KERNEL.203)
*
* Raises an expection in a 16 bit application so that a debugger (if attached)
* Raises an exception in a 16 bit application so that a debugger (if attached)
* can take some action.
*
* PARAMS
......
......@@ -1065,7 +1065,7 @@ BOOL16 WINAPI MemManInfo16( MEMMANINFO *info )
MEMORYSTATUS status;
/*
* Not unsurprisingly although the documention says you
* Not unsurprisingly although the documentation says you
* _must_ provide the size in the dwSize field, this function
* (under Windows) always fills the structure and returns true.
*/
......
......@@ -266,9 +266,9 @@ ULONGLONG WINAPI GetTickCount64(void)
* The current tick count.
*
* NOTES
* -The value returned will wrap arounf every 2^32 milliseconds.
* -Under Windows, tick 0 is the moment at which the system is rebooted.
* Under Wine, tick 0 begins at the moment the wineserver process is started,
* The value returned will wrap around every 2^32 milliseconds.
* Under Windows, tick 0 is the moment at which the system is rebooted.
* Under Wine, tick 0 begins at the moment the wineserver process is started.
*/
DWORD WINAPI GetTickCount(void)
{
......
......@@ -296,7 +296,7 @@ static int wine_pthread_rwlock_unlock(pthread_rwlock_t *rwlock)
* at http://www.cs.wustl.edu/~schmidt/win32-cv-1.html and
* http://www.cs.wustl.edu/~schmidt/win32-cv-2.html.
* This paper formed the basis for the condition variable
* impementation used in the ACE library.
* implementation used in the ACE library.
*/
/* Possible problems with ACE:
......
......@@ -168,7 +168,7 @@ DWORD WINAPI RegEnumValue16( HKEY hkey, DWORD index, LPSTR value, LPDWORD val_co
*
* HACK
* The 16bit RegQueryValue doesn't handle selectorblocks anyway, so we just
* mask out the high 16 bit. This (not so much incidently) hopefully fixes
* mask out the high 16 bit. This (not so much incidentally) hopefully fixes
* Aldus FH4)
*/
DWORD WINAPI RegQueryValue16( HKEY hkey, LPCSTR name, LPSTR data, LPDWORD count )
......
......@@ -1054,7 +1054,7 @@ BOOL WINAPI DeleteTimerQueueEx(HANDLE TimerQueue, HANDLE CompletionEvent)
* expires, the callback function is called.
*
* RETURNS
* nonzero on success or zero on faillure
* nonzero on success or zero on failure
*
* BUGS
* Unimplemented
......@@ -1074,7 +1074,7 @@ BOOL WINAPI CreateTimerQueueTimer( PHANDLE phNewTimer, HANDLE TimerQueue,
* Cancels a timer-queue timer.
*
* RETURNS
* nonzero on success or zero on faillure
* nonzero on success or zero on failure
*
* BUGS
* Unimplemented
......
......@@ -166,7 +166,7 @@ static void test_Heap(void)
GlobalMemoryStatusEx
*/
/* In addition, these features aren't being tested
GMEM_DISCADABLE
GMEM_DISCARDABLE
GMEM_NOCOMPACT
*/
static void test_Global(void)
......@@ -258,7 +258,7 @@ static void test_Global(void)
LocalFlags
*/
/* In addition, these features aren't being tested
LMEM_DISCADABLE
LMEM_DISCARDABLE
LMEM_NOCOMPACT
*/
static void test_Local(void)
......
......@@ -393,7 +393,7 @@ static TEST test[] =
#define TEST_COUNT (sizeof(test) / sizeof(TEST))
/* This function can be useful if you are modifiying the test cases and want to
/* This function can be useful if you are modifying the test cases and want to
output the contents of a DCB structure. */
/*static print_dcb(DCB *pdcb)
{
......@@ -870,7 +870,7 @@ static void test_LoopbackRead(HANDLE hcom)
ok(ReadFile(hcom, rbuf, sizeof(rbuf), &read, NULL), "Readfile failed\n");
ok(read == sizeof(tbuf),"ReadFile read %d bytes, expected \"%s\"\n", read,rbuf);
/* Now do the same withe a slower Baud rate.
/* Now do the same with a slower Baud rate.
As we request more characters then written, we will hit the timeout
*/
......
......@@ -158,7 +158,7 @@ static void test_message_from_string(void)
ok(!strcmp("test", out),"failed out=[%s]\n",out);
ok(r==4,"failed: r=%d\n",r);
/* %! prints an exclaimation */
/* %! prints an exclamation */
r = doit(FORMAT_MESSAGE_FROM_STRING, "yah%!%0 ", 0,
0, out, sizeof(out)/sizeof(CHAR));
ok(!strcmp("yah!", out),"failed out=[%s]\n",out);
......
......@@ -184,7 +184,7 @@ static void test_GetTimeFormatA(void)
ret = GetTimeFormatA(lcid, NUO|TIME_FORCE24HOURFORMAT, &curtime, input, buffer, COUNTOF(buffer));
EXPECT_FLAGS; EXPECT_LEN(0); EXPECT_EQA;
STRINGSA("tt HH':'mm'@'ss", "A"); /* Insufficent buffer */
STRINGSA("tt HH':'mm'@'ss", "A"); /* Insufficient buffer */
SetLastError(0xdeadbeef);
ret = GetTimeFormatA(lcid, TIME_FORCE24HOURFORMAT, &curtime, input, buffer, 2);
EXPECT_BUFFER; EXPECT_LEN(0); EXPECT_EQA;
......
......@@ -68,7 +68,7 @@ typedef struct {
} SLpassfail;
/* function that tests GetFullPathNameA, GetShortPathNameA,GetLongPathNameA */
/* NOTE: the passfail structure is used to allow cutomizeable todo checking
/* NOTE: the passfail structure is used to allow customizable todo checking
for wine. It is not very pretty, but it sure beats duplicating this
function lots of times
*/
......@@ -78,7 +78,7 @@ static void test_ValidPathA(const CHAR *curdir, const CHAR *subdir, const CHAR *
CHAR tmpstr[MAX_PATH],
fullpath[MAX_PATH], /*full path to the file (not short/long) */
subpath[MAX_PATH], /*relative path to the file */
fullpathshort[MAX_PATH], /*absolue path to the file (short format) */
fullpathshort[MAX_PATH], /*absolute path to the file (short format) */
fullpathlong[MAX_PATH], /*absolute path to the file (long format) */
curdirshort[MAX_PATH], /*absolute path to the current dir (short) */
curdirlong[MAX_PATH]; /*absolute path to the current dir (long) */
......@@ -826,7 +826,7 @@ static void test_GetTempPathA(char* tmp_dir)
ok(len == strlen(buf), "returned length should be equal to the length of string\n");
/* Some versions of Windows touch the buffer, some don't so we don't
* test that. Also, NT sometimes exagerates the required buffer size
* test that. Also, NT sometimes exaggerates the required buffer size
* so we cannot test for an exact match. Finally, the
* 'len_with_null - 1' case is so buggy on Windows it's not testable.
* For instance in some cases Win98 returns len_with_null - 1 instead
......@@ -1160,7 +1160,7 @@ static void test_NeedCurrentDirectoryForExePathW(void)
/* Call various path/file name retrieving APIs and check the case of
* the returned drive letter. Some apps (for instance Adobe Photoshop CS3
* installer) depend on the driver letter being in upper case.
* installer) depend on the drive letter being in upper case.
*/
static void test_drive_letter_case(void)
{
......
......@@ -309,7 +309,7 @@ cleanup:
CloseHandle(hProcess);
}
/* Check basic funcationality of CreateThread and Tls* functions */
/* Check basic functionality of CreateThread and Tls* functions */
static VOID test_CreateThread_basic(void)
{
HANDLE thread[NUM_THREADS],event[NUM_THREADS];
......@@ -331,7 +331,7 @@ static VOID test_CreateThread_basic(void)
/* Create events for thread synchronization */
for(i=0;i<NUM_THREADS;i++) {
threadmem[i]=0;
/* Note that it doesn't matter what type of event we chose here. This
/* Note that it doesn't matter what type of event we choose here. This
test isn't trying to thoroughly test events
*/
event[i]=CreateEventA(NULL,TRUE,FALSE,NULL);
......
......@@ -377,7 +377,7 @@ BOOL WINAPI GetThreadPriorityBoost(
/**********************************************************************
* SetThreadPriorityBoost [KERNEL32.@] Sets priority boost for thread.
*
* Priority boost is not implemented. Thsi function always returns
* Priority boost is not implemented. This function always returns
* FALSE and sets last error to ERROR_CALL_NOT_IMPLEMENTED
*
* RETURNS
......
......@@ -79,7 +79,7 @@ static inline int IsLeapYear(int Year)
*
* PARAMS
* date [in] The local time to compare.
* compareDate [in] The daylight saving begin or end date.
* compareDate [in] The daylight savings begin or end date.
*
* RETURNS
*
......@@ -147,7 +147,7 @@ static int TIME_DayLightCompareDate( const SYSTEMTIME *date,
* TIME_ZONE_ID_INVALID An error occurred
* TIME_ZONE_ID_UNKNOWN There are no transition time known
* TIME_ZONE_ID_STANDARD Current time is standard time
* TIME_ZONE_ID_DAYLIGHT Current time is dayligh saving time
* TIME_ZONE_ID_DAYLIGHT Current time is daylight savings time
*/
static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo,
FILETIME *lpFileTime, BOOL islocal )
......@@ -185,7 +185,7 @@ static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo,
FileTimeToSystemTime(lpFileTime, &SysTime);
/* check for daylight saving */
/* check for daylight savings */
ret = TIME_DayLightCompareDate( &SysTime, &pTZinfo->StandardDate);
if (ret == -2)
return TIME_ZONE_ID_INVALID;
......@@ -223,7 +223,7 @@ static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo,
/***********************************************************************
* TIME_TimeZoneID
*
* Calculates whether daylight saving is on now.
* Calculates whether daylight savings is on now.
*
* PARAMS
* pTzi [in] Timezone info.
......@@ -232,7 +232,7 @@ static DWORD TIME_CompTimeZoneID ( const TIME_ZONE_INFORMATION *pTZinfo,
* TIME_ZONE_ID_INVALID An error occurred
* TIME_ZONE_ID_UNKNOWN There are no transition time known
* TIME_ZONE_ID_STANDARD Current time is standard time
* TIME_ZONE_ID_DAYLIGHT Current time is dayligh saving time
* TIME_ZONE_ID_DAYLIGHT Current time is daylight savings time
*/
static DWORD TIME_ZoneID( const TIME_ZONE_INFORMATION *pTzi )
{
......@@ -391,7 +391,7 @@ BOOL WINAPI SetSystemTimeAdjustment( DWORD dwTimeAdjustment, BOOL bTimeAdjustmen
* TIME_ZONE_ID_INVALID An error occurred
* TIME_ZONE_ID_UNKNOWN There are no transition time known
* TIME_ZONE_ID_STANDARD Current time is standard time
* TIME_ZONE_ID_DAYLIGHT Current time is dayligh saving time
* TIME_ZONE_ID_DAYLIGHT Current time is dayligh savings time
*/
DWORD WINAPI GetTimeZoneInformation( LPTIME_ZONE_INFORMATION tzinfo )
{
......@@ -943,13 +943,13 @@ VOID WINAPI GetSystemTime(LPSYSTEMTIME systime)
/*********************************************************************
* GetDaylightFlag (KERNEL32.@)
*
* Specifies if daylight saving time is in operation.
* Specifies if daylight savings time is in operation.
*
* NOTES
* This function is called from the Win98's control applet timedate.cpl.
*
* RETURNS
* TRUE if daylight saving time is in operation.
* TRUE if daylight savings time is in operation.
* FALSE otherwise.
*/
BOOL WINAPI GetDaylightFlag(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment