Index: trunk/src/user32/USER32.DEF
===================================================================
--- trunk/src/user32/USER32.DEF	(revision 171)
+++ trunk/src/user32/USER32.DEF	(revision 173)
@@ -1,3 +1,3 @@
-; $Id: USER32.DEF,v 1.6 1999-06-23 22:39:01 phaller Exp $
+; $Id: USER32.DEF,v 1.7 1999-06-24 08:25:21 phaller Exp $
 
 ;Created by BLAST for IBM's compiler
@@ -283,4 +283,5 @@
     GetPriorityClipboardFormat  = _GetPriorityClipboardFormat@8 @276
     GetProcessWindowStation    = _GetProcessWindowStation@0  @277
+    GetProgmanWindow           = _GetProgmanWindow@0                 ;@289
     GetPropA                   = _GetPropA@8                 @278
     GetPropW                   = _GetPropW@8                 @279
@@ -297,4 +298,5 @@
     GetTabbedTextExtentA       = _GetTabbedTextExtentA@20    @290
     GetTabbedTextExtentW       = _GetTabbedTextExtentW@20    @291
+    GetTaskmanWindow           = _GetTaskmanWindow@0                  ;@304
     GetThreadDesktop           = _GetThreadDesktop@4         @292
     GetTopWindow               = _GetTopWindow@4             @293
@@ -497,4 +499,5 @@
     SetParent                  = _SetParent@8                @489
     SetProcessWindowStation    = _SetProcessWindowStation@4  @490
+    SetProgmanWindow           = _SetProgmanWindow@4                 ;@522 ?
     SetPropA                   = _SetPropA@12                @491
     SetPropW                   = _SetPropW@12                @492
@@ -505,7 +508,9 @@
     SetScrollRange             = _SetScrollRange@20          @497
     SetShellWindow             = _SetShellWindow@4           @498
+    SetShellWindowEx           = _SetShellWindowEx@8                 ;@531 ?
     SetSysColors               = _SetSysColors@12            @499
     SetSysColorsTemp           = _SetSysColorsTemp@0         @500
     SetSystemCursor            = _SetSystemCursor@8          @501
+    SetTaskmanWindow           = _SetTaskmanWindow@4                 ;@537
     SetThreadDesktop           = _SetThreadDesktop@4         @502
     SetTimer                   = _SetTimer@16                @503
Index: trunk/src/user32/unknown.cpp
===================================================================
--- trunk/src/user32/unknown.cpp	(revision 171)
+++ trunk/src/user32/unknown.cpp	(revision 173)
@@ -1,3 +1,3 @@
-/* $Id: unknown.cpp,v 1.1 1999-06-23 22:39:01 phaller Exp $ */
+/* $Id: unknown.cpp,v 1.2 1999-06-24 08:25:22 phaller Exp $ */
 
 /*
@@ -20,4 +20,12 @@
  * Structures                                                                *
  *****************************************************************************/
+
+static struct _Locals
+{
+  HWND hGlobalProgmanWindow;
+  HWND hGlobalShellWindow;
+  HWND hGlobalTaskmanWindow;
+} Locals;
+
 
 /*****************************************************************************
@@ -47,2 +55,123 @@
   return(FALSE);
 }
+
+
+/*****************************************************************************
+ * Name      : SetProgmanWindow
+ * Purpose   : UNKNOWN
+ * Parameters:
+ * Variables :
+ * Result    :
+ * Remark    : USER32.522
+ * Status    : UNTESTED UNKNOWN
+ *
+ * Author    : Patrick Haller [Tue, 1999/06/01 09:00]
+ *****************************************************************************/
+
+HRESULT WIN32API SetProgmanWindow ( HWND hwnd )
+{
+  dprintf(("USER32: SetProgmanWindow(%08xh) not implemented.\n",
+           hwnd));
+
+   Locals.hGlobalProgmanWindow = hwnd;
+   return Locals.hGlobalProgmanWindow;
+}
+
+
+/*****************************************************************************
+ * Name      : GetProgmanWindow
+ * Purpose   : UNKNOWN
+ * Parameters:
+ * Variables :
+ * Result    :
+ * Remark    : USER32.289
+ * Status    : UNTESTED UNKNOWN
+ *
+ * Author    : Patrick Haller [Tue, 1999/06/01 09:00]
+ *****************************************************************************/
+
+HRESULT WIN32API GetProgmanWindow ( )
+{
+  dprintf(("USER32: GetProgmanWindow not implemented.\n"));
+
+  return Locals.hGlobalProgmanWindow;
+}
+
+
+/*****************************************************************************
+ * Name      : SetShellWindowEx
+ * Purpose   : UNKNOWN
+ * Parameters:
+ * Variables :
+ * Result    :
+ * Remark    : USER32.531
+ * Status    : UNTESTED UNKNOWN
+ *
+ * Author    : Patrick Haller [Tue, 1999/06/01 09:00]
+ *
+ * hwndProgman =  Progman[Program Manager]
+ *                |-> SHELLDLL_DefView
+ * hwndListView = |   |-> SysListView32
+ *                |   |   |-> tooltips_class32
+ *                |   |
+ *                |   |-> SysHeader32
+ *                |
+ *                |-> ProxyTarget
+ */
+
+HRESULT WIN32API SetShellWindowEx (HWND hwndProgman,
+                                   HWND hwndListView)
+{
+  dprintf(("USER32: SetShellWindowEx(%08xh,%08xh) not implemented.\n",
+           hwndProgman,
+           hwndListView));
+
+  Locals.hGlobalShellWindow = hwndProgman;
+  return Locals.hGlobalShellWindow;
+}
+
+
+/*****************************************************************************
+ * Name      : SetTaskmanWindow
+ * Purpose   : UNKNOWN
+ * Parameters:
+ * Variables :
+ * Result    :
+ * Remark    : USER32.537
+ * Status    : UNTESTED UNKNOWN
+ *
+ * Author    : Patrick Haller [Tue, 1999/06/01 09:00]
+ *
+ * NOTES
+ *   hwnd = MSTaskSwWClass
+ *          |-> SysTabControl32
+ */
+
+HRESULT WIN32API SetTaskmanWindow ( HWND hwnd )
+{
+  dprintf(("USER32: SetTaskmanWindow(%08xh) not implemented.\n",
+           hwnd));
+
+  Locals.hGlobalTaskmanWindow = hwnd;
+  return Locals.hGlobalTaskmanWindow;
+}
+
+/*****************************************************************************
+ * Name      : GetTaskmanWindow
+ * Purpose   : UNKNOWN
+ * Parameters:
+ * Variables :
+ * Result    :
+ * Remark    : USER32.304
+ * Status    : UNTESTED UNKNOWN
+ *
+ * Author    : Patrick Haller [Tue, 1999/06/01 09:00]
+ *****************************************************************************/
+
+HRESULT WIN32API GetTaskmanWindow ( )
+{
+  dprintf(("USER32: GetTaskmanWindow() not implemented.\n"));
+
+  return Locals.hGlobalTaskmanWindow;
+}
+
