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"
37 #include "wine/debug.h"
39 WINE_DECLARE_DEBUG_CHANNEL(hook
);
40 WINE_DECLARE_DEBUG_CHANNEL(local
);
41 WINE_DECLARE_DEBUG_CHANNEL(system
);
42 WINE_DECLARE_DEBUG_CHANNEL(win
);
43 WINE_DECLARE_DEBUG_CHANNEL(win32
);
45 static SYSLEVEL USER_SysLevel
;
46 static CRITICAL_SECTION_DEBUG critsect_debug
=
48 0, 0, &USER_SysLevel
.crst
,
49 { &critsect_debug
.ProcessLocksList
, &critsect_debug
.ProcessLocksList
},
50 0, 0, { 0, (DWORD
)(__FILE__
": USER_SysLevel") }
52 static SYSLEVEL USER_SysLevel
= { { &critsect_debug
, -1, 0, 0, 0, 0 }, 2 };
54 /* USER signal proc flags and codes */
55 /* See UserSignalProc for comments */
56 #define USIG_FLAGS_WIN32 0x0001
57 #define USIG_FLAGS_GUI 0x0002
58 #define USIG_FLAGS_FEEDBACK 0x0004
59 #define USIG_FLAGS_FAULT 0x0008
61 #define USIG_DLL_UNLOAD_WIN16 0x0001
62 #define USIG_DLL_UNLOAD_WIN32 0x0002
63 #define USIG_FAULT_DIALOG_PUSH 0x0003
64 #define USIG_FAULT_DIALOG_POP 0x0004
65 #define USIG_DLL_UNLOAD_ORPHANS 0x0005
66 #define USIG_THREAD_INIT 0x0010
67 #define USIG_THREAD_EXIT 0x0020
68 #define USIG_PROCESS_CREATE 0x0100
69 #define USIG_PROCESS_INIT 0x0200
70 #define USIG_PROCESS_EXIT 0x0300
71 #define USIG_PROCESS_DESTROY 0x0400
72 #define USIG_PROCESS_RUNNING 0x0500
73 #define USIG_PROCESS_LOADED 0x0600
76 /***********************************************************************
77 * GetFreeSystemResources (USER.284)
79 WORD WINAPI
GetFreeSystemResources16( WORD resType
)
83 int userPercent
, gdiPercent
;
85 if ((gdi_inst
= LoadLibrary16( "GDI" )) < 32) return 0;
86 gdi_heap
= gdi_inst
| 7;
90 case GFSR_USERRESOURCES
:
91 userPercent
= (int)LOCAL_CountFree( USER_HeapSel
) * 100 /
92 LOCAL_HeapSize( USER_HeapSel
);
96 case GFSR_GDIRESOURCES
:
97 gdiPercent
= (int)LOCAL_CountFree( gdi_inst
) * 100 /
98 LOCAL_HeapSize( gdi_inst
);
102 case GFSR_SYSTEMRESOURCES
:
103 userPercent
= (int)LOCAL_CountFree( USER_HeapSel
) * 100 /
104 LOCAL_HeapSize( USER_HeapSel
);
105 gdiPercent
= (int)LOCAL_CountFree( gdi_inst
) * 100 /
106 LOCAL_HeapSize( gdi_inst
);
110 userPercent
= gdiPercent
= 0;
113 FreeLibrary16( gdi_inst
);
114 TRACE_(local
)("<- userPercent %d, gdiPercent %d\n", userPercent
, gdiPercent
);
115 return (WORD
)min( userPercent
, gdiPercent
);
119 /**********************************************************************
122 INT16 WINAPI
InitApp16( HINSTANCE16 hInstance
)
124 /* Create task message queue */
125 if ( !InitThreadInput16( 0, 0 ) ) return 0;
131 /***********************************************************************
136 _EnterSysLevel( &USER_SysLevel
);
140 /***********************************************************************
143 void USER_Unlock(void)
145 _LeaveSysLevel( &USER_SysLevel
);
149 /***********************************************************************
152 * Make sure that we don't hold the user lock.
154 void USER_CheckNotLock(void)
156 _CheckNotSysLevel( &USER_SysLevel
);
160 /***********************************************************************
161 * WIN_SuspendWndsLock
163 * Suspend the lock on WND structures.
164 * Returns the number of locks suspended
165 * FIXME: should be removed
167 int WIN_SuspendWndsLock( void )
169 int isuspendedLocks
= _ConfirmSysLevel( &USER_SysLevel
);
170 int count
= isuspendedLocks
;
172 while ( count
-- > 0 )
173 _LeaveSysLevel( &USER_SysLevel
);
175 return isuspendedLocks
;
178 /***********************************************************************
179 * WIN_RestoreWndsLock
181 * Restore the suspended locks on WND structures
182 * FIXME: should be removed
184 void WIN_RestoreWndsLock( int ipreviousLocks
)
186 while ( ipreviousLocks
-- > 0 )
187 _EnterSysLevel( &USER_SysLevel
);
190 /***********************************************************************
191 * FinalUserInit (USER.400)
193 void WINAPI
FinalUserInit16( void )
195 /* FIXME: Should chain to FinalGdiInit now. */
198 /***********************************************************************
199 * SignalProc32 (USER.391)
200 * UserSignalProc (USER32.@)
202 * The exact meaning of the USER signals is undocumented, but this
203 * should cover the basic idea:
205 * USIG_DLL_UNLOAD_WIN16
206 * This is sent when a 16-bit module is unloaded.
208 * USIG_DLL_UNLOAD_WIN32
209 * This is sent when a 32-bit module is unloaded.
211 * USIG_DLL_UNLOAD_ORPHANS
212 * This is sent after the last Win3.1 module is unloaded,
213 * to allow removal of orphaned menus.
215 * USIG_FAULT_DIALOG_PUSH
216 * USIG_FAULT_DIALOG_POP
217 * These are called to allow USER to prepare for displaying a
218 * fault dialog, even though the fault might have happened while
219 * inside a USER critical section.
222 * This is called from the context of a new thread, as soon as it
223 * has started to run.
226 * This is called, still in its context, just before a thread is
227 * about to terminate.
229 * USIG_PROCESS_CREATE
230 * This is called, in the parent process context, after a new process
234 * This is called in the new process context, just after the main thread
235 * has started execution (after the main thread's USIG_THREAD_INIT has
238 * USIG_PROCESS_LOADED
239 * This is called after the executable file has been loaded into the
240 * new process context.
242 * USIG_PROCESS_RUNNING
243 * This is called immediately before the main entry point is called.
246 * This is called in the context of a process that is about to
247 * terminate (but before the last thread's USIG_THREAD_EXIT has
250 * USIG_PROCESS_DESTROY
251 * This is called after a process has terminated.
254 * The meaning of the dwFlags bits is as follows:
257 * Current process is 32-bit.
260 * Current process is a (Win32) GUI process.
262 * USIG_FLAGS_FEEDBACK
263 * Current process needs 'feedback' (determined from the STARTUPINFO
264 * flags STARTF_FORCEONFEEDBACK / STARTF_FORCEOFFFEEDBACK).
267 * The signal is being sent due to a fault.
269 WORD WINAPI
UserSignalProc( UINT uCode
, DWORD dwThreadOrProcessID
,
270 DWORD dwFlags
, HMODULE16 hModule
)
272 FIXME_(win
)("(%04x, %08lx, %04lx, %04x)\n",
273 uCode
, dwThreadOrProcessID
, dwFlags
, hModule
);
274 /* FIXME: Should chain to GdiSignalProc now. */
278 /***********************************************************************
279 * ExitWindows (USER.7)
281 BOOL16 WINAPI
ExitWindows16( DWORD dwReturnCode
, UINT16 wReserved
)
283 return ExitWindowsEx( EWX_LOGOFF
, 0xffffffff );
287 /***********************************************************************
288 * ExitWindowsExec (USER.246)
290 BOOL16 WINAPI
ExitWindowsExec16( LPCSTR lpszExe
, LPCSTR lpszParams
)
292 TRACE_(system
)("Should run the following in DOS-mode: \"%s %s\"\n",
293 lpszExe
, lpszParams
);
294 return ExitWindowsEx( EWX_LOGOFF
, 0xffffffff );
298 /***********************************************************************
299 * ExitWindowsEx (USER32.@)
301 BOOL WINAPI
ExitWindowsEx( UINT flags
, DWORD reserved
)
307 /* We have to build a list of all windows first, as in EnumWindows */
309 if (!(list
= WIN_ListChildren( GetDesktopWindow() ))) return FALSE
;
311 /* Send a WM_QUERYENDSESSION message to every window */
313 for (i
= 0; list
[i
]; i
++)
315 /* Make sure that the window still exists */
316 if (!IsWindow( list
[i
] )) continue;
317 if (!SendMessageW( list
[i
], WM_QUERYENDSESSION
, 0, 0 )) break;
321 /* Now notify all windows that got a WM_QUERYENDSESSION of the result */
323 for (phwnd
= list
; i
> 0; i
--, phwnd
++)
325 if (!IsWindow( *phwnd
)) continue;
326 SendMessageW( *phwnd
, WM_ENDSESSION
, result
, 0 );
328 HeapFree( GetProcessHeap(), 0, list
);
330 if (result
) ExitKernel16();
334 /***********************************************************************
335 * ChangeDisplaySettingsA (USER32.@)
337 LONG WINAPI
ChangeDisplaySettingsA( LPDEVMODEA devmode
, DWORD flags
)
339 return ChangeDisplaySettingsExA(NULL
,devmode
,NULL
,flags
,NULL
);
342 /***********************************************************************
343 * ChangeDisplaySettingsW (USER32.@)
345 LONG WINAPI
ChangeDisplaySettingsW( LPDEVMODEW devmode
, DWORD flags
)
347 return ChangeDisplaySettingsExW(NULL
,devmode
,NULL
,flags
,NULL
);
350 /***********************************************************************
351 * ChangeDisplaySettings (USER.620)
353 LONG WINAPI
ChangeDisplaySettings16( LPDEVMODEA devmode
, DWORD flags
)
355 return ChangeDisplaySettingsA(devmode
, flags
);
358 /***********************************************************************
359 * ChangeDisplaySettingsExA (USER32.@)
361 LONG WINAPI
ChangeDisplaySettingsExA(
362 LPCSTR devname
, LPDEVMODEA devmode
, HWND hwnd
, DWORD flags
,
367 UNICODE_STRING nameW
;
369 if (devname
) RtlCreateUnicodeStringFromAsciiz(&nameW
, devname
);
370 else nameW
.Buffer
= NULL
;
374 devmodeW
.dmBitsPerPel
= devmode
->dmBitsPerPel
;
375 devmodeW
.dmPelsHeight
= devmode
->dmPelsHeight
;
376 devmodeW
.dmPelsWidth
= devmode
->dmPelsWidth
;
377 devmodeW
.dmDisplayFlags
= devmode
->dmDisplayFlags
;
378 devmodeW
.dmDisplayFrequency
= devmode
->dmDisplayFrequency
;
379 devmodeW
.dmFields
= devmode
->dmFields
;
380 ret
= ChangeDisplaySettingsExW(nameW
.Buffer
, &devmodeW
, hwnd
, flags
, lparam
);
384 ret
= ChangeDisplaySettingsExW(nameW
.Buffer
, NULL
, hwnd
, flags
, lparam
);
387 if (devname
) RtlFreeUnicodeString(&nameW
);
391 /***********************************************************************
392 * ChangeDisplaySettingsExW (USER32.@)
394 LONG WINAPI
ChangeDisplaySettingsExW( LPCWSTR devname
, LPDEVMODEW devmode
, HWND hwnd
,
395 DWORD flags
, LPVOID lparam
)
397 /* Pass the request on to the driver */
398 if (!USER_Driver
.pChangeDisplaySettingsExW
) return DISP_CHANGE_FAILED
;
399 return USER_Driver
.pChangeDisplaySettingsExW( devname
, devmode
, hwnd
, flags
, lparam
);
402 /***********************************************************************
403 * EnumDisplaySettingsW (USER32.@)
406 * TRUE if nth setting exists found (described in the LPDEVMODEW struct)
407 * FALSE if we do not have the nth setting
409 BOOL WINAPI
EnumDisplaySettingsW(
410 LPCWSTR name
, /* [in] huh? */
411 DWORD n
, /* [in] nth entry in display settings list*/
412 LPDEVMODEW devmode
/* [out] devmode for that setting */
414 return EnumDisplaySettingsExW(name
, n
, devmode
, 0);
417 /***********************************************************************
418 * EnumDisplaySettingsA (USER32.@)
420 BOOL WINAPI
EnumDisplaySettingsA(LPCSTR name
,DWORD n
,LPDEVMODEA devmode
)
422 return EnumDisplaySettingsExA(name
, n
, devmode
, 0);
425 /***********************************************************************
426 * EnumDisplaySettings (USER.621)
428 BOOL16 WINAPI
EnumDisplaySettings16(
429 LPCSTR name
, /* [in] huh? */
430 DWORD n
, /* [in] nth entry in display settings list*/
431 LPDEVMODEA devmode
/* [out] devmode for that setting */
433 return (BOOL16
)EnumDisplaySettingsA(name
, n
, devmode
);
436 /***********************************************************************
437 * EnumDisplaySettingsExA (USER32.@)
439 BOOL WINAPI
EnumDisplaySettingsExA(LPCSTR lpszDeviceName
, DWORD iModeNum
,
440 LPDEVMODEA lpDevMode
, DWORD dwFlags
)
444 UNICODE_STRING nameW
;
446 if (lpszDeviceName
) RtlCreateUnicodeStringFromAsciiz(&nameW
, lpszDeviceName
);
447 else nameW
.Buffer
= NULL
;
449 ret
= EnumDisplaySettingsExW(nameW
.Buffer
,iModeNum
,&devmodeW
,dwFlags
);
452 lpDevMode
->dmBitsPerPel
= devmodeW
.dmBitsPerPel
;
453 lpDevMode
->dmPelsHeight
= devmodeW
.dmPelsHeight
;
454 lpDevMode
->dmPelsWidth
= devmodeW
.dmPelsWidth
;
455 lpDevMode
->dmDisplayFlags
= devmodeW
.dmDisplayFlags
;
456 lpDevMode
->dmDisplayFrequency
= devmodeW
.dmDisplayFrequency
;
457 lpDevMode
->dmFields
= devmodeW
.dmFields
;
459 if (lpszDeviceName
) RtlFreeUnicodeString(&nameW
);
463 /***********************************************************************
464 * EnumDisplaySettingsExW (USER32.@)
466 BOOL WINAPI
EnumDisplaySettingsExW(LPCWSTR lpszDeviceName
, DWORD iModeNum
,
467 LPDEVMODEW lpDevMode
, DWORD dwFlags
)
469 /* Pass the request on to the driver */
470 if (!USER_Driver
.pEnumDisplaySettingsExW
) return FALSE
;
471 return USER_Driver
.pEnumDisplaySettingsExW(lpszDeviceName
, iModeNum
, lpDevMode
, dwFlags
);
474 /***********************************************************************
475 * EnumDisplayDevicesA (USER32.@)
477 BOOL WINAPI
EnumDisplayDevicesA(
478 LPVOID unused
,DWORD i
,LPDISPLAY_DEVICEA lpDisplayDevice
,DWORD dwFlags
482 FIXME_(system
)("(%p,%ld,%p,0x%08lx), stub!\n",unused
,i
,lpDisplayDevice
,dwFlags
);
483 strcpy(lpDisplayDevice
->DeviceName
,"X11");
484 strcpy(lpDisplayDevice
->DeviceString
,"X 11 Windowing System");
485 lpDisplayDevice
->StateFlags
=
486 DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
|
487 DISPLAY_DEVICE_PRIMARY_DEVICE
|
488 DISPLAY_DEVICE_VGA_COMPATIBLE
;
492 /***********************************************************************
493 * EnumDisplayDevicesW (USER32.@)
495 BOOL WINAPI
EnumDisplayDevicesW(
496 LPVOID unused
,DWORD i
,LPDISPLAY_DEVICEW lpDisplayDevice
,DWORD dwFlags
500 FIXME_(system
)("(%p,%ld,%p,0x%08lx), stub!\n",unused
,i
,lpDisplayDevice
,dwFlags
);
501 MultiByteToWideChar( CP_ACP
, 0, "X11", -1, lpDisplayDevice
->DeviceName
,
502 sizeof(lpDisplayDevice
->DeviceName
)/sizeof(WCHAR
) );
503 MultiByteToWideChar( CP_ACP
, 0, "X11 Windowing System", -1, lpDisplayDevice
->DeviceString
,
504 sizeof(lpDisplayDevice
->DeviceString
)/sizeof(WCHAR
) );
505 lpDisplayDevice
->StateFlags
=
506 DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
|
507 DISPLAY_DEVICE_PRIMARY_DEVICE
|
508 DISPLAY_DEVICE_VGA_COMPATIBLE
;
512 /***********************************************************************
513 * SetEventHook (USER.321)
515 * Used by Turbo Debugger for Windows
517 FARPROC16 WINAPI
SetEventHook16(FARPROC16 lpfnEventHook
)
519 FIXME_(hook
)("(lpfnEventHook=%08x): stub\n", (UINT
)lpfnEventHook
);
523 /***********************************************************************
524 * UserSeeUserDo (USER.216)
526 DWORD WINAPI
UserSeeUserDo16(WORD wReqType
, WORD wParam1
, WORD wParam2
, WORD wParam3
)
530 case USUD_LOCALALLOC
:
531 return LOCAL_Alloc(USER_HeapSel
, wParam1
, wParam3
);
533 return LOCAL_Free(USER_HeapSel
, wParam1
);
534 case USUD_LOCALCOMPACT
:
535 return LOCAL_Compact(USER_HeapSel
, wParam3
, 0);
538 case USUD_FIRSTCLASS
:
539 FIXME_(local
)("return a pointer to the first window class.\n");
542 WARN_(local
)("wReqType %04x (unknown)", wReqType
);
547 /***********************************************************************
548 * GetSystemDebugState (USER.231)
550 WORD WINAPI
GetSystemDebugState16(void)
552 return 0; /* FIXME */
555 /***********************************************************************
556 * RegisterLogonProcess (USER32.@)
558 DWORD WINAPI
RegisterLogonProcess(HANDLE hprocess
,BOOL x
) {
559 FIXME_(win32
)("(%p,%d),stub!\n",hprocess
,x
);
563 /***********************************************************************
564 * CreateWindowStationW (USER32.@)
566 HWINSTA WINAPI
CreateWindowStationW(
567 LPWSTR winstation
,DWORD res1
,DWORD desiredaccess
,
568 LPSECURITY_ATTRIBUTES lpsa
570 FIXME_(win32
)("(%s,0x%08lx,0x%08lx,%p),stub!\n",debugstr_w(winstation
),
571 res1
,desiredaccess
,lpsa
573 return (HWINSTA
)0xdeadcafe;
576 /***********************************************************************
577 * SetProcessWindowStation (USER32.@)
579 BOOL WINAPI
SetProcessWindowStation(HWINSTA hWinSta
) {
580 FIXME_(win32
)("(%p),stub!\n",hWinSta
);
584 /***********************************************************************
585 * SetUserObjectSecurity (USER32.@)
587 BOOL WINAPI
SetUserObjectSecurity(
589 PSECURITY_INFORMATION pSIRequested
,
590 PSECURITY_DESCRIPTOR pSID
592 FIXME_(win32
)("(%p,%p,%p),stub!\n",hObj
,pSIRequested
,pSID
);
596 /***********************************************************************
597 * CreateDesktopA (USER32.@)
599 HDESK WINAPI
CreateDesktopA(
600 LPSTR lpszDesktop
,LPSTR lpszDevice
,LPDEVMODEA pDevmode
,
601 DWORD dwFlags
,DWORD dwDesiredAccess
,LPSECURITY_ATTRIBUTES lpsa
603 FIXME_(win32
)("(%s,%s,%p,0x%08lx,0x%08lx,%p),stub!\n",
604 lpszDesktop
,lpszDevice
,pDevmode
,
605 dwFlags
,dwDesiredAccess
,lpsa
607 return (HDESK
)0xcafedead;
610 /***********************************************************************
611 * CreateDesktopW (USER32.@)
613 HDESK WINAPI
CreateDesktopW(
614 LPWSTR lpszDesktop
,LPWSTR lpszDevice
,LPDEVMODEW pDevmode
,
615 DWORD dwFlags
,DWORD dwDesiredAccess
,LPSECURITY_ATTRIBUTES lpsa
617 FIXME_(win32
)("(%s,%s,%p,0x%08lx,0x%08lx,%p),stub!\n",
618 debugstr_w(lpszDesktop
),debugstr_w(lpszDevice
),pDevmode
,
619 dwFlags
,dwDesiredAccess
,lpsa
621 return (HDESK
)0xcafedead;
624 /***********************************************************************
625 * EnumDesktopWindows (USER32.@)
627 BOOL WINAPI
EnumDesktopWindows( HDESK hDesktop
, WNDENUMPROC lpfn
, LPARAM lParam
) {
628 FIXME_(win32
)("(%p, %p, 0x%08lx), stub!\n", hDesktop
, lpfn
, lParam
);
633 /***********************************************************************
634 * CloseWindowStation (USER32.@)
636 BOOL WINAPI
CloseWindowStation(HWINSTA hWinSta
)
638 FIXME_(win32
)("(%p)\n", hWinSta
);
642 /***********************************************************************
643 * CloseDesktop (USER32.@)
645 BOOL WINAPI
CloseDesktop(HDESK hDesk
)
647 FIXME_(win32
)("(%p)\n", hDesk
);
651 /***********************************************************************
652 * SetWindowStationUser (USER32.@)
654 DWORD WINAPI
SetWindowStationUser(DWORD x1
,DWORD x2
) {
655 FIXME_(win32
)("(0x%08lx,0x%08lx),stub!\n",x1
,x2
);
659 /***********************************************************************
660 * SetLogonNotifyWindow (USER32.@)
662 DWORD WINAPI
SetLogonNotifyWindow(HWINSTA hwinsta
,HWND hwnd
) {
663 FIXME_(win32
)("(%p,%p),stub!\n",hwinsta
,hwnd
);
667 /***********************************************************************
668 * LoadLocalFonts (USER32.@)
670 VOID WINAPI
LoadLocalFonts(VOID
) {
674 /***********************************************************************
675 * GetUserObjectInformationA (USER32.@)
677 BOOL WINAPI
GetUserObjectInformationA( HANDLE hObj
, INT nIndex
, LPVOID pvInfo
, DWORD nLength
, LPDWORD lpnLen
)
678 { FIXME_(win32
)("(%p %i %p %ld %p),stub!\n", hObj
, nIndex
, pvInfo
, nLength
, lpnLen
);
681 /***********************************************************************
682 * GetUserObjectInformationW (USER32.@)
684 BOOL WINAPI
GetUserObjectInformationW( HANDLE hObj
, INT nIndex
, LPVOID pvInfo
, DWORD nLength
, LPDWORD lpnLen
)
685 { FIXME_(win32
)("(%p %i %p %ld %p),stub!\n", hObj
, nIndex
, pvInfo
, nLength
, lpnLen
);
688 /***********************************************************************
689 * GetUserObjectSecurity (USER32.@)
691 BOOL WINAPI
GetUserObjectSecurity(HANDLE hObj
, PSECURITY_INFORMATION pSIRequested
,
692 PSECURITY_DESCRIPTOR pSID
, DWORD nLength
, LPDWORD lpnLengthNeeded
)
693 { FIXME_(win32
)("(%p %p %p len=%ld %p),stub!\n", hObj
, pSIRequested
, pSID
, nLength
, lpnLengthNeeded
);
697 /***********************************************************************
698 * SetSystemCursor (USER32.@)
700 BOOL WINAPI
SetSystemCursor(HCURSOR hcur
, DWORD id
)
701 { FIXME_(win32
)("(%p,%08lx),stub!\n", hcur
, id
);
705 /***********************************************************************
706 * RegisterSystemThread (USER32.@)
708 void WINAPI
RegisterSystemThread(DWORD flags
, DWORD reserved
)
710 FIXME_(win32
)("(%08lx, %08lx)\n", flags
, reserved
);
713 /***********************************************************************
714 * RegisterDeviceNotificationA (USER32.@)
716 HDEVNOTIFY WINAPI
RegisterDeviceNotificationA(
717 HANDLE hnd
, LPVOID notifyfilter
, DWORD flags
719 FIXME_(win32
)("(hwnd=%p, filter=%p,flags=0x%08lx), STUB!\n", hnd
,notifyfilter
,flags
);