Commit 4527aae2 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling fixes.

parent 98d336c3
...@@ -57,22 +57,22 @@ static void test_basic() ...@@ -57,22 +57,22 @@ static void test_basic()
* every information class * every information class
*/ */
/* Use a non existent info class */ /* Use a nonexistent info class */
trace("Check non existent info class\n"); trace("Check nonexistent info class\n");
status = pNtQuerySystemInformation(-1, NULL, 0, NULL); status = pNtQuerySystemInformation(-1, NULL, 0, NULL);
ok( status == STATUS_INVALID_INFO_CLASS, "Expected STATUS_INVALID_INFO_CLASS, got %08lx\n", status); ok( status == STATUS_INVALID_INFO_CLASS, "Expected STATUS_INVALID_INFO_CLASS, got %08lx\n", status);
/* Use an existent class but with a zero-length buffer */ /* Use an existing class but with a zero-length buffer */
trace("Check zero-length buffer\n"); trace("Check zero-length buffer\n");
status = pNtQuerySystemInformation(SystemBasicInformation, NULL, 0, NULL); status = pNtQuerySystemInformation(SystemBasicInformation, NULL, 0, NULL);
ok( status == STATUS_INFO_LENGTH_MISMATCH, "Expected STATUS_INFO_LENGTH_MISMATCH, got %08lx\n", status); ok( status == STATUS_INFO_LENGTH_MISMATCH, "Expected STATUS_INFO_LENGTH_MISMATCH, got %08lx\n", status);
/* Use an existent class, correct length but no SystemInformation buffer */ /* Use an existing class, correct length but no SystemInformation buffer */
trace("Check no SystemInformation buffer\n"); trace("Check no SystemInformation buffer\n");
status = pNtQuerySystemInformation(SystemBasicInformation, NULL, sizeof(*sbi), NULL); status = pNtQuerySystemInformation(SystemBasicInformation, NULL, sizeof(*sbi), NULL);
ok( status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got %08lx\n", status); ok( status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got %08lx\n", status);
/* Use a existent class, correct length, a pointer to a buffer but no ReturnLength pointer */ /* Use a existing class, correct length, a pointer to a buffer but no ReturnLength pointer */
trace("Check no ReturnLength pointer\n"); trace("Check no ReturnLength pointer\n");
status = pNtQuerySystemInformation(SystemBasicInformation, sbi, sizeof(*sbi), NULL); status = pNtQuerySystemInformation(SystemBasicInformation, sbi, sizeof(*sbi), NULL);
ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08lx\n", status); ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08lx\n", status);
......
...@@ -1315,7 +1315,7 @@ static const str2int_t str2int[] = { ...@@ -1315,7 +1315,7 @@ static const str2int_t str2int[] = {
{10, "0o1011101100", 0, STATUS_SUCCESS}, {10, "0o1011101100", 0, STATUS_SUCCESS},
{10, "0d1011101100", 0, STATUS_SUCCESS}, {10, "0d1011101100", 0, STATUS_SUCCESS},
{10, "0x1011101100", 0, STATUS_SUCCESS}, {10, "0x1011101100", 0, STATUS_SUCCESS},
{10, "o12345", 0, STATUS_SUCCESS}, /* Octal altrough base is 10 */ {10, "o12345", 0, STATUS_SUCCESS}, /* Octal although base is 10 */
{10, "", 0, STATUS_SUCCESS}, /* empty string */ {10, "", 0, STATUS_SUCCESS}, /* empty string */
{16, "1011101100", 286265600, STATUS_SUCCESS}, {16, "1011101100", 286265600, STATUS_SUCCESS},
{16, "-1011101100", -286265600, STATUS_SUCCESS}, {16, "-1011101100", -286265600, STATUS_SUCCESS},
......
...@@ -574,7 +574,7 @@ static INT CALLBACK SHADD_compare_mru(LPCVOID data1, LPCVOID data2, DWORD cbData ...@@ -574,7 +574,7 @@ static INT CALLBACK SHADD_compare_mru(LPCVOID data1, LPCVOID data2, DWORD cbData
* mruhandle [IN] handle for created MRU list * mruhandle [IN] handle for created MRU list
* doc_name [IN] null termed pure doc name * doc_name [IN] null termed pure doc name
* new_lnk_name [IN] null termed path and file name for .lnk file * new_lnk_name [IN] null termed path and file name for .lnk file
* buffer [IN/OUT] 2048 byte area to consturct MRU data * buffer [IN/OUT] 2048 byte area to construct MRU data
* len [OUT] ptr to int to receive space used in buffer * len [OUT] ptr to int to receive space used in buffer
* *
* RETURNS * RETURNS
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
version 1.7, July 1997 Added Capabilities and data structure for version 1.7, July 1997 Added Capabilities and data structure for
document imaging and digital cameras. document imaging and digital cameras.
KHL. KHL.
version 1.7, July 1997 Inserted Borland compatibile structure packing version 1.7, July 1997 Inserted Borland compatible structure packing
directives provided by Mentor. JMH directives provided by Mentor. JMH
version 1.7, Aug 1997 Expanded file tabs to spaces. version 1.7, Aug 1997 Expanded file tabs to spaces.
NOTE: future authors should be sure to have NOTE: future authors should be sure to have
......
...@@ -789,7 +789,7 @@ static ICOM_VTABLE(IDirect3D) d3dvt = { ...@@ -789,7 +789,7 @@ static ICOM_VTABLE(IDirect3D) d3dvt = {
</sect2> </sect2>
<sect2> <sect2>
<title>Appartments</title> <title>Apartments</title>
<para> <para>
Before a thread can use COM it must enter an apartment. Apartments are Before a thread can use COM it must enter an apartment. Apartments are
......
...@@ -58,7 +58,7 @@ typedef int (CALLBACK *LPFNCCSIZETOTEXTW)(DWORD, DWORD, HFONT, LPWSTR); ...@@ -58,7 +58,7 @@ typedef int (CALLBACK *LPFNCCSIZETOTEXTW)(DWORD, DWORD, HFONT, LPWSTR);
#define LPFNCCSIZETOTEXT WINELIB_NAME_AW(LPFNCCSIZETOTEXT) #define LPFNCCSIZETOTEXT WINELIB_NAME_AW(LPFNCCSIZETOTEXT)
/* Custom Control style flags sturcture */ /* Custom Control style flags structure */
typedef struct tagCCSTYLEFLAGA { typedef struct tagCCSTYLEFLAGA {
DWORD flStyle; DWORD flStyle;
DWORD flStyleMask; DWORD flStyleMask;
......
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