Spelling fixes.

This commit is contained in:
Austin English 2008-04-08 16:22:43 -05:00 committed by Alexandre Julliard
parent f2dccab7e3
commit 05faae7b5a
24 changed files with 29 additions and 29 deletions

View file

@ -26,7 +26,7 @@
typedef void (*vtable_ptr)();
/* type_info object, see cpp.c for inplementation */
/* type_info object, see cpp.c for implementation */
typedef struct __type_info
{
const vtable_ptr *vtable;

View file

@ -124,7 +124,7 @@ void CDECL MSVCRT_I10_OUTPUT(void)
{
/* FIXME: This is probably data, not a function */
/* no it is a function. I10 is an Int of 10 bytes */
/* also known as 80 bit flotaing point (long double */
/* also known as 80 bit floating point (long double */
/* for some compilers, not MSVC) */
}

View file

@ -576,11 +576,11 @@ static void test_wcscpy_s(void)
return;
}
/* Test NULl Dest */
/* Test NULL Dest */
ret = p_wcscpy_s(NULL, 18, szLongText);
ok(ret == EINVAL, "p_wcscpy_s expect EINVAL got %d\n", ret);
/* Test NULl Source */
/* Test NULL Source */
szDest[0] = 'A';
ret = p_wcscpy_s(szDest, 18, NULL);
ok(ret == EINVAL, "expected EINVAL got %d\n", ret);

View file

@ -516,7 +516,7 @@ static char* get_template_name(struct parsed_symbol* sym)
* template argument list). The class name components appear in the reverse
* order in the mangled name, e.g aaa@bbb@ccc@@ will be demangled to
* ccc::bbb::aaa
* For each of this class name componets a string will be allocated in the
* For each of these class name components a string will be allocated in the
* array.
*/
static BOOL get_class(struct parsed_symbol* sym)
@ -678,7 +678,7 @@ static const char* get_simple_type(char c)
}
/*******************************************************************
* get_extented_type
* get_extended_type
* Return a string containing an allocated string for a simple data type
*/
static const char* get_extended_type(char c)

View file

