wintab32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cc00ffa397
commit
57d5db5d64
|
@ -2,6 +2,8 @@ MODULE = wintab32.dll
|
||||||
IMPORTLIB = wintab32
|
IMPORTLIB = wintab32
|
||||||
IMPORTS = user32 advapi32
|
IMPORTS = user32 advapi32
|
||||||
|
|
||||||
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
context.c \
|
context.c \
|
||||||
manager.c \
|
manager.c \
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -18,8 +18,6 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#define NOFIX32
|
#define NOFIX32
|
||||||
#include "wintab.h"
|
#include "wintab.h"
|
||||||
#include "wintab_internal.h"
|
#include "wintab_internal.h"
|
||||||
#include "wine/unicode.h"
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(wintab32);
|
WINE_DEFAULT_DEBUG_CHANNEL(wintab32);
|
||||||
|
@ -94,8 +93,8 @@ static HMODULE load_graphics_driver(void)
|
||||||
|
|
||||||
if (!guid_atom) return 0;
|
if (!guid_atom) return 0;
|
||||||
memcpy( key, key_pathW, sizeof(key_pathW) );
|
memcpy( key, key_pathW, sizeof(key_pathW) );
|
||||||
if (!GlobalGetAtomNameW( guid_atom, key + strlenW(key), 40 )) return 0;
|
if (!GlobalGetAtomNameW( guid_atom, key + lstrlenW(key), 40 )) return 0;
|
||||||
strcatW( key, displayW );
|
lstrcatW( key, displayW );
|
||||||
if (RegOpenKeyW( HKEY_LOCAL_MACHINE, key, &hkey )) return 0;
|
if (RegOpenKeyW( HKEY_LOCAL_MACHINE, key, &hkey )) return 0;
|
||||||
size = sizeof(path);
|
size = sizeof(path);
|
||||||
if (!RegQueryValueExW( hkey, driverW, NULL, NULL, (BYTE *)path, &size )) ret = LoadLibraryW( path );
|
if (!RegQueryValueExW( hkey, driverW, NULL, NULL, (BYTE *)path, &size )) ret = LoadLibraryW( path );
|
||||||
|
|
Loading…
Reference in New Issue