Release 971130
[wine/hacks.git] / win32 / newfns.c
blob31924511712a18ad189a3bf05278c4239d2ee418
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 * UTRegister (KERNEL32.697)
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)
27 fprintf(stdnimp, "UTRegister Stub called!\n");
28 return TRUE;
31 /****************************************************************************
32 * UTUnRegister (KERNEL32.698)
34 BOOL32 WINAPI UTUnRegister(HMODULE32 hModule)
36 fprintf(stdnimp, "UTUnRegister Stub called!\n");
37 return TRUE;
40 /****************************************************************************
41 * QueryPerformanceCounter (KERNEL32.564)
43 BOOL32 WINAPI QueryPerformanceCounter(LPLARGE_INTEGER counter)
45 /* FIXME: don't know what are good values */
46 counter->LowPart = 0;
47 counter->HighPart = 0;
48 /* FIXME: Set appropriate error */
49 return FALSE;
53 /****************************************************************************
54 * QueryPerformanceFrequency (KERNEL32.565)
56 BOOL32 WINAPI QueryPerformanceFrequency(LPLARGE_INTEGER frequency)
58 /* FIXME: don't know what are good values */
59 frequency->LowPart = 0;
60 frequency->HighPart = 0;
61 /* FIXME: Set appropriate error */
62 return FALSE;
65 /****************************************************************************
66 * DeviceIoControl (KERNEL32.188)
68 BOOL32 WINAPI DeviceIoControl(HANDLE32 hDevice, DWORD dwIoControlCode,
69 LPVOID lpvlnBuffer, DWORD cblnBuffer,
70 LPVOID lpvOutBuffer, DWORD cbOutBuffer,
71 LPDWORD lpcbBytesReturned,
72 LPOVERLAPPED lpoPverlapped)
75 fprintf(stdnimp, "DeviceIoControl Stub called!\n");
76 /* FIXME: Set appropriate error */
77 return FALSE;