4 * Copyright 1993 Robert J. Amstadt
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include "wine/winbase16.h"
28 #include "wine/winuser16.h"
32 #include "cursoricon.h"
35 #include "sysmetrics.h"
38 #include "wine/debug.h"
40 WINE_DECLARE_DEBUG_CHANNEL(hook
);
41 WINE_DECLARE_DEBUG_CHANNEL(local
);
42 WINE_DECLARE_DEBUG_CHANNEL(system
);
43 WINE_DECLARE_DEBUG_CHANNEL(win
);
44 WINE_DECLARE_DEBUG_CHANNEL(win32
);
46 SYSLEVEL USER_SysLevel
= { CRITICAL_SECTION_INIT("USER_SysLevel"), 2 };
49 /***********************************************************************
50 * GetFreeSystemResources (USER.284)
52 WORD WINAPI
GetFreeSystemResources16( WORD resType
)
56 int userPercent
, gdiPercent
;
58 if ((gdi_inst
= LoadLibrary16( "GDI" )) < 32) return 0;
59 gdi_heap
= gdi_inst
| 7;
63 case GFSR_USERRESOURCES
:
64 userPercent
= (int)LOCAL_CountFree( USER_HeapSel
) * 100 /
65 LOCAL_HeapSize( USER_HeapSel
);
69 case GFSR_GDIRESOURCES
:
70 gdiPercent
= (int)LOCAL_CountFree( gdi_inst
) * 100 /
71 LOCAL_HeapSize( gdi_inst
);
75 case GFSR_SYSTEMRESOURCES
:
76 userPercent
= (int)LOCAL_CountFree( USER_HeapSel
) * 100 /
77 LOCAL_HeapSize( USER_HeapSel
);
78 gdiPercent
= (int)LOCAL_CountFree( gdi_inst
) * 100 /
79 LOCAL_HeapSize( gdi_inst
);
83 userPercent
= gdiPercent
= 0;
86 FreeLibrary16( gdi_inst
);
87 TRACE_(local
)("<- userPercent %d, gdiPercent %d\n", userPercent
, gdiPercent
);
88 return (WORD
)min( userPercent
, gdiPercent
);
92 /**********************************************************************
95 INT16 WINAPI
InitApp16( HINSTANCE16 hInstance
)
97 /* Hack: restore the divide-by-zero handler */
98 /* FIXME: should set a USER-specific handler that displays a msg box */
99 INT_SetPMHandler( 0, INT_GetPMHandler( 0xff ) );
101 /* Create task message queue */
102 if ( !InitThreadInput16( 0, 0 ) ) return 0;
108 /***********************************************************************
113 _EnterSysLevel( &USER_SysLevel
);
117 /***********************************************************************
120 void USER_Unlock(void)
122 _LeaveSysLevel( &USER_SysLevel
);
126 /***********************************************************************
129 * Make sure that we don't hold the user lock.
131 void USER_CheckNotLock(void)
133 _CheckNotSysLevel( &USER_SysLevel
);
137 /**********************************************************************
140 static void USER_ModuleUnload( HMODULE16 hModule
)
142 /* HOOK_FreeModuleHooks( hModule ); */
143 CLASS_FreeModuleClasses( hModule
);
144 CURSORICON_FreeModuleIcons( hModule
);
147 /***********************************************************************
148 * SignalProc (USER.314)
150 void WINAPI
USER_SignalProc( HANDLE16 hTaskOrModule
, UINT16 uCode
,
151 UINT16 uExitFn
, HINSTANCE16 hInstance
,
154 FIXME_(win
)("Win 3.1 USER signal %04x\n", uCode
);
157 /***********************************************************************
158 * FinalUserInit (USER.400)
160 void WINAPI
FinalUserInit16( void )
162 /* FIXME: Should chain to FinalGdiInit now. */
165 /***********************************************************************
166 * SignalProc32 (USER.391)
167 * UserSignalProc (USER32.@)
169 * For comments about the meaning of uCode and dwFlags
170 * see PROCESS_CallUserSignalProc.
173 WORD WINAPI
UserSignalProc( UINT uCode
, DWORD dwThreadOrProcessID
,
174 DWORD dwFlags
, HMODULE16 hModule
)
176 /* FIXME: Proper reaction to most signals still missing. */
180 case USIG_DLL_UNLOAD_WIN16
:
181 case USIG_DLL_UNLOAD_WIN32
:
182 USER_ModuleUnload( hModule
);
185 case USIG_DLL_UNLOAD_ORPHANS
:
186 case USIG_FAULT_DIALOG_PUSH
:
187 case USIG_FAULT_DIALOG_POP
:
188 case USIG_THREAD_INIT
:
189 case USIG_THREAD_EXIT
:
190 case USIG_PROCESS_CREATE
:
191 case USIG_PROCESS_INIT
:
192 case USIG_PROCESS_LOADED
:
193 case USIG_PROCESS_RUNNING
:
194 case USIG_PROCESS_EXIT
:
195 case USIG_PROCESS_DESTROY
:
199 FIXME_(win
)("(%04x, %08lx, %04lx, %04x)\n",
200 uCode
, dwThreadOrProcessID
, dwFlags
, hModule
);
204 /* FIXME: Should chain to GdiSignalProc now. */
209 /***********************************************************************
210 * ExitWindows (USER.7)
212 BOOL16 WINAPI
ExitWindows16( DWORD dwReturnCode
, UINT16 wReserved
)
214 return ExitWindowsEx( EWX_LOGOFF
, 0xffffffff );
218 /***********************************************************************
219 * ExitWindowsExec (USER.246)
221 BOOL16 WINAPI
ExitWindowsExec16( LPCSTR lpszExe
, LPCSTR lpszParams
)
223 TRACE_(system
)("Should run the following in DOS-mode: \"%s %s\"\n",
224 lpszExe
, lpszParams
);
225 return ExitWindowsEx( EWX_LOGOFF
, 0xffffffff );
229 /***********************************************************************
230 * ExitWindowsEx (USER32.@)
232 BOOL WINAPI
ExitWindowsEx( UINT flags
, DWORD reserved
)
238 /* We have to build a list of all windows first, as in EnumWindows */
240 if (!(list
= WIN_ListChildren( GetDesktopWindow() ))) return FALSE
;
242 /* Send a WM_QUERYENDSESSION message to every window */
244 for (i
= 0; list
[i
]; i
++)
246 /* Make sure that the window still exists */
247 if (!IsWindow( list
[i
] )) continue;
248 if (!SendMessageW( list
[i
], WM_QUERYENDSESSION
, 0, 0 )) break;
252 /* Now notify all windows that got a WM_QUERYENDSESSION of the result */
254 for (phwnd
= list
; i
> 0; i
--, phwnd
++)
256 if (!IsWindow( *phwnd
)) continue;
257 SendMessageW( *phwnd
, WM_ENDSESSION
, result
, 0 );
259 HeapFree( GetProcessHeap(), 0, list
);
261 if (result
) ExitKernel16();
265 static void _dump_CDS_flags(DWORD flags
) {
266 #define X(x) if (flags & CDS_##x) MESSAGE(""#x ",");
267 X(UPDATEREGISTRY
);X(TEST
);X(FULLSCREEN
);X(GLOBAL
);
268 X(SET_PRIMARY
);X(RESET
);X(SETRECT
);X(NORESET
);
272 /***********************************************************************
273 * ChangeDisplaySettingsA (USER32.@)
275 LONG WINAPI
ChangeDisplaySettingsA( LPDEVMODEA devmode
, DWORD flags
)
277 FIXME_(system
)("(%p,0x%08lx), stub\n",devmode
,flags
);
278 MESSAGE("\tflags=");_dump_CDS_flags(flags
);MESSAGE("\n");
280 FIXME_(system
)(" devmode=NULL (return to default mode)\n");
281 else if ( (devmode
->dmBitsPerPel
!= GetSystemMetrics(SM_WINE_BPP
))
282 || (devmode
->dmPelsHeight
!= GetSystemMetrics(SM_CYSCREEN
))
283 || (devmode
->dmPelsWidth
!= GetSystemMetrics(SM_CXSCREEN
)) )
287 if (devmode
->dmFields
& DM_BITSPERPEL
)
288 FIXME_(system
)(" bpp=%ld\n",devmode
->dmBitsPerPel
);
289 if (devmode
->dmFields
& DM_PELSWIDTH
)
290 FIXME_(system
)(" width=%ld\n",devmode
->dmPelsWidth
);
291 if (devmode
->dmFields
& DM_PELSHEIGHT
)
292 FIXME_(system
)(" height=%ld\n",devmode
->dmPelsHeight
);
293 FIXME_(system
)(" (Putting X in this mode beforehand might help)\n");
294 /* we don't, but the program ... does not need to know */
295 return DISP_CHANGE_SUCCESSFUL
;
297 return DISP_CHANGE_SUCCESSFUL
;
300 /***********************************************************************
301 * ChangeDisplaySettings (USER.620)
303 LONG WINAPI
ChangeDisplaySettings16( LPDEVMODEA devmode
, DWORD flags
)
305 TRACE_(system
)("(%p,0x%08lx), stub\n",devmode
,flags
);
306 return ChangeDisplaySettingsA(devmode
, flags
);
309 /***********************************************************************
310 * ChangeDisplaySettingsExA (USER32.@)
312 LONG WINAPI
ChangeDisplaySettingsExA(
313 LPCSTR devname
, LPDEVMODEA devmode
, HWND hwnd
, DWORD flags
,
316 FIXME_(system
)("(%s,%p,0x%04x,0x%08lx,0x%08lx), stub\n",devname
,devmode
,hwnd
,flags
,lparam
);
317 MESSAGE("\tflags=");_dump_CDS_flags(flags
);MESSAGE("\n");
319 FIXME_(system
)(" devmode=NULL (return to default mode)\n");
320 else if ( (devmode
->dmBitsPerPel
!= GetSystemMetrics(SM_WINE_BPP
))
321 || (devmode
->dmPelsHeight
!= GetSystemMetrics(SM_CYSCREEN
))
322 || (devmode
->dmPelsWidth
!= GetSystemMetrics(SM_CXSCREEN
)) )
326 if (devmode
->dmFields
& DM_BITSPERPEL
)
327 FIXME_(system
)(" bpp=%ld\n",devmode
->dmBitsPerPel
);
328 if (devmode
->dmFields
& DM_PELSWIDTH
)
329 FIXME_(system
)(" width=%ld\n",devmode
->dmPelsWidth
);
330 if (devmode
->dmFields
& DM_PELSHEIGHT
)
331 FIXME_(system
)(" height=%ld\n",devmode
->dmPelsHeight
);
332 FIXME_(system
)(" (Putting X in this mode beforehand might help)\n");
333 /* we don't, but the program ... does not need to know */
334 return DISP_CHANGE_SUCCESSFUL
;
336 return DISP_CHANGE_SUCCESSFUL
;
339 /***********************************************************************
340 * EnumDisplaySettingsA (USER32.@)
341 * FIXME: Currently uses static list of modes.
344 * TRUE if nth setting exists found (described in the LPDEVMODEA struct)
345 * FALSE if we do not have the nth setting
347 BOOL WINAPI
EnumDisplaySettingsA(
348 LPCSTR name
, /* [in] huh? */
349 DWORD n
, /* [in] nth entry in display settings list*/
350 LPDEVMODEA devmode
/* [out] devmode for that setting */
356 } modes
[NRMODES
]={{512,384},{640,400},{640,480},{800,600},{1024,768}};
357 int depths
[4] = {8,16,24,32};
359 TRACE_(system
)("(%s,%ld,%p)\n",name
,n
,devmode
);
360 devmode
->dmDisplayFlags
= 0;
361 devmode
->dmDisplayFrequency
= 85;
362 if (n
==0 || n
== (DWORD
)-1 || n
== (DWORD
)-2) {
363 devmode
->dmBitsPerPel
= GetSystemMetrics(SM_WINE_BPP
);
364 devmode
->dmPelsHeight
= GetSystemMetrics(SM_CYSCREEN
);
365 devmode
->dmPelsWidth
= GetSystemMetrics(SM_CXSCREEN
);
368 if ((n
-1)<NRMODES
*NRDEPTHS
) {
369 devmode
->dmBitsPerPel
= depths
[(n
-1)/NRMODES
];
370 devmode
->dmPelsHeight
= modes
[(n
-1)%NRMODES
].h
;
371 devmode
->dmPelsWidth
= modes
[(n
-1)%NRMODES
].w
;
377 /***********************************************************************
378 * EnumDisplaySettingsW (USER32.@)
380 BOOL WINAPI
EnumDisplaySettingsW(LPCWSTR name
,DWORD n
,LPDEVMODEW devmode
)
384 DWORD len
= WideCharToMultiByte( CP_ACP
, 0, name
, -1, NULL
, 0, NULL
, NULL
);
385 LPSTR nameA
= HeapAlloc( GetProcessHeap(), 0, len
);
387 WideCharToMultiByte( CP_ACP
, 0, name
, -1, nameA
, len
, NULL
, NULL
);
388 ret
= EnumDisplaySettingsA(nameA
,n
,&devmodeA
);
391 devmode
->dmBitsPerPel
= devmodeA
.dmBitsPerPel
;
392 devmode
->dmPelsHeight
= devmodeA
.dmPelsHeight
;
393 devmode
->dmPelsWidth
= devmodeA
.dmPelsWidth
;
394 devmode
->dmDisplayFlags
= devmodeA
.dmDisplayFlags
;
395 devmode
->dmDisplayFrequency
= devmodeA
.dmDisplayFrequency
;
396 /* FIXME: convert rest too, if they are ever returned */
398 HeapFree(GetProcessHeap(),0,nameA
);
402 /***********************************************************************
403 * EnumDisplaySettings (USER.621)
405 BOOL16 WINAPI
EnumDisplaySettings16(
406 LPCSTR name
, /* [in] huh? */
407 DWORD n
, /* [in] nth entry in display settings list*/
408 LPDEVMODEA devmode
/* [out] devmode for that setting */
410 TRACE_(system
)("(%s, %ld, %p)\n", name
, n
, devmode
);
411 return (BOOL16
)EnumDisplaySettingsA(name
, n
, devmode
);
414 /***********************************************************************
415 * EnumDisplaySettingsExA (USER32.@)
417 BOOL WINAPI
EnumDisplaySettingsExA(LPCSTR lpszDeviceName
, DWORD iModeNum
,
418 LPDEVMODEA lpDevMode
, DWORD dwFlags
)
420 TRACE_(system
)("(%s,%lu,%p,%08lx): stub\n",
421 debugstr_a(lpszDeviceName
), iModeNum
, lpDevMode
, dwFlags
);
423 return EnumDisplaySettingsA(lpszDeviceName
, iModeNum
, lpDevMode
);
426 /***********************************************************************
427 * EnumDisplaySettingsExW (USER32.@)
429 BOOL WINAPI
EnumDisplaySettingsExW(LPCWSTR lpszDeviceName
, DWORD iModeNum
,
430 LPDEVMODEW lpDevMode
, DWORD dwFlags
)
432 TRACE_(system
)("(%s,%lu,%p,%08lx): stub\n",
433 debugstr_w(lpszDeviceName
), iModeNum
, lpDevMode
, dwFlags
);
435 return EnumDisplaySettingsW(lpszDeviceName
, iModeNum
, lpDevMode
);
438 /***********************************************************************
439 * EnumDisplayDevicesA (USER32.@)
441 BOOL WINAPI
EnumDisplayDevicesA(
442 LPVOID unused
,DWORD i
,LPDISPLAY_DEVICEA lpDisplayDevice
,DWORD dwFlags
446 FIXME_(system
)("(%p,%ld,%p,0x%08lx), stub!\n",unused
,i
,lpDisplayDevice
,dwFlags
);
447 strcpy(lpDisplayDevice
->DeviceName
,"X11");
448 strcpy(lpDisplayDevice
->DeviceString
,"X 11 Windowing System");
449 lpDisplayDevice
->StateFlags
=
450 DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
|
451 DISPLAY_DEVICE_PRIMARY_DEVICE
|
452 DISPLAY_DEVICE_VGA_COMPATIBLE
;
456 /***********************************************************************
457 * EnumDisplayDevicesW (USER32.@)
459 BOOL WINAPI
EnumDisplayDevicesW(
460 LPVOID unused
,DWORD i
,LPDISPLAY_DEVICEW lpDisplayDevice
,DWORD dwFlags
464 FIXME_(system
)("(%p,%ld,%p,0x%08lx), stub!\n",unused
,i
,lpDisplayDevice
,dwFlags
);
465 MultiByteToWideChar( CP_ACP
, 0, "X11", -1, lpDisplayDevice
->DeviceName
,
466 sizeof(lpDisplayDevice
->DeviceName
)/sizeof(WCHAR
) );
467 MultiByteToWideChar( CP_ACP
, 0, "X11 Windowing System", -1, lpDisplayDevice
->DeviceString
,
468 sizeof(lpDisplayDevice
->DeviceString
)/sizeof(WCHAR
) );
469 lpDisplayDevice
->StateFlags
=
470 DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
|
471 DISPLAY_DEVICE_PRIMARY_DEVICE
|
472 DISPLAY_DEVICE_VGA_COMPATIBLE
;
476 /***********************************************************************
477 * SetEventHook (USER.321)
479 * Used by Turbo Debugger for Windows
481 FARPROC16 WINAPI
SetEventHook16(FARPROC16 lpfnEventHook
)
483 FIXME_(hook
)("(lpfnEventHook=%08x): stub\n", (UINT
)lpfnEventHook
);
487 /***********************************************************************
488 * UserSeeUserDo (USER.216)
490 DWORD WINAPI
UserSeeUserDo16(WORD wReqType
, WORD wParam1
, WORD wParam2
, WORD wParam3
)
494 case USUD_LOCALALLOC
:
495 return LOCAL_Alloc(USER_HeapSel
, wParam1
, wParam3
);
497 return LOCAL_Free(USER_HeapSel
, wParam1
);
498 case USUD_LOCALCOMPACT
:
499 return LOCAL_Compact(USER_HeapSel
, wParam3
, 0);
502 case USUD_FIRSTCLASS
:
503 FIXME_(local
)("return a pointer to the first window class.\n");
506 WARN_(local
)("wReqType %04x (unknown)", wReqType
);
511 /***********************************************************************
512 * GetSystemDebugState (USER.231)
514 WORD WINAPI
GetSystemDebugState16(void)
516 return 0; /* FIXME */
519 /***********************************************************************
520 * RegisterLogonProcess (USER32.@)
522 DWORD WINAPI
RegisterLogonProcess(HANDLE hprocess
,BOOL x
) {
523 FIXME_(win32
)("(%d,%d),stub!\n",hprocess
,x
);
527 /***********************************************************************
528 * CreateWindowStationW (USER32.@)
530 HWINSTA WINAPI
CreateWindowStationW(
531 LPWSTR winstation
,DWORD res1
,DWORD desiredaccess
,
532 LPSECURITY_ATTRIBUTES lpsa
534 FIXME_(win32
)("(%s,0x%08lx,0x%08lx,%p),stub!\n",debugstr_w(winstation
),
535 res1
,desiredaccess
,lpsa
537 return (HWINSTA
)0xdeadcafe;
540 /***********************************************************************
541 * SetProcessWindowStation (USER32.@)
543 BOOL WINAPI
SetProcessWindowStation(HWINSTA hWinSta
) {
544 FIXME_(win32
)("(%d),stub!\n",hWinSta
);
548 /***********************************************************************
549 * SetUserObjectSecurity (USER32.@)
551 BOOL WINAPI
SetUserObjectSecurity(
553 PSECURITY_INFORMATION pSIRequested
,
554 PSECURITY_DESCRIPTOR pSID
556 FIXME_(win32
)("(0x%08x,%p,%p),stub!\n",hObj
,pSIRequested
,pSID
);
560 /***********************************************************************
561 * CreateDesktopA (USER32.@)
563 HDESK WINAPI
CreateDesktopA(
564 LPSTR lpszDesktop
,LPSTR lpszDevice
,LPDEVMODEA pDevmode
,
565 DWORD dwFlags
,DWORD dwDesiredAccess
,LPSECURITY_ATTRIBUTES lpsa
567 FIXME_(win32
)("(%s,%s,%p,0x%08lx,0x%08lx,%p),stub!\n",
568 lpszDesktop
,lpszDevice
,pDevmode
,
569 dwFlags
,dwDesiredAccess
,lpsa
571 return (HDESK
)0xcafedead;
574 /***********************************************************************
575 * CreateDesktopW (USER32.@)
577 HDESK WINAPI
CreateDesktopW(
578 LPWSTR lpszDesktop
,LPWSTR lpszDevice
,LPDEVMODEW pDevmode
,
579 DWORD dwFlags
,DWORD dwDesiredAccess
,LPSECURITY_ATTRIBUTES lpsa
581 FIXME_(win32
)("(%s,%s,%p,0x%08lx,0x%08lx,%p),stub!\n",
582 debugstr_w(lpszDesktop
),debugstr_w(lpszDevice
),pDevmode
,
583 dwFlags
,dwDesiredAccess
,lpsa
585 return (HDESK
)0xcafedead;
588 /***********************************************************************
589 * EnumDesktopWindows (USER32.@)
591 BOOL WINAPI
EnumDesktopWindows( HDESK hDesktop
, WNDENUMPROC lpfn
, LPARAM lParam
) {
592 FIXME_(win32
)("(0x%08x, %p, 0x%08lx), stub!\n", hDesktop
, lpfn
, lParam
);
597 /***********************************************************************
598 * CloseWindowStation (USER32.@)
600 BOOL WINAPI
CloseWindowStation(HWINSTA hWinSta
)
602 FIXME_(win32
)("(0x%08x)\n", hWinSta
);
606 /***********************************************************************
607 * CloseDesktop (USER32.@)
609 BOOL WINAPI
CloseDesktop(HDESK hDesk
)
611 FIXME_(win32
)("(0x%08x)\n", hDesk
);
615 /***********************************************************************
616 * SetWindowStationUser (USER32.@)
618 DWORD WINAPI
SetWindowStationUser(DWORD x1
,DWORD x2
) {
619 FIXME_(win32
)("(0x%08lx,0x%08lx),stub!\n",x1
,x2
);
623 /***********************************************************************
624 * SetLogonNotifyWindow (USER32.@)
626 DWORD WINAPI
SetLogonNotifyWindow(HWINSTA hwinsta
,HWND hwnd
) {
627 FIXME_(win32
)("(0x%x,%04x),stub!\n",hwinsta
,hwnd
);
631 /***********************************************************************
632 * LoadLocalFonts (USER32.@)
634 VOID WINAPI
LoadLocalFonts(VOID
) {
638 /***********************************************************************
639 * GetUserObjectInformationA (USER32.@)
641 BOOL WINAPI
GetUserObjectInformationA( HANDLE hObj
, INT nIndex
, LPVOID pvInfo
, DWORD nLength
, LPDWORD lpnLen
)
642 { FIXME_(win32
)("(0x%x %i %p %ld %p),stub!\n", hObj
, nIndex
, pvInfo
, nLength
, lpnLen
);
645 /***********************************************************************
646 * GetUserObjectInformationW (USER32.@)
648 BOOL WINAPI
GetUserObjectInformationW( HANDLE hObj
, INT nIndex
, LPVOID pvInfo
, DWORD nLength
, LPDWORD lpnLen
)
649 { FIXME_(win32
)("(0x%x %i %p %ld %p),stub!\n", hObj
, nIndex
, pvInfo
, nLength
, lpnLen
);
652 /***********************************************************************
653 * GetUserObjectSecurity (USER32.@)
655 BOOL WINAPI
GetUserObjectSecurity(HANDLE hObj
, PSECURITY_INFORMATION pSIRequested
,
656 PSECURITY_DESCRIPTOR pSID
, DWORD nLength
, LPDWORD lpnLengthNeeded
)
657 { FIXME_(win32
)("(0x%x %p %p len=%ld %p),stub!\n", hObj
, pSIRequested
, pSID
, nLength
, lpnLengthNeeded
);
661 /***********************************************************************
662 * SetSystemCursor (USER32.@)
664 BOOL WINAPI
SetSystemCursor(HCURSOR hcur
, DWORD id
)
665 { FIXME_(win32
)("(%08x,%08lx),stub!\n", hcur
, id
);
669 /***********************************************************************
670 * RegisterSystemThread (USER32.@)
672 void WINAPI
RegisterSystemThread(DWORD flags
, DWORD reserved
)
674 FIXME_(win32
)("(%08lx, %08lx)\n", flags
, reserved
);
677 /***********************************************************************
678 * RegisterDeviceNotificationA (USER32.@)
680 HDEVNOTIFY WINAPI
RegisterDeviceNotificationA(
681 HANDLE hnd
, LPVOID notifyfilter
, DWORD flags
683 FIXME_(win32
)("(hwnd=%08x, filter=%p,flags=0x%08lx), STUB!\n",
684 hnd
,notifyfilter
,flags