mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[FAULTREP]
* Sync with Wine 1.7.1. svn path=/trunk/; revision=60167
This commit is contained in:
parent
f1b2e471f6
commit
f7bba7d1b0
3 changed files with 6 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
spec2def(faultrep.dll faultrep.spec)
|
||||
spec2def(faultrep.dll faultrep.spec ADD_IMPORTLIB)
|
||||
|
||||
list(APPEND SOURCE
|
||||
faultrep.c
|
||||
|
|
|
@ -53,14 +53,13 @@ static const WCHAR SZ_EXCLUSIONLIST_KEY[] = {
|
|||
* Wine doesn't use this data but stores it in the registry (in the same place
|
||||
* as Windows would) in case it will be useful in a future version
|
||||
*
|
||||
* According to MSDN this function should succeed even if the user has no write
|
||||
* access to HKLM. This probably means that there is no error checking.
|
||||
*/
|
||||
BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName)
|
||||
{
|
||||
WCHAR *bslash;
|
||||
DWORD value = 1;
|
||||
HKEY hkey;
|
||||
LONG res;
|
||||
|
||||
TRACE("(%s)\n", wine_dbgstr_w(lpAppFileName));
|
||||
bslash = strrchrW(lpAppFileName, '\\');
|
||||
|
@ -72,13 +71,14 @@ BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (!RegCreateKeyW(HKEY_LOCAL_MACHINE, SZ_EXCLUSIONLIST_KEY, &hkey))
|
||||
res = RegCreateKeyW(HKEY_LOCAL_MACHINE, SZ_EXCLUSIONLIST_KEY, &hkey);
|
||||
if (!res)
|
||||
{
|
||||
RegSetValueExW(hkey, lpAppFileName, 0, REG_DWORD, (LPBYTE)&value, sizeof(value));
|
||||
RegCloseKey(hkey);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
return !res;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -123,8 +123,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
|
|||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(inst);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ reactos/dll/win32/cryptui # Synced to Wine-1.7.1
|
|||
reactos/dll/win32/dbghelp # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/dciman32 # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/dwmapi # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/faultrep # Synced to Wine-1.5.4
|
||||
reactos/dll/win32/faultrep # Synced to Wine-1.7.1
|
||||
reactos/dll/win32/fusion # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/gdiplus # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/hhctrl.ocx # Synced to Wine-1.5.26
|
||||
|
|
Loading…
Reference in a new issue