Release 961222
[wine/gsoc-2012-control.git] / win32 / newfns.c
blobc7fb4c1030807a596c7ffa9d90856ddd4e0bcf93
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 /****************************************************************************
27 * QueryPerformanceCounter (KERNEL32.415)
29 BOOL32
30 QueryPerformanceCounter(LPLARGE_INTEGER counter) {
31 /* FIXME: don't know what are good values */
32 counter->LowPart = 1;
33 counter->HighPart = 0;
34 return TRUE;
37 DWORD
38 GetWindowThreadProcessId(HWND32 hwnd,LPDWORD processid) {
39 fprintf(stdnimp,"GetWindowThreadProcessId(%04x,%p),stub\n",hwnd,processid);
40 return 0;
43 /****************************************************************************
44 * DisableThreadLibraryCalls (KERNEL32.74)
46 BOOL32
47 DisableThreadLibraryCalls(HMODULE32 hModule) {
48 /* FIXME: stub for now */
49 fprintf(stdnimp, "DisableThreadLibraryCalls Stub called!\n");
50 return TRUE;