Make NtUserSetClipboardViewer return something that applications can deal with. This makes the vncviewer qusi-work.
Modified: trunk/reactos/subsys/win32k/ntuser/clipboard.c
--- trunk/reactos/subsys/win32k/ntuser/clipboard.c 2005-01-05 03:47:55 UTC (rev 12816) +++ trunk/reactos/subsys/win32k/ntuser/clipboard.c 2005-01-05 04:16:23 UTC (rev 12817) @@ -308,8 +308,9 @@
HWND STDCALL NtUserSetClipboardViewer(HWND hWndNewViewer) {
- UNIMPLEMENTED
- return 0;
+ HWND hwndPrev = 0;
+ DbgPrint("NtUserSetClipboardViewer is UNIMPLEMENTED (%p): returning %p\n", hWndNewViewer, hwndPrev);
+ return hwndPrev;
} /* EOF */