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