Release 961013
[wine.git] / win32 / newfns.c
blobe9de49a6c97a11e80d028b732b47c94af601022d
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 * WinHelpA (USER32.578)
19 BOOL WIN32_WinHelpA(HWND hWnd,LPCSTR lpszHelp,UINT uCommand, DWORD dwData)
21 /* Should do parameter conversion here, but WinHelp is not working,
22 anyways */
23 return WinHelp(hWnd,lpszHelp,uCommand,dwData);
26 HHOOK SetWindowsHookEx32A(INT32 id, HOOKPROC32 hookfn, HINSTANCE32 hModule,
27 DWORD ThreadId)
30 /* Stub for now */
31 fprintf(stdnimp, "SetWindowsHookEx32A Stub called! (hook Id %d)\n",id);
33 return (HHOOK) NULL;
36 HHOOK SetWindowsHook32A(INT32 HookId, HOOKPROC32 hookfn)
38 /* Stub for now */
39 fprintf(stdnimp, "SetWindowsHook32A Stub called! (hook Id %d)\n", HookId);
40 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
41 return (HHOOK) NULL;
44 BOOL32 UnhookWindowsHookEx32(HHOOK hHook)
47 /* Stub for now */
48 fprintf(stdnimp, "UnhookWindowsHookEx32 Stub called!\n");
49 return FALSE;
52 /****************************************************************************
53 * QueryPerformanceCounter (KERNEL32.415)
55 BOOL32
56 QueryPerformanceCounter(LPLARGE_INTEGER counter) {
57 /* FIXME: don't know what are good values */
58 counter->LowPart = 1;
59 counter->HighPart = 0;
60 return TRUE;