Release 970629
[wine/testsucceed.git] / win32 / newfns.c
blobb53a5036adf71a9f8fa17203e386866ffd024e3b
1 /*
2 * Win32 miscellaneous functions
4 * Copyright 1995 Thomas Sandford (tdgsandf@prds-grn.demon.co.uk)
5 */
7 /* Misc. new functions - they should be moved into appropriate files
8 at a later date. */
10 #include <stdio.h>
11 #include "windows.h"
12 #include "winerror.h"
13 #include "stddebug.h"
14 #include "debug.h"
16 /****************************************************************************
17 * QueryPerformanceCounter (KERNEL32.415)
19 BOOL32
20 QueryPerformanceCounter(LPLARGE_INTEGER counter) {
21 /* FIXME: don't know what are good values */
22 counter->LowPart = 1;
23 counter->HighPart = 0;
24 return TRUE;
27 /****************************************************************************
28 * DisableThreadLibraryCalls (KERNEL32.74)
29 * Don't call DllEntryPoint for DLL_THREAD_{ATTACH,DETACH} if set.
31 BOOL32
32 DisableThreadLibraryCalls(HMODULE32 hModule) {
33 fprintf(stdnimp, "DisableThreadLibraryCalls Stub called!\n");
34 return TRUE;