Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2005-04-19 09:49:38 +00:00 committed by Alexandre Julliard
parent 98d336c363
commit 4527aae24f
6 changed files with 10 additions and 10 deletions

View File

@ -57,22 +57,22 @@ static void test_basic()
* every information class
*/
/* Use a non existent info class */
trace("Check non existent info class\n");
/* Use a nonexistent info class */
trace("Check nonexistent info class\n");
status = pNtQuerySystemInformation(-1, NULL, 0, NULL);
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");
status = pNtQuerySystemInformation(SystemBasicInformation, NULL, 0, NULL);
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");
status = pNtQuerySystemInformation(SystemBasicInformation, NULL, sizeof(*sbi), NULL);
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");
status = pNtQuerySystemInformation(SystemBasicInformation, sbi, sizeof(*sbi), NULL);
ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08lx\n", status);

View File

@ -1315,7 +1315,7 @@ static const str2int_t str2int[] = {
{10, "0o1011101100", 0, STATUS_SUCCESS},
{10, "0d1011101100", 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 */
{16, "1011101100", 286265600, STATUS_SUCCESS},
{16, "-1011101100", -286265600, STATUS_SUCCESS},

View File

@ -574,7 +574,7 @@ static INT CALLBACK SHADD_compare_mru(LPCVOID data1, LPCVOID data2, DWORD cbData
* mruhandle [IN] handle for created MRU list
* doc_name [IN] null termed pure doc name
* 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
*
* RETURNS

View File

@ -30,7 +30,7 @@
version 1.7, July 1997 Added Capabilities and data structure for
document imaging and digital cameras.
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
version 1.7, Aug 1997 Expanded file tabs to spaces.
NOTE: future authors should be sure to have

View File

@ -789,7 +789,7 @@ static ICOM_VTABLE(IDirect3D) d3dvt = {
</sect2>
<sect2>
<title>Appartments</title>
<title>Apartments</title>
<para>
Before a thread can use COM it must enter an apartment. Apartments are

View File

@ -58,7 +58,7 @@ typedef int (CALLBACK *LPFNCCSIZETOTEXTW)(DWORD, DWORD, HFONT, LPWSTR);
#define LPFNCCSIZETOTEXT WINELIB_NAME_AW(LPFNCCSIZETOTEXT)
/* Custom Control style flags sturcture */
/* Custom Control style flags structure */
typedef struct tagCCSTYLEFLAGA {
DWORD flStyle;
DWORD flStyleMask;