@ -104,7 +104,7 @@ VOID WINAPI GetAcceptExSockaddrs(
BOOL WINAPI TransmitFile(
SOCKET hSocket, /* [in] Handle to a connected socket */
HANDLE hFile, /* [in] Handle to the open file that should be
transmited */
transmitted */
DWORD nNumberOfBytesToWrite, /* [in] Number of file bytes to
transmit */
DWORD nNumberOfBytesPerSend, /* [in] Size in bytes of each block of

View file

@ -1007,7 +1007,7 @@ static HRESULT WINAPI xmlnode_get_xml(
{
const xmlChar *pContent;
/* Attribute Nodes return a space infront of their name */
/* Attribute Nodes return a space in front of their name */
pContent = xmlBufferContent(pXmlBuf);
if( ((char*)pContent)[0] == ' ')
*xmlString = bstr_from_xmlChar(pContent+1);

View file

@ -206,7 +206,7 @@ static HRESULT WINAPI dom_pi_put_nodeValue(
TRACE("%p\n", This );
/* Cannot set data to a PI node whos target is 'xml' */
/* Cannot set data to a PI node whose target is 'xml' */
hr = dom_pi_get_nodeName(iface, &sTarget);
if(hr == S_OK)
{
@ -530,7 +530,7 @@ static HRESULT WINAPI dom_pi_put_data(
TRACE("%p %s\n", This, debugstr_w(data) );
/* Cannot set data to a PI node whos target is 'xml' */
/* Cannot set data to a PI node whose target is 'xml' */
hr = dom_pi_get_nodeName(iface, &sTarget);
if(hr == S_OK)
{

View file

@ -1783,7 +1783,7 @@ static void test_IXMLDOMDocument2(void)
ole_check(IXMLDOMDocument2_setProperty(doc2, _bstr_("SelectionLanguage"), _variantbstr_("XPath")));
ole_check(IXMLDOMDocument2_setProperty(doc2, _bstr_("SelectionLanguage"), _variantbstr_("XSLPattern")));
/* contrary to what MSDN calims you can switch back from XPath to XSLPattern */
/* contrary to what MSDN claims you can switch back from XPath to XSLPattern */
ole_check(IXMLDOMDocument2_getProperty(doc2, _bstr_("SelectionLanguage"), &var));
expect_eq(V_VT(&var), VT_BSTR, int, "%x");
expect_bstr_eq_and_free(V_BSTR(&var), "XSLPattern");

View file

@ -77,7 +77,7 @@ VOID WINAPI DsRoleFreeMemory(PVOID Buffer)
* DsRoleGetPrimaryDomainInformation (NETAPI32.@)
*
* PARAMS
* lpServer [I] Pointer to UNICODE string with Computername
* lpServer [I] Pointer to UNICODE string with ComputerName
* InfoLevel [I] Type of data to retrieve
* Buffer [O] Pointer to to the requested data
*

View file

@ -45,7 +45,7 @@ typedef struct _NBNameCacheEntry
/* Functions that create, manipulate, and destroy a name cache. Thread-safe,
* with the exception of NBNameCacheDestroy--ensure that no other threads are
* manipulating the cache before destoying it.
* manipulating the cache before destroying it.
*/
/* Allocates a new name cache from heap, and sets the expire time on new

View file

@ -46,7 +46,7 @@
* name. Although it allows sessions to be created with '*' as the calling
* name, doing so results in timeouts for all receives, because the
* application never gets them.
* So, a well-behaved Netbios application will typically want to register a
* So, a well-behaved NetBIOS application will typically want to register a
* name. I should probably support a do-nothing name list that allows
* NCBADDNAME to add to it, but doesn't actually register the name, or does
* attempt to register it without being able to defend it.

View file

@ -103,7 +103,7 @@ static void wprint_mac(WCHAR* buffer, int len, const MIB_IFROW *ifRow)
/* Theoretically this could be too short, except that MS defines
* MAX_ADAPTER_NAME as 128, and MAX_INTERFACE_NAME_LEN as 256, and both
* represent a count of WCHARs, so even with an extroardinarily long header
* represent a count of WCHARs, so even with an extraordinarily long header
* this will be plenty
*/
#define MAX_TRANSPORT_NAME MAX_INTERFACE_NAME_LEN

View file

@ -1866,7 +1866,7 @@ static inline int get_dos_prefix_len( const UNICODE_STRING *name )
*
* Convert a file name from NT namespace to Unix namespace.
*
* If disposition is not FILE_OPEN or FILE_OVERWRITTE, the last path
* If disposition is not FILE_OPEN or FILE_OVERWRITE, the last path
* element doesn't have to exist; in that case STATUS_NO_SUCH_FILE is
* returned, but the unix name is still filled in properly.
*/

View file

@ -428,7 +428,7 @@ BOOLEAN WINAPI RtlDosPathNameToNtPathName_U(PCWSTR dos_path,
/******************************************************************
* RtlDosSearchPath_U
*
* Searchs a file of name 'name' into a ';' separated list of paths
* Searches a file of name 'name' into a ';' separated list of paths
* (stored in paths)
* Doesn't seem to search elsewhere than the paths list
* Stores the result in buffer (file_part will point to the position

View file

@ -1126,8 +1126,8 @@ static NTSTATUS RTL_GetKeyHandle(ULONG RelativeTo, PCWSTR Path, PHANDLE handle)
* RelativeTo [I] Registry path that Path refers to
* Path [I] Path to key
* QueryTable [I] Table of key values to query
* Context [I] Paremeter to pass to the application defined QueryRoutine function
* Environment [I] Optional parameter to use when performing expantion
* Context [I] Parameter to pass to the application defined QueryRoutine function
* Environment [I] Optional parameter to use when performing expansion
*
* RETURNS
* STATUS_SUCCESS or an appropriate NTSTATUS error code.

View file

@ -699,7 +699,7 @@ FARPROC SNOOP_GetProcAddress( HMODULE hmod, const IMAGE_EXPORT_DIRECTORY *export
if (!check_from_module( debug_from_snoop_includelist, debug_from_snoop_excludelist, user ))
return origfun; /* the calling module was explicitly excluded */
if (!*(LPBYTE)origfun) /* 0x00 is an imposs. opcode, poss. dataref. */
if (!*(LPBYTE)origfun) /* 0x00 is an impossible opcode, possible dataref. */
return origfun;
sec = RtlImageRvaToSection( RtlImageNtHeader(hmod), hmod, (char *)origfun - (char *)hmod );

View file

@ -1079,7 +1079,7 @@ static NTSTATUS wait_on(HANDLE hDevice, int fd, HANDLE hEvent, DWORD* events)
(status = get_modem_status(fd, &commio->mstat)))
goto out_now;
/* We might have received something or the TX bufffer is delivered */
/* We might have received something or the TX buffer is delivered */
*events = check_events(fd, commio->evtmask,
&commio->irq_info, &commio->irq_info,
commio->mstat, commio->mstat);

View file

@ -303,7 +303,7 @@ static void test_NtIntAtom(void)
if (!res)
{
/* According to the kernel32 functions, integer atoms are only allowd from
/* According to the kernel32 functions, integer atoms are only allowed from
* 0x0001 to 0xbfff and not 0xc000 to 0xffff, which is correct */
res = pRtlAddAtomToAtomTable(AtomTable, (PWSTR)0, &testAtom);
ok(res == STATUS_INVALID_PARAMETER, "Didn't get expected result from adding 0 int atom, retval: %x\n", res);

View file

@ -214,7 +214,7 @@ static void testExpand(void)
* Interestingly enough, with a 8 WCHAR buffers, we get on 2k:
* helloIII
* so it seems like strings overflowing the buffer are written
* (troncated) but the write cursor is not advanced :-/
* (truncated) but the write cursor is not advanced :-/
*/
{NULL, NULL}
};

View file

@ -418,7 +418,7 @@ static void test_directory(void)
pRtlFreeUnicodeString(&str);
InitializeObjectAttributes(&attr, &str, 0, dir, NULL);
/* Test inavalid paths */
/* Test invalid paths */
pRtlCreateUnicodeStringFromAsciiz(&str, "\\om.c-mutant");
status = pNtCreateMutant(&h, GENERIC_ALL, &attr, FALSE);
ok(status == STATUS_OBJECT_PATH_SYNTAX_BAD,

View file

@ -283,7 +283,7 @@ static void test_RtlQueryRegistryValues(void)
8)DefaultLength Test Default Length with DefaultType = REG_SZ
9)DefaultLength Test Default Length with DefaultType = REG_MULTI_SZ
10)DefaultLength Test Default Length with DefaultType = REG_EXPAND_SZ
11)DefaultData Test whether DefaultData is used while DefaltType = REG_NONE(shouldn't be)
11)DefaultData Test whether DefaultData is used while DefaultType = REG_NONE(shouldn't be)
12)Delete Try to delete value key
*/

View file

@ -647,7 +647,7 @@ static void test_RtlRandom(void)
seed, seed_expected);
/*
* Seed is not equal to result as with RtlUniform. To see more we
* call RtlRandom aggain with seed set to 0:
* call RtlRandom again with seed set to 0:
*/
seed = 0;
result_expected = 0x7fffffc3;
@ -701,7 +701,7 @@ static void test_RtlRandom(void)
* RtlRandom(&seed);
*
* assigns to seed. Putting these two findings together leads to
* the concluson that RtlRandom saves the value in some variable,
* the conclusion that RtlRandom saves the value in some variable,
* like in the following algorithm:
*
* result = saved_value;

View file

@ -1282,7 +1282,7 @@ static const str2int_t str2int[] = {
{ 0, "0o7", 7, STATUS_SUCCESS}, /* one digit octal */
{ 0, "0o8", 0, STATUS_SUCCESS}, /* empty octal */
{ 0, "0o", 0, STATUS_SUCCESS}, /* empty octal */
{ 0, "0d1011101100", 0, STATUS_SUCCESS}, /* explizit decimal with 0d */
{ 0, "0d1011101100", 0, STATUS_SUCCESS}, /* explicit decimal with 0d */
{ 0, "x89abcdef", 0, STATUS_SUCCESS}, /* Hex with lower case digits a-f (x-notation) */
{ 0, "xFEDCBA00", 0, STATUS_SUCCESS}, /* Hex with upper case digits A-F (x-notation) */
{ 0, "-xFEDCBA00", 0, STATUS_SUCCESS}, /* Negative Hexadecimal (x-notation) */

View file

@ -859,7 +859,7 @@ static const str2long_t str2long[] = {
{ "0o7", 0 }, /* one digit octal */
{ "0o8", 0 }, /* empty octal */
{ "0o", 0 }, /* empty octal */
{ "0d1011101100", 0 }, /* explizit decimal with 0d */
{ "0d1011101100", 0 }, /* explicit decimal with 0d */
{ "x89abcdef", 0 }, /* Hex with lower case digits a-f (x-notation) */
{ "xFEDCBA00", 0 }, /* Hex with upper case digits A-F (x-notation) */
{ "-xFEDCBA00", 0 }, /* Negative Hexadecimal (x-notation) */