mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
Assorted spelling fixes.
This commit is contained in:
parent
bbcf9864e1
commit
4d801b66e6
2
aclocal.m4
vendored
2
aclocal.m4
vendored
@ -111,7 +111,7 @@ else
|
|||||||
fi
|
fi
|
||||||
rm -f conf$$ conf$$.file])
|
rm -f conf$$ conf$$.file])
|
||||||
|
|
||||||
dnl **** Create non-existent directories from config.status ****
|
dnl **** Create nonexistent directories from config.status ****
|
||||||
dnl
|
dnl
|
||||||
dnl Usage: WINE_CONFIG_EXTRA_DIR(dirname)
|
dnl Usage: WINE_CONFIG_EXTRA_DIR(dirname)
|
||||||
dnl
|
dnl
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include "wine/test.h"
|
#include "wine/test.h"
|
||||||
|
|
||||||
static const char szRsaBaseProv[] = MS_DEF_PROV_A;
|
static const char szRsaBaseProv[] = MS_DEF_PROV_A;
|
||||||
static const char szNonExistentProv[] = "Wine Non Existent Cryptographic Provider v11.2";
|
static const char szNonExistentProv[] = "Wine Nonexistent Cryptographic Provider v11.2";
|
||||||
static const char szKeySet[] = "wine_test_keyset";
|
static const char szKeySet[] = "wine_test_keyset";
|
||||||
static const char szBadKeySet[] = "wine_test_bad_keyset";
|
static const char szBadKeySet[] = "wine_test_bad_keyset";
|
||||||
#define NON_DEF_PROV_TYPE 999
|
#define NON_DEF_PROV_TYPE 999
|
||||||
|
@ -307,9 +307,9 @@ static BOOL DoTest1(void)
|
|||||||
ok(hicon3 != 0, "no hicon3\n");
|
ok(hicon3 != 0, "no hicon3\n");
|
||||||
|
|
||||||
/* remove when nothing exists */
|
/* remove when nothing exists */
|
||||||
ok(!ImageList_Remove(himl,0),"removed non-existent icon\n");
|
ok(!ImageList_Remove(himl,0),"removed nonexistent icon\n");
|
||||||
/* removing everything from an empty imagelist should succeed */
|
/* removing everything from an empty imagelist should succeed */
|
||||||
ok(ImageList_RemoveAll(himl),"removed non-existent icon\n");
|
ok(ImageList_RemoveAll(himl),"removed nonexistent icon\n");
|
||||||
|
|
||||||
/* add three */
|
/* add three */
|
||||||
ok(0==ImageList_AddIcon(himl, hicon1),"failed to add icon1\n");
|
ok(0==ImageList_AddIcon(himl, hicon1),"failed to add icon1\n");
|
||||||
@ -317,7 +317,7 @@ static BOOL DoTest1(void)
|
|||||||
ok(2==ImageList_AddIcon(himl, hicon3),"failed to add icon3\n");
|
ok(2==ImageList_AddIcon(himl, hicon3),"failed to add icon3\n");
|
||||||
|
|
||||||
/* remove an index out of range */
|
/* remove an index out of range */
|
||||||
ok(!ImageList_Remove(himl,4711),"removed non-existent icon\n");
|
ok(!ImageList_Remove(himl,4711),"removed nonexistent icon\n");
|
||||||
|
|
||||||
/* remove three */
|
/* remove three */
|
||||||
ok(ImageList_Remove(himl,0),"can't remove 0\n");
|
ok(ImageList_Remove(himl,0),"can't remove 0\n");
|
||||||
@ -325,7 +325,7 @@ static BOOL DoTest1(void)
|
|||||||
ok(ImageList_Remove(himl,0),"can't remove 0\n");
|
ok(ImageList_Remove(himl,0),"can't remove 0\n");
|
||||||
|
|
||||||
/* remove one extra */
|
/* remove one extra */
|
||||||
ok(!ImageList_Remove(himl,0),"removed non-existent icon\n");
|
ok(!ImageList_Remove(himl,0),"removed nonexistent icon\n");
|
||||||
|
|
||||||
/* destroy it */
|
/* destroy it */
|
||||||
ok(ImageList_Destroy(himl),"destroy imagelist failed\n");
|
ok(ImageList_Destroy(himl),"destroy imagelist failed\n");
|
||||||
|
@ -267,7 +267,7 @@ void NS_InvalidateSessionCache( LPVOID lpNSInfo )
|
|||||||
|
|
||||||
if( lpCache == NULL )
|
if( lpCache == NULL )
|
||||||
{
|
{
|
||||||
ERR( ": invalidate non existent cache\n" );
|
ERR( ": invalidate nonexistent cache\n" );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -213,7 +213,7 @@ static void test_CreateDirectoryA(void)
|
|||||||
lstrcatA(tmpdir, "Please Remove Me/Please Remove Me");
|
lstrcatA(tmpdir, "Please Remove Me/Please Remove Me");
|
||||||
ret = CreateDirectoryA(tmpdir, NULL);
|
ret = CreateDirectoryA(tmpdir, NULL);
|
||||||
ok(ret == FALSE && GetLastError() == ERROR_PATH_NOT_FOUND,
|
ok(ret == FALSE && GetLastError() == ERROR_PATH_NOT_FOUND,
|
||||||
"CreateDirectoryA with multiple non-existent directories in path should fail\n");
|
"CreateDirectoryA with multiple nonexistent directories in path should fail\n");
|
||||||
ret = RemoveDirectoryA(tmpdir);
|
ret = RemoveDirectoryA(tmpdir);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -285,7 +285,7 @@ static void test_CreateDirectoryW(void)
|
|||||||
lstrcatW(tmpdir, tmp_dir_name);
|
lstrcatW(tmpdir, tmp_dir_name);
|
||||||
ret = CreateDirectoryW(tmpdir, NULL);
|
ret = CreateDirectoryW(tmpdir, NULL);
|
||||||
ok(ret == FALSE && GetLastError() == ERROR_PATH_NOT_FOUND,
|
ok(ret == FALSE && GetLastError() == ERROR_PATH_NOT_FOUND,
|
||||||
"CreateDirectoryW with multiple non-existent directories in path should fail\n");
|
"CreateDirectoryW with multiple nonexistent directories in path should fail\n");
|
||||||
ret = RemoveDirectoryW(tmpdir);
|
ret = RemoveDirectoryW(tmpdir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -690,7 +690,7 @@ static void test_CreateFileW(void)
|
|||||||
ok(hFile == INVALID_HANDLE_VALUE && GetLastError() == ERROR_PATH_NOT_FOUND,
|
ok(hFile == INVALID_HANDLE_VALUE && GetLastError() == ERROR_PATH_NOT_FOUND,
|
||||||
"CreateFileW(\"\") returned ret=%p error=%ld\n",hFile,GetLastError());
|
"CreateFileW(\"\") returned ret=%p error=%ld\n",hFile,GetLastError());
|
||||||
|
|
||||||
/* test the result of opening a non-existent driver name */
|
/* test the result of opening a nonexistent driver name */
|
||||||
hFile = CreateFileW(bogus, 0, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL,
|
hFile = CreateFileW(bogus, 0, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL,
|
||||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||||
ok(hFile == INVALID_HANDLE_VALUE && GetLastError() == ERROR_FILE_NOT_FOUND,
|
ok(hFile == INVALID_HANDLE_VALUE && GetLastError() == ERROR_FILE_NOT_FOUND,
|
||||||
|
@ -51,7 +51,7 @@ static int mailslot_test()
|
|||||||
/* open a mailslot that doesn't exist */
|
/* open a mailslot that doesn't exist */
|
||||||
hWriter = CreateFile(szmspath, GENERIC_READ|GENERIC_WRITE,
|
hWriter = CreateFile(szmspath, GENERIC_READ|GENERIC_WRITE,
|
||||||
FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
|
FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);
|
||||||
ok( hWriter == INVALID_HANDLE_VALUE, "non-existing mailslot\n");
|
ok( hWriter == INVALID_HANDLE_VALUE, "nonexistent mailslot\n");
|
||||||
|
|
||||||
/* open a mailslot without the right name */
|
/* open a mailslot without the right name */
|
||||||
hSlot = CreateMailslot( "blah", 0, 0, NULL );
|
hSlot = CreateMailslot( "blah", 0, 0, NULL );
|
||||||
|
@ -34,9 +34,9 @@
|
|||||||
#define SHORTDIR "shortdir"
|
#define SHORTDIR "shortdir"
|
||||||
#define LONGDIR "Long Directory"
|
#define LONGDIR "Long Directory"
|
||||||
#define NONFILE_SHORT "noexist.pth"
|
#define NONFILE_SHORT "noexist.pth"
|
||||||
#define NONFILE_LONG "Non Existent File"
|
#define NONFILE_LONG "NonExistent File"
|
||||||
#define NONDIR_SHORT "notadir"
|
#define NONDIR_SHORT "notadir"
|
||||||
#define NONDIR_LONG "Non Existent Directory"
|
#define NONDIR_LONG "NonExistent Directory"
|
||||||
|
|
||||||
#define NOT_A_VALID_DRIVE '@'
|
#define NOT_A_VALID_DRIVE '@'
|
||||||
|
|
||||||
@ -223,7 +223,7 @@ static void test_LongtoShortA(CHAR *teststr,CHAR *goodstr,
|
|||||||
characters in the filename.
|
characters in the filename.
|
||||||
'valid' indicates whether this would be an allowed filename
|
'valid' indicates whether this would be an allowed filename
|
||||||
'todo' indicates that wine doesn't get this right yet.
|
'todo' indicates that wine doesn't get this right yet.
|
||||||
NOTE: We always call this routine with a non-existent filename, so
|
NOTE: We always call this routine with a nonexistent filename, so
|
||||||
Get(Short|Long)PathNameA should never pass, but GetFullPathNameA
|
Get(Short|Long)PathNameA should never pass, but GetFullPathNameA
|
||||||
should.
|
should.
|
||||||
*/
|
*/
|
||||||
@ -413,10 +413,10 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
|
|||||||
so why check it again.
|
so why check it again.
|
||||||
*/
|
*/
|
||||||
SetCurrentDirectoryA(newdir);
|
SetCurrentDirectoryA(newdir);
|
||||||
/* Check that SetCurrentDirectory fails when a non-existent dir is specified */
|
/* Check that SetCurrentDirectory fails when a nonexistent dir is specified */
|
||||||
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_SHORT);
|
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_SHORT);
|
||||||
test_setdir(newdir,tmpstr,NULL,0,"check 3");
|
test_setdir(newdir,tmpstr,NULL,0,"check 3");
|
||||||
/* Check that SetCurrentDirectory fails for a non-existent lond directory */
|
/* Check that SetCurrentDirectory fails for a nonexistent lond directory */
|
||||||
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_LONG);
|
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_LONG);
|
||||||
test_setdir(newdir,tmpstr,NULL,0,"check 4");
|
test_setdir(newdir,tmpstr,NULL,0,"check 4");
|
||||||
/* Check that SetCurrentDirectory passes with a long directory */
|
/* Check that SetCurrentDirectory passes with a long directory */
|
||||||
@ -640,7 +640,7 @@ static void test_PathNameA(CHAR *curdir, CHAR curDrive, CHAR otherDrive)
|
|||||||
test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test13");
|
test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test13");
|
||||||
sprintf(tmpstr,"%s\\",LONGDIR);
|
sprintf(tmpstr,"%s\\",LONGDIR);
|
||||||
test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test14");
|
test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test14");
|
||||||
/* Non-existent directories */
|
/* Nonexistent directories */
|
||||||
sprintf(tmpstr,"%s\\",NONDIR_SHORT);
|
sprintf(tmpstr,"%s\\",NONDIR_SHORT);
|
||||||
test_ValidPathA(curdir,"",tmpstr,tmpstr1,&passfail,"test15");
|
test_ValidPathA(curdir,"",tmpstr,tmpstr1,&passfail,"test15");
|
||||||
sprintf(tmpstr2,"%s\\%s",curdir_short,tmpstr);
|
sprintf(tmpstr2,"%s\\%s",curdir_short,tmpstr);
|
||||||
|
@ -80,7 +80,7 @@ static void test_lzopenfile(void)
|
|||||||
DWORD retval;
|
DWORD retval;
|
||||||
INT file;
|
INT file;
|
||||||
|
|
||||||
/* Check for non-existent file. */
|
/* Check for nonexistent file. */
|
||||||
file = LZOpenFile("badfilename_", &test, OF_READ);
|
file = LZOpenFile("badfilename_", &test, OF_READ);
|
||||||
ok(file == LZERROR_BADINHANDLE,
|
ok(file == LZERROR_BADINHANDLE,
|
||||||
"LZOpenFile succeeded on nonexistent file\n");
|
"LZOpenFile succeeded on nonexistent file\n");
|
||||||
|
@ -636,7 +636,7 @@ static void test_PpropFindProp(void)
|
|||||||
ptTypes[i]);
|
ptTypes[i]);
|
||||||
|
|
||||||
pRet = pPpropFindProp(&pvProp, 1u, i ? ptTypes[i-1] : ptTypes[i+1]);
|
pRet = pPpropFindProp(&pvProp, 1u, i ? ptTypes[i-1] : ptTypes[i+1]);
|
||||||
ok(pRet == NULL, "PpropFindProp[%ld]: Found non-existent propery\n",
|
ok(pRet == NULL, "PpropFindProp[%ld]: Found nonexistent propery\n",
|
||||||
ptTypes[i]);
|
ptTypes[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -868,11 +868,11 @@ static void test_LpValFindProp(void)
|
|||||||
ptTypes[i]);
|
ptTypes[i]);
|
||||||
|
|
||||||
pRet = pLpValFindProp(PROP_TAG(ptTypes[i], 0u), 1u, &pvProp);
|
pRet = pLpValFindProp(PROP_TAG(ptTypes[i], 0u), 1u, &pvProp);
|
||||||
ok(pRet == NULL, "LpValFindProp[%ld]: Found non-existent propery id\n",
|
ok(pRet == NULL, "LpValFindProp[%ld]: Found nonexistent propery id\n",
|
||||||
ptTypes[i]);
|
ptTypes[i]);
|
||||||
|
|
||||||
pRet = pLpValFindProp(PROP_TAG(PT_NULL, 0u), 1u, &pvProp);
|
pRet = pLpValFindProp(PROP_TAG(PT_NULL, 0u), 1u, &pvProp);
|
||||||
ok(pRet == NULL, "LpValFindProp[%ld]: Found non-existent propery id/type\n",
|
ok(pRet == NULL, "LpValFindProp[%ld]: Found nonexistent propery id/type\n",
|
||||||
ptTypes[i]);
|
ptTypes[i]);
|
||||||
|
|
||||||
pRet = pLpValFindProp(PROP_TAG(PT_NULL, 1u), 1u, &pvProp);
|
pRet = pLpValFindProp(PROP_TAG(PT_NULL, 1u), 1u, &pvProp);
|
||||||
@ -1257,19 +1257,19 @@ static void test_IProp(void)
|
|||||||
tags.aulPropTag[0] = PR_RESPONSE_REQUESTED;
|
tags.aulPropTag[0] = PR_RESPONSE_REQUESTED;
|
||||||
sc = IPropData_DeleteProps(lpIProp, (LPSPropTagArray)&tags, &lpProbs);
|
sc = IPropData_DeleteProps(lpIProp, (LPSPropTagArray)&tags, &lpProbs);
|
||||||
ok(sc == E_ACCESSDENIED && !lpProbs,
|
ok(sc == E_ACCESSDENIED && !lpProbs,
|
||||||
"DeleteProps(non-existent): Expected E_ACCESSDENIED null got 0x%08lX %p\n",
|
"DeleteProps(nonexistent): Expected E_ACCESSDENIED null got 0x%08lX %p\n",
|
||||||
sc, lpProbs);
|
sc, lpProbs);
|
||||||
|
|
||||||
/* Set access to read and write */
|
/* Set access to read and write */
|
||||||
sc = IPropData_HrSetObjAccess(lpIProp, IPROP_READWRITE);
|
sc = IPropData_HrSetObjAccess(lpIProp, IPROP_READWRITE);
|
||||||
ok(sc == S_OK, "SetObjAcess(WRITE): Expected S_OK got 0x%08lX\n", sc);
|
ok(sc == S_OK, "SetObjAcess(WRITE): Expected S_OK got 0x%08lX\n", sc);
|
||||||
|
|
||||||
/* Delete non-existent item - No error */
|
/* Delete nonexistent item - No error */
|
||||||
lpProbs = NULL;
|
lpProbs = NULL;
|
||||||
tags.aulPropTag[0] = PR_RESPONSE_REQUESTED;
|
tags.aulPropTag[0] = PR_RESPONSE_REQUESTED;
|
||||||
sc = IPropData_DeleteProps(lpIProp, (LPSPropTagArray)&tags, &lpProbs);
|
sc = IPropData_DeleteProps(lpIProp, (LPSPropTagArray)&tags, &lpProbs);
|
||||||
ok(sc == S_OK && !lpProbs,
|
ok(sc == S_OK && !lpProbs,
|
||||||
"DeleteProps(non-existent): Expected S_OK null got 0x%08lX %p\n",
|
"DeleteProps(nonexistent): Expected S_OK null got 0x%08lX %p\n",
|
||||||
sc, lpProbs);
|
sc, lpProbs);
|
||||||
|
|
||||||
/* Delete existing item (r/o) - No error, but lpProbs populated */
|
/* Delete existing item (r/o) - No error, but lpProbs populated */
|
||||||
|
@ -408,7 +408,7 @@ UINT read_table_from_storage( MSIDATABASE *db, LPCWSTR name, MSITABLE **ptable)
|
|||||||
|
|
||||||
TRACE("%s\n",debugstr_w(name));
|
TRACE("%s\n",debugstr_w(name));
|
||||||
|
|
||||||
/* non-existing tables should be interpreted as empty tables */
|
/* nonexistent tables should be interpreted as empty tables */
|
||||||
t = HeapAlloc( GetProcessHeap(), 0,
|
t = HeapAlloc( GetProcessHeap(), 0,
|
||||||
sizeof (MSITABLE) + lstrlenW(name)*sizeof (WCHAR) );
|
sizeof (MSITABLE) + lstrlenW(name)*sizeof (WCHAR) );
|
||||||
if( !t )
|
if( !t )
|
||||||
|
@ -157,7 +157,7 @@ static BOOL isSupportedDIB(LPCBITMAPINFOHEADER lpbi)
|
|||||||
if (DIBWIDTHBYTES(*lpbi) * (DWORD)lpbi->biHeight >= (1UL << 31) - 1)
|
if (DIBWIDTHBYTES(*lpbi) * (DWORD)lpbi->biHeight >= (1UL << 31) - 1)
|
||||||
return FALSE; /* image too big ! */
|
return FALSE; /* image too big ! */
|
||||||
|
|
||||||
/* check for non-existent colortable for hi- and true-color DIB's */
|
/* check for nonexistent colortable for hi- and true-color DIB's */
|
||||||
if (lpbi->biBitCount >= 15 && lpbi->biClrUsed > 0)
|
if (lpbi->biBitCount >= 15 && lpbi->biClrUsed > 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ int _putenv(const char *str)
|
|||||||
|
|
||||||
ret = SetEnvironmentVariableA(name, value[0] ? value : NULL) ? 0 : -1;
|
ret = SetEnvironmentVariableA(name, value[0] ? value : NULL) ? 0 : -1;
|
||||||
|
|
||||||
/* _putenv returns success on deletion of non-existent variable, unlike [Rtl]SetEnvironmentVariable */
|
/* _putenv returns success on deletion of nonexistent variable, unlike [Rtl]SetEnvironmentVariable */
|
||||||
if ((ret == -1) && (GetLastError() == ERROR_ENVVAR_NOT_FOUND)) ret = 0;
|
if ((ret == -1) && (GetLastError() == ERROR_ENVVAR_NOT_FOUND)) ret = 0;
|
||||||
|
|
||||||
/* Update the __p__environ array only when already initialized */
|
/* Update the __p__environ array only when already initialized */
|
||||||
@ -129,7 +129,7 @@ int _wputenv(const MSVCRT_wchar_t *str)
|
|||||||
|
|
||||||
ret = SetEnvironmentVariableW(name, value[0] ? value : NULL) ? 0 : -1;
|
ret = SetEnvironmentVariableW(name, value[0] ? value : NULL) ? 0 : -1;
|
||||||
|
|
||||||
/* _putenv returns success on deletion of non-existent variable, unlike [Rtl]SetEnvironmentVariable */
|
/* _putenv returns success on deletion of nonexistent variable, unlike [Rtl]SetEnvironmentVariable */
|
||||||
if ((ret == -1) && (GetLastError() == ERROR_ENVVAR_NOT_FOUND)) ret = 0;
|
if ((ret == -1) && (GetLastError() == ERROR_ENVVAR_NOT_FOUND)) ret = 0;
|
||||||
|
|
||||||
/* Update the __p__environ array only when already initialized */
|
/* Update the __p__environ array only when already initialized */
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
START_TEST(environ)
|
START_TEST(environ)
|
||||||
{
|
{
|
||||||
ok( _putenv("cat=") == 0, "_putenv failed on deletion of non-existent environment variable\n" );
|
ok( _putenv("cat=") == 0, "_putenv failed on deletion of nonexistent environment variable\n" );
|
||||||
ok( _putenv("cat=dog") == 0, "failed setting cat=dog\n" );
|
ok( _putenv("cat=dog") == 0, "failed setting cat=dog\n" );
|
||||||
ok( strcmp(getenv("cat"), "dog") == 0, "getenv did not return 'dog'\n" );
|
ok( strcmp(getenv("cat"), "dog") == 0, "getenv did not return 'dog'\n" );
|
||||||
ok( _putenv("cat=") == 0, "failed deleting cat\n" );
|
ok( _putenv("cat=") == 0, "failed deleting cat\n" );
|
||||||
|
@ -197,7 +197,7 @@ static HRESULT ACMWrapper_ConnectInput(TransformFilterImpl* pTransformFilter, co
|
|||||||
This->has = drv;
|
This->has = drv;
|
||||||
|
|
||||||
if ((res = acmStreamSize(drv, OUTPUT_BUFFER_SIZE, &This->max_size, ACM_STREAMSIZEF_DESTINATION))) {
|
if ((res = acmStreamSize(drv, OUTPUT_BUFFER_SIZE, &This->max_size, ACM_STREAMSIZEF_DESTINATION))) {
|
||||||
ERR("Cannot retreive input buffer size error %d!\n", res);
|
ERR("Cannot retrieve input buffer size error %d!\n", res);
|
||||||
This->max_size = INPUT_BUFFER_SIZE;
|
This->max_size = INPUT_BUFFER_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3076,7 +3076,7 @@ BOOL WINAPI RSAENH_CPGetUserKey(HCRYPTPROV hProv, DWORD dwKeySpec, HCRYPTKEY *ph
|
|||||||
|
|
||||||
if (*phUserKey == (HCRYPTKEY)INVALID_HANDLE_VALUE)
|
if (*phUserKey == (HCRYPTKEY)INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
/* MSDN: dwKeySpec parameter specifies non existent key */
|
/* MSDN: dwKeySpec parameter specifies nonexistent key */
|
||||||
SetLastError(NTE_NO_KEY);
|
SetLastError(NTE_NO_KEY);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -977,7 +977,7 @@ LPITEMIDLIST WINAPI ILCreateFromPathAW (LPCVOID path)
|
|||||||
* IShellFolder uses that FileSystem Bind Data object of the BindContext
|
* IShellFolder uses that FileSystem Bind Data object of the BindContext
|
||||||
* to pass data about the current path element to the next object. This
|
* to pass data about the current path element to the next object. This
|
||||||
* is used to avoid having to verify the current path element on disk, so
|
* is used to avoid having to verify the current path element on disk, so
|
||||||
* that creating an ItemIDList from a non-existent path still can work.
|
* that creating an ItemIDList from a nonexistent path still can work.
|
||||||
*/
|
*/
|
||||||
static HRESULT WINAPI _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile,
|
static HRESULT WINAPI _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile,
|
||||||
BOOL bBindCtx, LPITEMIDLIST *ppidl, LPDWORD prgfInOut)
|
BOOL bBindCtx, LPITEMIDLIST *ppidl, LPDWORD prgfInOut)
|
||||||
@ -1024,7 +1024,7 @@ static HRESULT WINAPI _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile,
|
|||||||
* SHSimpleIDListFromPath [SHELL32.162]
|
* SHSimpleIDListFromPath [SHELL32.162]
|
||||||
*
|
*
|
||||||
* Creates a simple ItemIDList from a path and returns it. This function
|
* Creates a simple ItemIDList from a path and returns it. This function
|
||||||
* does not fail on non-existent paths.
|
* does not fail on nonexistent paths.
|
||||||
*
|
*
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* path [I] path to parse and convert into an ItemIDList
|
* path [I] path to parse and convert into an ItemIDList
|
||||||
|
@ -2036,7 +2036,7 @@ HRESULT WINAPI SHGetFolderLocation(
|
|||||||
else if (hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND))
|
else if (hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND))
|
||||||
{
|
{
|
||||||
/* unlike SHGetFolderPath, SHGetFolderLocation in shell32
|
/* unlike SHGetFolderPath, SHGetFolderLocation in shell32
|
||||||
* version 6.0 returns E_FAIL for non-existing paths
|
* version 6.0 returns E_FAIL for nonexistent paths
|
||||||
*/
|
*/
|
||||||
hr = E_FAIL;
|
hr = E_FAIL;
|
||||||
}
|
}
|
||||||
|
@ -700,7 +700,7 @@ static int init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Subprocess helper 1: test what happens when CSIDL_FAVORITES is set to a
|
/* Subprocess helper 1: test what happens when CSIDL_FAVORITES is set to a
|
||||||
* non-existent directory.
|
* nonexistent directory.
|
||||||
*/
|
*/
|
||||||
static void testNonExistentPath1(void)
|
static void testNonExistentPath1(void)
|
||||||
{
|
{
|
||||||
|
@ -306,7 +306,7 @@ void test_copy(void)
|
|||||||
ok(!file_exists(".\\testdir2\\test2.txt"), "The file is not copied yet\n");
|
ok(!file_exists(".\\testdir2\\test2.txt"), "The file is not copied yet\n");
|
||||||
retval = SHFileOperationA(&shfo);
|
retval = SHFileOperationA(&shfo);
|
||||||
if (!retval)
|
if (!retval)
|
||||||
/* Win 95/NT returns success but copies only the files up to the non-existent source */
|
/* Win 95/NT returns success but copies only the files up to the nonexistent source */
|
||||||
ok(file_exists(".\\testdir2\\test1.txt"), "The file is not copied\n");
|
ok(file_exists(".\\testdir2\\test1.txt"), "The file is not copied\n");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -381,9 +381,9 @@ static void test_CList(void)
|
|||||||
|
|
||||||
item = SHLWAPI_CLIST_items;
|
item = SHLWAPI_CLIST_items;
|
||||||
|
|
||||||
/* Look for non-existing item in populated list */
|
/* Look for nonexistent item in populated list */
|
||||||
inserted = pSHLWAPI_22(list, 99999999);
|
inserted = pSHLWAPI_22(list, 99999999);
|
||||||
ok(inserted == NULL, "found a non-existing item\n");
|
ok(inserted == NULL, "found a nonexistent item\n");
|
||||||
|
|
||||||
while (item->ulSize)
|
while (item->ulSize)
|
||||||
{
|
{
|
||||||
@ -393,7 +393,7 @@ static void test_CList(void)
|
|||||||
item++;
|
item++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Look for non-existing item in empty list */
|
/* Look for nonexistent item in empty list */
|
||||||
inserted = pSHLWAPI_22(list, 99999999);
|
inserted = pSHLWAPI_22(list, 99999999);
|
||||||
ok(inserted == NULL, "found an item in empty list\n");
|
ok(inserted == NULL, "found an item in empty list\n");
|
||||||
|
|
||||||
|
@ -1296,7 +1296,7 @@ HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter, D3DDEVT
|
|||||||
The following fields apply to d3d9 only
|
The following fields apply to d3d9 only
|
||||||
------------------------------------------------ */
|
------------------------------------------------ */
|
||||||
if (This->dxVersion > 8) {
|
if (This->dxVersion > 8) {
|
||||||
FIXME("Caps support for directx9 is non-existent at the moment!\n");
|
FIXME("Caps support for directx9 is nonexistent at the moment!\n");
|
||||||
pCaps->DevCaps2 = 0;
|
pCaps->DevCaps2 = 0;
|
||||||
pCaps->MaxNpatchTessellationLevel = 0;
|
pCaps->MaxNpatchTessellationLevel = 0;
|
||||||
pCaps->MasterAdapterOrdinal = 0;
|
pCaps->MasterAdapterOrdinal = 0;
|
||||||
|
@ -147,7 +147,7 @@ char IO_pp_init(void)
|
|||||||
if (ioctl (fd,PPCLAIM,0))
|
if (ioctl (fd,PPCLAIM,0))
|
||||||
{
|
{
|
||||||
ERR("PPCLAIM rejected %s\n",buffer);
|
ERR("PPCLAIM rejected %s\n",buffer);
|
||||||
ERR("Perhaps the device is already in use or non-existent\n");
|
ERR("Perhaps the device is already in use or nonexistent\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (nports > 0)
|
if (nports > 0)
|
||||||
@ -176,7 +176,7 @@ char IO_pp_init(void)
|
|||||||
if (ioctl (fd,PPRELEASE,0))
|
if (ioctl (fd,PPRELEASE,0))
|
||||||
{
|
{
|
||||||
ERR("PPRELEASE rejected %s\n",buffer);
|
ERR("PPRELEASE rejected %s\n",buffer);
|
||||||
ERR("Perhaps the device is already in use or non-existent\n");
|
ERR("Perhaps the device is already in use or nonexistent\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
PPDeviceList[nports].devicename = malloc(sizeof(buffer)+1);
|
PPDeviceList[nports].devicename = malloc(sizeof(buffer)+1);
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
is able to load its own internal DLLs
|
is able to load its own internal DLLs
|
||||||
(<filename>.so</filename> files) when the program
|
(<filename>.so</filename> files) when the program
|
||||||
asks for a DLL, Wine does not simulate the presence of
|
asks for a DLL, Wine does not simulate the presence of
|
||||||
non-existent files.
|
nonexistent files.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
@ -71,7 +71,7 @@ batch file.\n\
|
|||||||
The label which is the target of a GOTO may be up to 255 characters\n\
|
The label which is the target of a GOTO may be up to 255 characters\n\
|
||||||
long but may not include spaces (this is different from other operating\n\
|
long but may not include spaces (this is different from other operating\n\
|
||||||
systems). If two or more identical labels exist in a batch file the\n\
|
systems). If two or more identical labels exist in a batch file the\n\
|
||||||
first one will always be executed. Attempting to GOTO a non-existent\n\
|
first one will always be executed. Attempting to GOTO a nonexistent\n\
|
||||||
label terminates the batch file execution.\n\
|
label terminates the batch file execution.\n\
|
||||||
\n\
|
\n\
|
||||||
GOTO has no effect when used interactively.\n"
|
GOTO has no effect when used interactively.\n"
|
||||||
|
@ -70,7 +70,7 @@ batch file.\n\
|
|||||||
The label which is the target of a GOTO may be up to 255 characters\n\
|
The label which is the target of a GOTO may be up to 255 characters\n\
|
||||||
long but may not include spaces (this is different from other operating\n\
|
long but may not include spaces (this is different from other operating\n\
|
||||||
systems). If two or more identical labels exist in a batch file the\n\
|
systems). If two or more identical labels exist in a batch file the\n\
|
||||||
first one will always be executed. Attempting to GOTO a non-existent\n\
|
first one will always be executed. Attempting to GOTO a nonexistent\n\
|
||||||
label terminates the batch file execution.\n\
|
label terminates the batch file execution.\n\
|
||||||
\n\
|
\n\
|
||||||
GOTO has no effect when used interactively.\n"
|
GOTO has no effect when used interactively.\n"
|
||||||
|
@ -71,7 +71,7 @@ batch file.\n\
|
|||||||
The label which is the target of a GOTO may be up to 255 characters\n\
|
The label which is the target of a GOTO may be up to 255 characters\n\
|
||||||
long but may not include spaces (this is different from other operating\n\
|
long but may not include spaces (this is different from other operating\n\
|
||||||
systems). If two or more identical labels exist in a batch file the\n\
|
systems). If two or more identical labels exist in a batch file the\n\
|
||||||
first one will always be executed. Attempting to GOTO a non-existent\n\
|
first one will always be executed. Attempting to GOTO a nonexistent\n\
|
||||||
label terminates the batch file execution.\n\
|
label terminates the batch file execution.\n\
|
||||||
\n\
|
\n\
|
||||||
GOTO has no effect when used interactively.\n"
|
GOTO has no effect when used interactively.\n"
|
||||||
|
@ -262,7 +262,7 @@ static int output_exports( FILE *outfile, int nr_exports, DLLSPEC *spec )
|
|||||||
unsigned int j, args, mask = 0;
|
unsigned int j, args, mask = 0;
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
||||||
/* skip non-existent entry points */
|
/* skip nonexistent entry points */
|
||||||
if (!odp) goto ignore;
|
if (!odp) goto ignore;
|
||||||
/* skip non-functions */
|
/* skip non-functions */
|
||||||
if ((odp->type != TYPE_STDCALL) && (odp->type != TYPE_CDECL)) goto ignore;
|
if ((odp->type != TYPE_STDCALL) && (odp->type != TYPE_CDECL)) goto ignore;
|
||||||
|
Loading…
Reference in New Issue
Block a user