Release 960902
[wine.git] / win32 / newfns.c
blob9af9c00757f8e0189d22b74e69fe6c3473e72d31
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(int HookId, HOOKPROC32 hookfn, HINSTANCE hModule,
27 DWORD ThreadId)
30 /* Stub for now */
31 fprintf(stdnimp, "SetWindowsHookEx32A Stub called! (hook Id %d)\n", HookId);
33 return (HHOOK) NULL;
36 BOOL UnhookWindowsHookEx32(HHOOK hHook)
39 /* Stub for now */
40 fprintf(stdnimp, "UnhookWindowsHookEx32 Stub called!\n");
41 return FALSE;
44 /****************************************************************************
45 * QueryPerformanceCounter (KERNEL32.415)
47 BOOL32
48 QueryPerformanceCounter(LPLARGE_INTEGER counter) {
49 /* FIXME: don't know what are good values */
50 counter->LowPart = 1;
51 counter->HighPart = 0;
52 return TRUE;