2 * Win32 miscellaneous functions
4 * Copyright 1995 Thomas Sandford (tdgsandf@prds-grn.demon.co.uk)
7 /* Misc. new functions - they should be moved into appropriate files
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,
23 return WinHelp(hWnd
,lpszHelp
,uCommand
,dwData
);
26 HHOOK
SetWindowsHookEx32A(INT32 id
, HOOKPROC32 hookfn
, HINSTANCE32 hModule
,
31 fprintf(stdnimp
, "SetWindowsHookEx32A Stub called! (hook Id %d)\n",id
);
36 HHOOK
SetWindowsHook32A(INT32 HookId
, HOOKPROC32 hookfn
)
39 fprintf(stdnimp
, "SetWindowsHook32A Stub called! (hook Id %d)\n", HookId
);
40 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
44 BOOL32
UnhookWindowsHookEx32(HHOOK hHook
)
48 fprintf(stdnimp
, "UnhookWindowsHookEx32 Stub called!\n");
52 /****************************************************************************
53 * QueryPerformanceCounter (KERNEL32.415)
56 QueryPerformanceCounter(LPLARGE_INTEGER counter
) {
57 /* FIXME: don't know what are good values */
59 counter
->HighPart
= 0;