mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
"import" profiles.c from wine. all Wine's profile reg. tests now pass
svn path=/trunk/; revision=11862
This commit is contained in:
parent
c084bd7f6f
commit
e108cd331f
3 changed files with 1567 additions and 1591 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: makefile,v 1.89 2004/10/20 20:51:21 chorns Exp $
|
||||
# $Id: makefile,v 1.90 2004/11/29 00:08:59 gdalsnes Exp $
|
||||
|
||||
PATH_TO_TOP = ../..
|
||||
|
||||
|
@ -17,7 +17,7 @@ TARGET_LFLAGS = -nostartfiles -nostdlib
|
|||
|
||||
TARGET_RCFLAGS += -DWINVER=0x0500
|
||||
|
||||
TARGET_SDKLIBS = pseh.a rosrtl.a ntdll.a kernel32.a
|
||||
TARGET_SDKLIBS = pseh.a rosrtl.a ntdll.a kernel32.a libwine.a
|
||||
|
||||
TARGET_GCCLIBS = gcc
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: dllmain.c,v 1.37 2004/10/24 12:39:53 chorns Exp $
|
||||
/* $Id: dllmain.c,v 1.38 2004/11/29 00:08:59 gdalsnes Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -37,7 +37,6 @@ CRITICAL_SECTION DllLock;
|
|||
CRITICAL_SECTION ConsoleLock;
|
||||
|
||||
extern BOOL WINAPI DefaultConsoleCtrlHandler(DWORD Event);
|
||||
extern BOOL FASTCALL PROFILE_Init();
|
||||
|
||||
extern BOOL FASTCALL NlsInit();
|
||||
extern VOID FASTCALL NlsUninit();
|
||||
|
@ -138,12 +137,6 @@ DllMain(HANDLE hDll,
|
|||
/* Initialize the DLL critical section */
|
||||
RtlInitializeCriticalSection(&DllLock);
|
||||
|
||||
/* Initialize the profile (.ini) routines */
|
||||
if (! PROFILE_Init())
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Initialize the National Language Support routines */
|
||||
if (! NlsInit())
|
||||
{
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue