Index: trunk/include/helpers/cnrh.h
===================================================================
--- trunk/include/helpers/cnrh.h	(revision 45)
+++ trunk/include/helpers/cnrh.h	(revision 46)
@@ -390,4 +390,11 @@
      *      --  CV_DETAIL: details view without column headers
      *      --  CV_DETAIL | CA_DETAILSVIEWTITLES: details view _with_ column headers
+     *
+     *      <B>Mini icons:</B>
+     *
+     *      This is especially sick. The CV_MINI style in CNRINFO is only
+     *      supported for "pure" icon view. For details and tree views,
+     *      you must instead set the (half-documented) CCS_MINICONS style
+     *      as a _window_ style on the container. Whoever came up with this.
      *
      *      <B>Target emphasis:</B>
@@ -416,6 +423,4 @@
      *                          CA_TITLERIGHT).
      *
-     *      Note that CV_MINI is only supported for "pure" icon view.
-     *
      *@@added V0.9.0
      */
Index: trunk/include/helpers/dosh.h
===================================================================
--- trunk/include/helpers/dosh.h	(revision 45)
+++ trunk/include/helpers/dosh.h	(revision 46)
@@ -442,5 +442,5 @@
      *      linear executable (LX) header format,
      *      which comes after the DOS header in the
-     *      EXE file (at DOSEXEHEADER.usNewHeaderOfs).
+     *      EXE file (at DOSEXEHEADER.ulNewHeaderOfs).
      */
 
@@ -483,5 +483,5 @@
      *      linear executable (LX) header format,
      *      which comes after the DOS header in the
-     *      EXE file (at DOSEXEHEADER.usNewHeaderOfs).
+     *      EXE file (at DOSEXEHEADER.ulNewHeaderOfs).
      */
 
@@ -542,4 +542,54 @@
     #pragma pack()
 
+    /*
+     *@@ FSYSMODULE:
+     *
+     *@@added V0.9.9 (2001-03-11) [lafaix]
+     */
+
+    typedef struct _FSYSMODULE
+    {
+        CHAR achModuleName[128];
+    } FSYSMODULE, *PFSYSMODULE;
+
+    /*
+     *@@ FSYSFUNCTION:
+     *
+     *@@added V0.9.9 (2001-03-11) [lafaix]
+     */
+
+    typedef struct _FSYSFUNCTION
+    {
+        ULONG ulOrdinal;
+        ULONG ulType;
+        CHAR achFunctionName[128];
+    } FSYSFUNCTION, *PFSYSFUNCTION;
+
+    /*
+     *@@ FSYSRESOURCE:
+     *
+     *@@added V0.9.7 (2000-12-18) [lafaix]
+     */
+
+    typedef struct _FSYSRESOURCE
+    {
+        ULONG ulID;                     // resource ID
+        ULONG ulType;                   // resource type
+        ULONG ulSize;                   // resource size in bytes
+        ULONG ulFlag;                   // resource flags
+    } FSYSRESOURCE, *PFSYSRESOURCE;
+
+    // object/segment flags (in NE and LX)
+    #define OBJWRITE         0x0002L    // Writeable Object
+    #define OBJDISCARD       0x0010L    // Object is Discardable
+    #define OBJSHARED        0x0020L    // Object is Shared
+    #define OBJPRELOAD       0x0040L    // Object has preload pages
+
+    // resource flags
+    #define RNMOVE           0x0010     // Moveable resource
+    #define RNPURE           0x0020     // Pure (read-only) resource
+    #define RNPRELOAD        0x0040     // Preloaded resource
+    #define RNDISCARD        0xF000     // Discard priority level for resource
+
     // EXE format
     #define EXEFORMAT_OLDDOS        1
@@ -622,4 +672,19 @@
 
     APIRET doshExecQueryBldLevel(PEXECUTABLE pExec);
+
+    PFSYSRESOURCE doshExecQueryResources(PEXECUTABLE pExec,
+                                         PULONG pcResources);
+
+    APIRET doshExecFreeResources(PFSYSRESOURCE paResources);
+
+    PFSYSMODULE doshExecQueryImportedModules(PEXECUTABLE pExec,
+                                             PULONG pcModules);
+
+    APIRET doshExecFreeImportedModules(PFSYSMODULE paModules);
+
+    PFSYSFUNCTION doshExecQueryExportedFunctions(PEXECUTABLE pExec,
+                                                 PULONG pcFunctions);
+
+    APIRET doshExecFreeExportedFunctions(PFSYSFUNCTION paFunctions);
 
     /********************************************************************
Index: trunk/include/helpers/winh.h
===================================================================
--- trunk/include/helpers/winh.h	(revision 45)
+++ trunk/include/helpers/winh.h	(revision 46)
@@ -637,5 +637,5 @@
     typedef WINHFREE *PWINHFREE;
 
-    VOID XWPENTRY winhSleep(HAB hab, ULONG ulSleep);
+    VOID XWPENTRY winhSleep(ULONG ulSleep);
 
     #define WINH_FOD_SAVEDLG        0x0001
