Release 970914
[wine] / win32 / newfns.c
1 /*
2  * Win32 miscellaneous functions
3  *
4  * Copyright 1995 Thomas Sandford (tdgsandf@prds-grn.demon.co.uk)
5  */
6
7 /* Misc. new functions - they should be moved into appropriate files
8 at a later date. */
9
10 #include <stdio.h>
11 #include "windows.h"
12 #include "winerror.h"
13 #include "stddebug.h"
14 #include "debug.h"
15
16 /****************************************************************************
17  *              UTRegister (KERNEL32.697)
18  */
19 BOOL32 WINAPI UTRegister(HMODULE32 hModule,
20                       LPSTR lpsz16BITDLL,
21                       LPSTR lpszInitName,
22                       LPSTR lpszProcName,
23                       /*UT32PROC*/ LPVOID *ppfn32Thunk,
24                       /*FARPROC*/ LPVOID pfnUT32CallBack,
25                       LPVOID lpBuff)
26 {
27     fprintf(stdnimp, "UTRegister Stub called!\n");
28     return TRUE;
29 }
30
31 /****************************************************************************
32  *              UTUnRegister (KERNEL32.698)
33  */
34 BOOL32 WINAPI UTUnRegister(HMODULE32 hModule)
35 {
36     fprintf(stdnimp, "UTUnRegister Stub called!\n");
37     return TRUE;
38 }
39
40 /****************************************************************************
41  *              QueryPerformanceCounter (KERNEL32.415)
42  */
43 BOOL32 WINAPI QueryPerformanceCounter(LPLARGE_INTEGER counter)
44 {
45         /* FIXME: don't know what are good values */
46         counter->LowPart        = 1;
47         counter->HighPart       = 0;
48         return TRUE;
49 }