home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / H / WPMWV.XH < prev    next >
Text File  |  1995-08-30  |  120KB  |  4,307 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: wpmwv.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.2
  7.  *     SOM Emitter emitxh: 2.41
  8.  */
  9.  
  10. #ifndef SOM_WPMinWinViewer_xh
  11. #define SOM_WPMinWinViewer_xh
  12.  
  13. class WPMinWinViewer;
  14.  
  15. #define WPMinWinViewer_MajorVersion 1
  16. #define WPMinWinViewer_MinorVersion 2
  17.  
  18. /* C++ SOM defs */
  19. #include <somcls.xh>
  20. #include <somcm.xh>
  21.  
  22. /* C++ parent defs */
  23. #ifndef SOM_WPFolder_xh
  24. #include <wpfolder.xh>
  25. #endif
  26.  
  27. #ifndef WPMinWinViewer_API
  28. #define WPMinWinViewer_API
  29. /*
  30.  * -- The Class API
  31.  */
  32.  
  33. /*
  34.  * Start of user-defined types:
  35.  */
  36. class SOMClass;
  37. class SOMObject;
  38. class WPFolder;
  39. class M_WPObject;
  40. class WPObject;
  41. class M_WPFileSystem;
  42. class M_WPFolder;
  43. class M_WPMinWinViewer;
  44.  
  45. /*
  46.  * End of user-defined types.
  47.  */
  48.  
  49. /*
  50.  * Passthru lines: File: "C.xh", "after"
  51.  */
  52.  
  53.  
  54.  
  55. /* A procedure to create the WPMinWinViewer Class */
  56. class M_WPMinWinViewer;
  57. SOMEXTERN M_WPMinWinViewer * SOMLINK WPMinWinViewerNewClass(
  58.         integer4 majorVersion,
  59.         integer4 minorVersion);
  60.  
  61. /* The API to the WPMinWinViewer class object, and the methods it introduces. */
  62. SOMEXTERN struct WPMinWinViewerClassDataStructure {
  63.     M_WPMinWinViewer *classObject;
  64.     somMToken wpFindMinWindow;
  65. } SOMDLINK WPMinWinViewerClassData;
  66. #define _WPMinWinViewer WPMinWinViewerClassData.classObject
  67.  
  68. /* The API to parentMtabs for WPMinWinViewer, and the instance data it introduces. */
  69. SOMEXTERN struct WPMinWinViewerCClassDataStructure {
  70.     somMethodTabs parentMtab;
  71.     somDToken              instanceDataToken;
  72. } SOMDLINK WPMinWinViewerCClassData;
  73.  
  74. /*
  75.  * -- Typedefs for WPMinWinViewer Method Procedures
  76.  */
  77. SOMEXTERN {
  78. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpFindMinWindow)(WPMinWinViewer *somSelf,
  79.         HWND hwndFrame);
  80.  
  81. /*
  82.  * -- Typedefs for Reintroduced Wrapper Methods
  83.  */
  84. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetFldrFlags)(WPMinWinViewer *somSelf,
  85.         ULONG ulFlags);
  86. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryFldrFlags)(WPMinWinViewer *somSelf);
  87. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetFldrFont)(WPMinWinViewer *somSelf,
  88.         PSZ pszFont,
  89.         ULONG ulView);
  90. typedef PSZ   (SOMLINK * somTD_WPMinWinViewer_wpQueryFldrFont)(WPMinWinViewer *somSelf,
  91.         ULONG ulView);
  92. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetFldrAttr)(WPMinWinViewer *somSelf,
  93.         ULONG Attr,
  94.         ULONG ulView);
  95. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryFldrAttr)(WPMinWinViewer *somSelf,
  96.         ULONG ulView);
  97. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetNextIconPos)(WPMinWinViewer *somSelf,
  98.         PPOINTL pptl);
  99. typedef PPOINTL   (SOMLINK * somTD_WPMinWinViewer_wpQueryNextIconPos)(WPMinWinViewer *somSelf);
  100. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpPopulate)(WPMinWinViewer *somSelf,
  101.         ULONG ulReserved,
  102.         PSZ pszPath,
  103.         BOOL fFoldersOnly);
  104. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpQueryContent)(WPMinWinViewer *somSelf,
  105.         WPObject* Object,
  106.         ULONG ulOption);
  107. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFolderView1Page)(WPMinWinViewer *somSelf,
  108.         HWND hwndNotebook);
  109. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFolderView2Page)(WPMinWinViewer *somSelf,
  110.         HWND hwndNotebook);
  111. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFolderView3Page)(WPMinWinViewer *somSelf,
  112.         HWND hwndNotebook);
  113. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFolderIncludePage)(WPMinWinViewer *somSelf,
  114.         HWND hwndNotebook);
  115. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFolderSortPage)(WPMinWinViewer *somSelf,
  116.         HWND hwndNotebook);
  117. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFolderBackgroundPage)(WPMinWinViewer *somSelf,
  118.         HWND hwndNotebook);
  119. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFolderSelfClosePage)(WPMinWinViewer *somSelf,
  120.         HWND hwndNotebook);
  121. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpInitIconPosData)(WPMinWinViewer *somSelf);
  122. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpFreeIconPosData)(WPMinWinViewer *somSelf);
  123. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpStoreIconPosData)(WPMinWinViewer *somSelf,
  124.         PICONPOS pIconPos,
  125.         ULONG cbSize);
  126. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpQueryIconPosition)(WPMinWinViewer *somSelf,
  127.         PSZ pszIdentity,
  128.         PPOINTL pptl,
  129.         PULONG pIndex);
  130. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetFldrSort)(WPMinWinViewer *somSelf,
  131.         PVOID pSortRecord,
  132.         ULONG ulView,
  133.         ULONG ulType);
  134. typedef PVOID   (SOMLINK * somTD_WPMinWinViewer_wpQueryFldrSort)(WPMinWinViewer *somSelf,
  135.         ULONG ulView,
  136.         ULONG ulType);
  137. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRestoreFldrRunObjs)(WPMinWinViewer *somSelf);
  138. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpStoreFldrRunObjs)(WPMinWinViewer *somSelf,
  139.         ULONG ulType);
  140. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpHideFldrRunObjs)(WPMinWinViewer *somSelf,
  141.         BOOL fHide);
  142. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpDeleteContents)(WPMinWinViewer *somSelf,
  143.         ULONG fConfirmations);
  144. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetFldrDetailsClass)(WPMinWinViewer *somSelf,
  145.         M_WPObject* Class);
  146. typedef M_WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpQueryFldrDetailsClass)(WPMinWinViewer *somSelf);
  147. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSearchFolder)(WPMinWinViewer *somSelf,
  148.         PSZ pszName,
  149.         ULONG ulSearchType,
  150.         ULONG ulLen,
  151.         PSEARCH_INFO pInfo,
  152.         WPFolder* ResultFolder);
  153. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpContainsFolders)(WPMinWinViewer *somSelf,
  154.         BOOL* pfSubFolders);
  155. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpQueryOpenFolders)(WPMinWinViewer *somSelf,
  156.         ULONG ulOption);
  157. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpModifyFldrFlags)(WPMinWinViewer *somSelf,
  158.         ULONG ulFlags,
  159.         ULONG ulFlagMask);
  160. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpAddToContent)(WPMinWinViewer *somSelf,
  161.         WPObject* Object);
  162. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpDeleteFromContent)(WPMinWinViewer *somSelf,
  163.         WPObject* Object);
  164. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetDetailsColumnVisibility)(WPMinWinViewer *somSelf,
  165.         ULONG index,
  166.         BOOL Visible);
  167. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpIsDetailsColumnVisible)(WPMinWinViewer *somSelf,
  168.         ULONG index);
  169. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetFldrSortClass)(WPMinWinViewer *somSelf,
  170.         M_WPObject* Class);
  171. typedef M_WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpQueryFldrSortClass)(WPMinWinViewer *somSelf);
  172. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetSortAttribAvailable)(WPMinWinViewer *somSelf,
  173.         ULONG index,
  174.         BOOL Available);
  175. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpIsSortAttribAvailable)(WPMinWinViewer *somSelf,
  176.         ULONG index);
  177. typedef char*   (SOMLINK * somTD_WPMinWinViewer_wpQueryIconViewPos)(WPMinWinViewer *somSelf);
  178. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpAddFirstChild)(WPMinWinViewer *somSelf);
  179. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpInitData)(WPMinWinViewer *somSelf);
  180. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpUnInitData)(WPMinWinViewer *somSelf);
  181. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpFree)(WPMinWinViewer *somSelf);
  182. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpDelete)(WPMinWinViewer *somSelf,
  183.         ULONG fConfirmations);
  184. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpConfirmDelete)(WPMinWinViewer *somSelf,
  185.         ULONG fConfirmations);
  186. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSaveState)(WPMinWinViewer *somSelf);
  187. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRestoreState)(WPMinWinViewer *somSelf,
  188.         ULONG ulReserved);
  189. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpMenuItemSelected)(WPMinWinViewer *somSelf,
  190.         HWND hwndFrame,
  191.         ULONG ulMenuId);
  192. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpModifyPopupMenu)(WPMinWinViewer *somSelf,
  193.         HWND hwndMenu,
  194.         HWND hwndCnr,
  195.         ULONG iPosition);
  196. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpAddSettingsPages)(WPMinWinViewer *somSelf,
  197.         HWND hwndNotebook);
  198. typedef HWND   (SOMLINK * somTD_WPMinWinViewer_wpOpen)(WPMinWinViewer *somSelf,
  199.         HWND hwndCnr,
  200.         ULONG ulView,
  201.         ULONG param);
  202. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetup)(WPMinWinViewer *somSelf,
  203.         PSZ pszSetupString);
  204. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpMoveObject)(WPMinWinViewer *somSelf,
  205.         WPFolder* Folder);
  206. typedef MRESULT   (SOMLINK * somTD_WPMinWinViewer_wpDrop)(WPMinWinViewer *somSelf,
  207.         HWND hwndCnr,
  208.         PDRAGINFO pdrgInfo,
  209.         PDRAGITEM pdrgItem);
  210. typedef MRESULT   (SOMLINK * somTD_WPMinWinViewer_wpDragOver)(WPMinWinViewer *somSelf,
  211.         HWND hwndCnr,
  212.         PDRAGINFO pdrgInfo);
  213. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpMenuItemHelpSelected)(WPMinWinViewer *somSelf,
  214.         ULONG MenuId);
  215. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFile3Page)(WPMinWinViewer *somSelf,
  216.         HWND hwndNotebook);
  217. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFile2Page)(WPMinWinViewer *somSelf,
  218.         HWND hwndNotebook);
  219. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpFormatDragItem)(WPMinWinViewer *somSelf,
  220.         PDRAGITEM pdrgItem);
  221. typedef MRESULT   (SOMLINK * somTD_WPMinWinViewer_wpRender)(WPMinWinViewer *somSelf,
  222.         PDRAGTRANSFER pdxfer);
  223. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRefresh)(WPMinWinViewer *somSelf,
  224.         ULONG ulView,
  225.         PVOID pReserved);
  226. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpFilterPopupMenu)(WPMinWinViewer *somSelf,
  227.         ULONG ulFlags,
  228.         HWND hwndCnr,
  229.         BOOL fMultiSelect);
  230. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryDefaultView)(WPMinWinViewer *somSelf);
  231. typedef MRESULT   (SOMLINK * somTD_WPMinWinViewer_wpRenderComplete)(WPMinWinViewer *somSelf,
  232.         PDRAGTRANSFER pdxfer,
  233.         ULONG ulResult);
  234. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpQueryDefaultHelp)(WPMinWinViewer *somSelf,
  235.         PULONG pHelpPanelId,
  236.         PSZ HelpLibrary);
  237. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpObjectReady)(WPMinWinViewer *somSelf,
  238.         ULONG ulCode,
  239.         WPObject* refObject);
  240. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddObjectWindowPage)(WPMinWinViewer *somSelf,
  241.         HWND hwndNotebook);
  242. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDefaultInit)(WPMinWinViewer *somSelf,
  243.         somInitCtrl* ctrl);
  244. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDestruct)(WPMinWinViewer *somSelf,
  245.         octet doFree,
  246.         somDestructCtrl* ctrl);
  247. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetIconData)(WPMinWinViewer *somSelf,
  248.         PICONINFO pIconInfo);
  249. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetRealName)(WPMinWinViewer *somSelf,
  250.         PSZ pszName);
  251. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetType)(WPMinWinViewer *somSelf,
  252.         PSZ pszTypes,
  253.         PFEA2LIST pfeal);
  254. typedef PSZ   (SOMLINK * somTD_WPMinWinViewer_wpQueryType)(WPMinWinViewer *somSelf);
  255. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetAttr)(WPMinWinViewer *somSelf,
  256.         ULONG attrFile);
  257. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryAttr)(WPMinWinViewer *somSelf);
  258. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFile1Page)(WPMinWinViewer *somSelf,
  259.         HWND hwndNotebook);
  260. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddFileMenuPage)(WPMinWinViewer *somSelf,
  261.         HWND hwndNotebook);
  262. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryCreation)(WPMinWinViewer *somSelf,
  263.         FDATE* fdate,
  264.         FTIME* ftime);
  265. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryLastAccess)(WPMinWinViewer *somSelf,
  266.         FDATE* fdate,
  267.         FTIME* ftime);
  268. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryLastWrite)(WPMinWinViewer *somSelf,
  269.         FDATE* fdate,
  270.         FTIME* ftime);
  271. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryFileSize)(WPMinWinViewer *somSelf);
  272. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryEASize)(WPMinWinViewer *somSelf);
  273. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpSetDateInfo)(WPMinWinViewer *somSelf,
  274.         FILEFINDBUF4* pstFileFindBuf);
  275. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpSetFileSizeInfo)(WPMinWinViewer *somSelf,
  276.         ULONG cbFileSize,
  277.         ULONG cbEASize);
  278. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryRefreshFlags)(WPMinWinViewer *somSelf);
  279. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetRefreshFlags)(WPMinWinViewer *somSelf,
  280.         ULONG ulRefreshFlags);
  281. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpPrintPlainTextFile)(WPMinWinViewer *somSelf,
  282.         PPRINTDEST pPrintDest);
  283. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetTitleAndRenameFile)(WPMinWinViewer *somSelf,
  284.         PSZ pszNewTitle,
  285.         ULONG fConfirmations);
  286. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpConfirmRenameFileWithExt)(WPMinWinViewer *somSelf);
  287. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpVerifyUpdateAccess)(WPMinWinViewer *somSelf);
  288. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpAddUserItemsToPopupMenu)(WPMinWinViewer *somSelf,
  289.         HWND hwndMenu,
  290.         HWND hwndCnr,
  291.         ULONG iPosition);
  292. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpIsDiskSwapped)(WPMinWinViewer *somSelf);
  293. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpQueryRealName)(WPMinWinViewer *somSelf,
  294.         PSZ pszFilename,
  295.         PULONG pcb,
  296.         BOOL fQualified);
  297. typedef PSZ   (SOMLINK * somTD_WPMinWinViewer_wpQueryFilename)(WPMinWinViewer *somSelf,
  298.         PSZ pszFilename,
  299.         BOOL fQualified);
  300. typedef WPFileSystem*   (SOMLINK * somTD_WPMinWinViewer_wpQueryDisk)(WPMinWinViewer *somSelf);
  301. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryDateInfo)(WPMinWinViewer *somSelf,
  302.         FILEFINDBUF4* pstFileFindBuf);
  303. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpConfirmKeepAssoc)(WPMinWinViewer *somSelf);
  304. typedef HOBJECT   (SOMLINK * somTD_WPMinWinViewer_wpQueryHandle)(WPMinWinViewer *somSelf);
  305. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSaveImmediate)(WPMinWinViewer *somSelf);
  306. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetTitle)(WPMinWinViewer *somSelf,
  307.         PSZ pszNewTitle);
  308. typedef HWND   (SOMLINK * somTD_WPMinWinViewer_wpViewObject)(WPMinWinViewer *somSelf,
  309.         HWND hwndCnr,
  310.         ULONG ulView,
  311.         ULONG param);
  312. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSwitchTo)(WPMinWinViewer *somSelf,
  313.         ULONG View);
  314. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpCopyObject)(WPMinWinViewer *somSelf,
  315.         WPFolder* Folder,
  316.         BOOL fLock);
  317. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpCreateFromTemplate)(WPMinWinViewer *somSelf,
  318.         WPFolder* folder,
  319.         BOOL fLock);
  320. typedef HPOINTER   (SOMLINK * somTD_WPMinWinViewer_wpQueryIcon)(WPMinWinViewer *somSelf);
  321. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryIconData)(WPMinWinViewer *somSelf,
  322.         PICONINFO pIconInfo);
  323. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryDetailsData)(WPMinWinViewer *somSelf,
  324.         PVOID* ppDetailsData,
  325.         PULONG pcp);
  326. typedef MRESULT   (SOMLINK * somTD_WPMinWinViewer_wpDraggedOverObject)(WPMinWinViewer *somSelf,
  327.         WPObject* DraggedOverObject);
  328. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpDroppedOnObject)(WPMinWinViewer *somSelf,
  329.         WPObject* DroppedOnObject);
  330. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryNameClashOptions)(WPMinWinViewer *somSelf,
  331.         ULONG menuID);
  332. typedef BOOL32   (SOMLINK * somTD_WPMinWinViewer_wpAppendObject)(WPMinWinViewer *somSelf,
  333.         WPObject* targetObject,
  334.         BOOL32 fMove);
  335. typedef BOOL32   (SOMLINK * somTD_WPMinWinViewer_wpReplaceObject)(WPMinWinViewer *somSelf,
  336.         WPObject* targetObject,
  337.         BOOL32 fMove);
  338. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryStyle)(WPMinWinViewer *somSelf);
  339. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetStyle)(WPMinWinViewer *somSelf,
  340.         ULONG ulNewStyle);
  341. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpDoesObjectMatch)(WPMinWinViewer *somSelf,
  342.         PVOID pvoidExtendedCriteria);
  343. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddObjectGeneralPage)(WPMinWinViewer *somSelf,
  344.         HWND hwndNotebook);
  345. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpAddObjectGeneralPage2)(WPMinWinViewer *somSelf,
  346.         HWND hwndNotebook);
  347. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpAddToObjUseList)(WPMinWinViewer *somSelf,
  348.         PUSEITEM pUseItem);
  349. typedef PBYTE   (SOMLINK * somTD_WPMinWinViewer_wpAllocMem)(WPMinWinViewer *somSelf,
  350.         ULONG cbBytes,
  351.         PULONG prc);
  352. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpAssertObjectMutexSem)(WPMinWinViewer *somSelf);
  353. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpClose)(WPMinWinViewer *somSelf);
  354. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPMinWinViewer_wpCnrInsertObject)(WPMinWinViewer *somSelf,
  355.         HWND hwndCnr,
  356.         PPOINTL pptlIcon,
  357.         PMINIRECORDCORE preccParent,
  358.         PRECORDINSERT pRecInsert);
  359. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpCnrRemoveObject)(WPMinWinViewer *somSelf,
  360.         HWND hwndCnr);
  361. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpCnrSetEmphasis)(WPMinWinViewer *somSelf,
  362.         ULONG ulEmphasisAttr,
  363.         BOOL fTurnOn);
  364. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpConfirmObjectTitle)(WPMinWinViewer *somSelf,
  365.         WPFolder* Folder,
  366.         WPObject** ppDuplicate,
  367.         PSZ pszTitle,
  368.         ULONG cbTitle,
  369.         ULONG menuID);
  370. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpCopiedFromTemplate)(WPMinWinViewer *somSelf);
  371. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpCreateAnother)(WPMinWinViewer *somSelf,
  372.         PSZ pszTitle,
  373.         PSZ pszSetupEnv,
  374.         WPFolder* Folder);
  375. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpCreateShadowObject)(WPMinWinViewer *somSelf,
  376.         WPFolder* Folder,
  377.         BOOL fLock);
  378. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpDeleteFromObjUseList)(WPMinWinViewer *somSelf,
  379.         PUSEITEM pUseItem);
  380. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpDisplayHelp)(WPMinWinViewer *somSelf,
  381.         ULONG HelpPanelId,
  382.         PSZ HelpLibrary);
  383. typedef HWND   (SOMLINK * somTD_WPMinWinViewer_wpDisplayMenu)(WPMinWinViewer *somSelf,
  384.         HWND hwndOwner,
  385.         HWND hwndClient,
  386.         POINTL* ptlPopupPt,
  387.         ULONG ulMenuType,
  388.         ULONG ulReserved);
  389. typedef MRESULT   (SOMLINK * somTD_WPMinWinViewer_wpEndConversation)(WPMinWinViewer *somSelf,
  390.         ULONG ulItemID,
  391.         ULONG flResult);
  392. typedef PUSEITEM   (SOMLINK * somTD_WPMinWinViewer_wpFindUseItem)(WPMinWinViewer *somSelf,
  393.         ULONG type,
  394.         PUSEITEM pCurrentItem);
  395. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpFreeMem)(WPMinWinViewer *somSelf,
  396.         PBYTE pByte);
  397. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpHide)(WPMinWinViewer *somSelf);
  398. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpInsertPopupMenuItems)(WPMinWinViewer *somSelf,
  399.         HWND hwndMenu,
  400.         ULONG iPosition,
  401.         HMODULE hmod,
  402.         ULONG MenuID,
  403.         ULONG SubMenuID);
  404. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpInsertSettingsPage)(WPMinWinViewer *somSelf,
  405.         HWND hwndNotebook,
  406.         PPAGEINFO ppageinfo);
  407. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpPrintObject)(WPMinWinViewer *somSelf,
  408.         PPRINTDEST pPrintDest,
  409.         ULONG ulReserved);
  410. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryConcurrentView)(WPMinWinViewer *somSelf);
  411. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryButtonAppearance)(WPMinWinViewer *somSelf);
  412. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryConfirmations)(WPMinWinViewer *somSelf);
  413. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryError)(WPMinWinViewer *somSelf);
  414. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetFolder)(WPMinWinViewer *somSelf,
  415.         WPObject* container);
  416. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpQueryFolder)(WPMinWinViewer *somSelf);
  417. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryMinWindow)(WPMinWinViewer *somSelf);
  418. typedef BOOL32   (SOMLINK * somTD_WPMinWinViewer_wpSetTaskRec)(WPMinWinViewer *somSelf,
  419.         PTASKREC pNew,
  420.         PTASKREC pOld);
  421. typedef PTASKREC   (SOMLINK * somTD_WPMinWinViewer_wpFindTaskRec)(WPMinWinViewer *somSelf);
  422. typedef PSZ   (SOMLINK * somTD_WPMinWinViewer_wpQueryTitle)(WPMinWinViewer *somSelf);
  423. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRegisterView)(WPMinWinViewer *somSelf,
  424.         HWND hwndFrame,
  425.         PSZ pszViewTitle);
  426. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpReleaseObjectMutexSem)(WPMinWinViewer *somSelf);
  427. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpRequestObjectMutexSem)(WPMinWinViewer *somSelf,
  428.         ULONG ulTimeout);
  429. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRestore)(WPMinWinViewer *somSelf);
  430. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRestoreData)(WPMinWinViewer *somSelf,
  431.         PSZ pszClass,
  432.         ULONG ulKey,
  433.         PBYTE pValue,
  434.         PULONG pcbValue);
  435. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRestoreLong)(WPMinWinViewer *somSelf,
  436.         PSZ pszClass,
  437.         ULONG ulKey,
  438.         PULONG pulValue);
  439. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpRestoreString)(WPMinWinViewer *somSelf,
  440.         PSZ pszClass,
  441.         ULONG ulKey,
  442.         PSZ pszValue,
  443.         PULONG pcbValue);
  444. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSaveData)(WPMinWinViewer *somSelf,
  445.         PSZ pszClass,
  446.         ULONG ulKey,
  447.         PBYTE pValue,
  448.         ULONG cbValue);
  449. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSaveDeferred)(WPMinWinViewer *somSelf);
  450. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSaveLong)(WPMinWinViewer *somSelf,
  451.         PSZ pszClass,
  452.         ULONG ulKey,
  453.         ULONG ulValue);
  454. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSaveString)(WPMinWinViewer *somSelf,
  455.         PSZ pszClass,
  456.         ULONG ulKey,
  457.         PSZ pszValue);
  458. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpScanSetupString)(WPMinWinViewer *somSelf,
  459.         PSZ pszSetupString,
  460.         PSZ pszKey,
  461.         PSZ pszValue,
  462.         PULONG pcbValue);
  463. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpSetConcurrentView)(WPMinWinViewer *somSelf,
  464.         ULONG ulCCView);
  465. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpSetButtonAppearance)(WPMinWinViewer *somSelf,
  466.         ULONG ulButtonType);
  467. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetDefaultHelp)(WPMinWinViewer *somSelf,
  468.         ULONG HelpPanelId,
  469.         PSZ HelpLibrary);
  470. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetDefaultView)(WPMinWinViewer *somSelf,
  471.         ULONG ulView);
  472. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetError)(WPMinWinViewer *somSelf,
  473.         ULONG ulErrorId);
  474. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetIconHandle)(WPMinWinViewer *somSelf,
  475.         HPOINTER hptrNewIcon);
  476. typedef USHORT   (SOMLINK * somTD_WPMinWinViewer_wpQueryScreenGroupID)(WPMinWinViewer *somSelf,
  477.         USHORT usPrevSgId);
  478. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetupOnce)(WPMinWinViewer *somSelf,
  479.         PSZ pszSetupString);
  480. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetIcon)(WPMinWinViewer *somSelf,
  481.         HPOINTER hptrNewIcon);
  482. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpSetMinWindow)(WPMinWinViewer *somSelf,
  483.         ULONG ulMinWindow);
  484. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpModifyStyle)(WPMinWinViewer *somSelf,
  485.         ULONG ulStyleFlags,
  486.         ULONG ulStyleMask);
  487. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryTrueStyle)(WPMinWinViewer *somSelf);
  488. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpUnlockObject)(WPMinWinViewer *somSelf);
  489. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpIsObjectInitialized)(WPMinWinViewer *somSelf);
  490. typedef WPObject*   (SOMLINK * somTD_WPMinWinViewer_wpCreateShadowObjectExt)(WPMinWinViewer *somSelf,
  491.         WPFolder* Folder,
  492.         BOOL fLock,
  493.         PSZ pszSetup,
  494.         M_WPObject* shadowClass);
  495. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpCnrDeleteUseItem)(WPMinWinViewer *somSelf,
  496.         HWND hwndCnr);
  497. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpIsDeleteable)(WPMinWinViewer *somSelf);
  498. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPMinWinViewer_wpQueryCoreRecord)(WPMinWinViewer *somSelf);
  499. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetObjectID)(WPMinWinViewer *somSelf,
  500.         PSZ pszObjectID);
  501. typedef PSZ   (SOMLINK * somTD_WPMinWinViewer_wpQueryObjectID)(WPMinWinViewer *somSelf);
  502. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpSetDefaultIconPos)(WPMinWinViewer *somSelf,
  503.         PPOINTL pPointl);
  504. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpQueryDefaultIconPos)(WPMinWinViewer *somSelf,
  505.         PPOINTL pPointl);
  506. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpCnrRefreshDetails)(WPMinWinViewer *somSelf);
  507. typedef PVIEWITEM   (SOMLINK * somTD_WPMinWinViewer_wpFindViewItem)(WPMinWinViewer *somSelf,
  508.         ULONG flViews,
  509.         PVIEWITEM pCurrentItem);
  510. typedef void   (SOMLINK * somTD_WPMinWinViewer_wpLockObject)(WPMinWinViewer *somSelf);
  511. typedef BOOL   (SOMLINK * somTD_WPMinWinViewer_wpIsLocked)(WPMinWinViewer *somSelf);
  512. typedef PULONG   (SOMLINK * somTD_WPMinWinViewer_wpQueryContainerFlagPtr)(WPMinWinViewer *somSelf);
  513. typedef ULONG   (SOMLINK * somTD_WPMinWinViewer_wpWaitForClose)(WPMinWinViewer *somSelf,
  514.         LHANDLE lhView,
  515.         ULONG ulViews,
  516.         long lTimeOut,
  517.         BOOL bAutoClose);
  518. typedef void   (SOMLINK * somTD_WPMinWinViewer_somInit)(WPMinWinViewer *somSelf);
  519. typedef void   (SOMLINK * somTD_WPMinWinViewer_somUninit)(WPMinWinViewer *somSelf);
  520. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDefaultCopyInit)(WPMinWinViewer *somSelf,
  521.         somInitCtrl* ctrl,
  522.         SOMObject* fromObj);
  523. typedef WPMinWinViewer*   (SOMLINK * somTD_WPMinWinViewer_somDefaultAssign)(WPMinWinViewer *somSelf,
  524.         somAssignCtrl* ctrl,
  525.         SOMObject* fromObj);
  526. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDefaultConstCopyInit)(WPMinWinViewer *somSelf,
  527.         somInitCtrl* ctrl,
  528.         SOMObject* fromObj);
  529. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDefaultVCopyInit)(WPMinWinViewer *somSelf,
  530.         somInitCtrl* ctrl,
  531.         SOMObject* fromObj);
  532. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDefaultConstVCopyInit)(WPMinWinViewer *somSelf,
  533.         somInitCtrl* ctrl,
  534.         SOMObject* fromObj);
  535. typedef WPMinWinViewer*   (SOMLINK * somTD_WPMinWinViewer_somDefaultConstAssign)(WPMinWinViewer *somSelf,
  536.         somAssignCtrl* ctrl,
  537.         SOMObject* fromObj);
  538. typedef WPMinWinViewer*   (SOMLINK * somTD_WPMinWinViewer_somDefaultVAssign)(WPMinWinViewer *somSelf,
  539.         somAssignCtrl* ctrl,
  540.         SOMObject* fromObj);
  541. typedef WPMinWinViewer*   (SOMLINK * somTD_WPMinWinViewer_somDefaultConstVAssign)(WPMinWinViewer *somSelf,
  542.         somAssignCtrl* ctrl,
  543.         SOMObject* fromObj);
  544. typedef void   (SOMLINK * somTD_WPMinWinViewer_somFree)(WPMinWinViewer *somSelf);
  545. typedef M_WPMinWinViewer*   (SOMLINK * somTD_WPMinWinViewer_somGetClass)(WPMinWinViewer *somSelf);
  546. typedef string   (SOMLINK * somTD_WPMinWinViewer_somGetClassName)(WPMinWinViewer *somSelf);
  547. typedef long   (SOMLINK * somTD_WPMinWinViewer_somGetSize)(WPMinWinViewer *somSelf);
  548. typedef boolean   (SOMLINK * somTD_WPMinWinViewer_somIsA)(WPMinWinViewer *somSelf,
  549.         SOMClass* aClassObj);
  550. typedef boolean   (SOMLINK * somTD_WPMinWinViewer_somIsInstanceOf)(WPMinWinViewer *somSelf,
  551.         SOMClass* aClassObj);
  552. typedef boolean   (SOMLINK * somTD_WPMinWinViewer_somRespondsTo)(WPMinWinViewer *somSelf,
  553.         somId mId);
  554. typedef boolean   (SOMLINK * somTD_WPMinWinViewer_somDispatch)(WPMinWinViewer *somSelf,
  555.         somToken* retValue,
  556.         somId methodId,
  557.         va_list ap);
  558. typedef boolean   (SOMLINK * somTD_WPMinWinViewer_somClassDispatch)(WPMinWinViewer *somSelf,
  559.         SOMClass* clsObj,
  560.         somToken* retValue,
  561.         somId methodId,
  562.         va_list ap);
  563. typedef boolean   (SOMLINK * somTD_WPMinWinViewer_somCastObj)(WPMinWinViewer *somSelf,
  564.         SOMClass* cls);
  565. typedef boolean   (SOMLINK * somTD_WPMinWinViewer_somResetObj)(WPMinWinViewer *somSelf);
  566. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDispatchV)(WPMinWinViewer *somSelf,
  567.         somId methodId,
  568.         somId descriptor,
  569.         va_list ap);
  570. typedef long   (SOMLINK * somTD_WPMinWinViewer_somDispatchL)(WPMinWinViewer *somSelf,
  571.         somId methodId,
  572.         somId descriptor,
  573.         va_list ap);
  574. typedef void*   (SOMLINK * somTD_WPMinWinViewer_somDispatchA)(WPMinWinViewer *somSelf,
  575.         somId methodId,
  576.         somId descriptor,
  577.         va_list ap);
  578. typedef double   (SOMLINK * somTD_WPMinWinViewer_somDispatchD)(WPMinWinViewer *somSelf,
  579.         somId methodId,
  580.         somId descriptor,
  581.         va_list ap);
  582. typedef SOMObject*   (SOMLINK * somTD_WPMinWinViewer_somPrintSelf)(WPMinWinViewer *somSelf);
  583. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDumpSelf)(WPMinWinViewer *somSelf,
  584.         long level);
  585. typedef void   (SOMLINK * somTD_WPMinWinViewer_somDumpSelfInt)(WPMinWinViewer *somSelf,
  586.         long level);
  587. }
  588.  
  589. #endif /* WPMinWinViewer_API */
  590.  
  591.  
  592. /*
  593.  * -- This emitter treats Method Tokens as Thunks by default.
  594.  * -- Use the sc modifier "nothunks" to change this default
  595.  */
  596. #undef somresolve_
  597. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  598.  
  599. /*
  600.  * -- The C++ Wrapper Class for WPMinWinViewer
  601.  */
  602. class WPMinWinViewer : public WPFolder
  603. {
  604. public:
  605.  
  606. // WPMinWinViewer::new creates the class object if necessary, and then uses somNewNoInit
  607. // to allocate memory and create the object. Initialization is in ctors.
  608. void *operator new(size_t size)
  609. {
  610.    SOM_IgnoreWarning(size);
  611.    if (!_WPMinWinViewer) WPMinWinViewerNewClass(WPMinWinViewer_MajorVersion,WPMinWinViewer_MinorVersion);
  612.    return (void*)
  613.       SOM_Resolve(_WPMinWinViewer,SOMClass,somNewNoInit)
  614.          ((SOMClass *)((void*)_WPMinWinViewer));
  615. }
  616.  
  617. // WPMinWinViewer::delete uses the default deallocator for the object's class.
  618. void operator delete(void * obj)
  619. {
  620.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  621.    if (somIsObj(objCls)) {
  622.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  623.          ((SOMClass*)objCls, (string)obj);
  624.    }
  625. }
  626.  
  627. WPMinWinViewer()
  628. {
  629.    if (*(void**)this != 
  630.        ((somParentMtabStructPtr)
  631.         (WPMinWinViewerCClassData.parentMtab))->mtab)
  632.       return;
  633.    somDefaultInit(0);
  634. }
  635.  
  636. WPMinWinViewer(WPMinWinViewer* fromObj)
  637. {
  638.    if (*(void**)this != 
  639.        ((somParentMtabStructPtr)
  640.         (WPMinWinViewerCClassData.parentMtab))->mtab)
  641.       return;
  642.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  643. }
  644.  
  645. WPMinWinViewer(const WPMinWinViewer* fromObj)
  646. {
  647.    if (*(void**)this != 
  648.        ((somParentMtabStructPtr)
  649.         (WPMinWinViewerCClassData.parentMtab))->mtab)
  650.       return;
  651.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  652. }
  653.  
  654. ~WPMinWinViewer()
  655. {
  656.    if (!somIsObj(this)) return;
  657.    somDestruct(0,0);
  658.    *(void**)this = **(void***)this;
  659. }
  660.  
  661.  
  662. /* method: wpFindMinWindow */
  663. WPObject*   wpFindMinWindow(HWND hwndFrame)
  664. {
  665.    return SOM_ResolveD(this,WPMinWinViewer,WPMinWinViewer,wpFindMinWindow)
  666.     (this,hwndFrame);
  667. }
  668.  
  669.  
  670. /*
  671.  * Reintroduce inherited methods
  672.  */
  673.  
  674. /* method: wpSetFldrFlags */
  675. BOOL   wpSetFldrFlags(ULONG ulFlags)
  676. {
  677.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetFldrFlags)
  678.     (this,ulFlags);
  679. }
  680.  
  681.  
  682. /* method: wpQueryFldrFlags */
  683. ULONG   wpQueryFldrFlags()
  684. {
  685.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryFldrFlags)
  686.     (this);
  687. }
  688.  
  689.  
  690. /* method: wpSetFldrFont */
  691. BOOL   wpSetFldrFont(PSZ pszFont,
  692.         ULONG ulView)
  693. {
  694.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetFldrFont)
  695.     (this,pszFont,ulView);
  696. }
  697.  
  698.  
  699. /* method: wpQueryFldrFont */
  700. PSZ   wpQueryFldrFont(ULONG ulView)
  701. {
  702.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryFldrFont)
  703.     (this,ulView);
  704. }
  705.  
  706.  
  707. /* method: wpSetFldrAttr */
  708. BOOL   wpSetFldrAttr(ULONG Attr,
  709.         ULONG ulView)
  710. {
  711.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetFldrAttr)
  712.     (this,Attr,ulView);
  713. }
  714.  
  715.  
  716. /* method: wpQueryFldrAttr */
  717. ULONG   wpQueryFldrAttr(ULONG ulView)
  718. {
  719.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryFldrAttr)
  720.     (this,ulView);
  721. }
  722.  
  723.  
  724. /* method: wpSetNextIconPos */
  725. BOOL   wpSetNextIconPos(PPOINTL pptl)
  726. {
  727.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetNextIconPos)
  728.     (this,pptl);
  729. }
  730.  
  731.  
  732. /* method: wpQueryNextIconPos */
  733. PPOINTL   wpQueryNextIconPos()
  734. {
  735.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryNextIconPos)
  736.     (this);
  737. }
  738.  
  739.  
  740. /* method: wpPopulate */
  741. BOOL   wpPopulate(ULONG ulReserved,
  742.         PSZ pszPath,
  743.         BOOL fFoldersOnly)
  744. {
  745.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpPopulate)
  746.     (this,ulReserved,pszPath,fFoldersOnly);
  747. }
  748.  
  749.  
  750. /* method: wpQueryContent */
  751. WPObject*   wpQueryContent(WPObject* Object,
  752.         ULONG ulOption)
  753. {
  754.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryContent)
  755.     (this,Object,ulOption);
  756. }
  757.  
  758.  
  759. /* method: wpAddFolderView1Page */
  760. ULONG   wpAddFolderView1Page(HWND hwndNotebook)
  761. {
  762.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFolderView1Page)
  763.     (this,hwndNotebook);
  764. }
  765.  
  766.  
  767. /* method: wpAddFolderView2Page */
  768. ULONG   wpAddFolderView2Page(HWND hwndNotebook)
  769. {
  770.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFolderView2Page)
  771.     (this,hwndNotebook);
  772. }
  773.  
  774.  
  775. /* method: wpAddFolderView3Page */
  776. ULONG   wpAddFolderView3Page(HWND hwndNotebook)
  777. {
  778.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFolderView3Page)
  779.     (this,hwndNotebook);
  780. }
  781.  
  782.  
  783. /* method: wpAddFolderIncludePage */
  784. ULONG   wpAddFolderIncludePage(HWND hwndNotebook)
  785. {
  786.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFolderIncludePage)
  787.     (this,hwndNotebook);
  788. }
  789.  
  790.  
  791. /* method: wpAddFolderSortPage */
  792. ULONG   wpAddFolderSortPage(HWND hwndNotebook)
  793. {
  794.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFolderSortPage)
  795.     (this,hwndNotebook);
  796. }
  797.  
  798.  
  799. /* method: wpAddFolderBackgroundPage */
  800. ULONG   wpAddFolderBackgroundPage(HWND hwndNotebook)
  801. {
  802.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFolderBackgroundPage)
  803.     (this,hwndNotebook);
  804. }
  805.  
  806.  
  807. /* method: wpAddFolderSelfClosePage */
  808. ULONG   wpAddFolderSelfClosePage(HWND hwndNotebook)
  809. {
  810.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFolderSelfClosePage)
  811.     (this,hwndNotebook);
  812. }
  813.  
  814.  
  815. /* method: wpInitIconPosData */
  816. BOOL   wpInitIconPosData()
  817. {
  818.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpInitIconPosData)
  819.     (this);
  820. }
  821.  
  822.  
  823. /* method: wpFreeIconPosData */
  824. void   wpFreeIconPosData()
  825. {
  826.    SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpFreeIconPosData)
  827.     (this);
  828. }
  829.  
  830.  
  831. /* method: wpStoreIconPosData */
  832. BOOL   wpStoreIconPosData(PICONPOS pIconPos,
  833.         ULONG cbSize)
  834. {
  835.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpStoreIconPosData)
  836.     (this,pIconPos,cbSize);
  837. }
  838.  
  839.  
  840. /* method: wpQueryIconPosition */
  841. BOOL   wpQueryIconPosition(PSZ pszIdentity,
  842.         PPOINTL pptl,
  843.         PULONG pIndex)
  844. {
  845.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryIconPosition)
  846.     (this,pszIdentity,pptl,pIndex);
  847. }
  848.  
  849.  
  850. /* method: wpSetFldrSort */
  851. BOOL   wpSetFldrSort(PVOID pSortRecord,
  852.         ULONG ulView,
  853.         ULONG ulType)
  854. {
  855.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetFldrSort)
  856.     (this,pSortRecord,ulView,ulType);
  857. }
  858.  
  859.  
  860. /* method: wpQueryFldrSort */
  861. PVOID   wpQueryFldrSort(ULONG ulView,
  862.         ULONG ulType)
  863. {
  864.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryFldrSort)
  865.     (this,ulView,ulType);
  866. }
  867.  
  868.  
  869. /* method: wpRestoreFldrRunObjs */
  870. BOOL   wpRestoreFldrRunObjs()
  871. {
  872.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpRestoreFldrRunObjs)
  873.     (this);
  874. }
  875.  
  876.  
  877. /* method: wpStoreFldrRunObjs */
  878. BOOL   wpStoreFldrRunObjs(ULONG ulType)
  879. {
  880.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpStoreFldrRunObjs)
  881.     (this,ulType);
  882. }
  883.  
  884.  
  885. /* method: wpHideFldrRunObjs */
  886. BOOL   wpHideFldrRunObjs(BOOL fHide)
  887. {
  888.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpHideFldrRunObjs)
  889.     (this,fHide);
  890. }
  891.  
  892.  
  893. /* method: wpDeleteContents */
  894. ULONG   wpDeleteContents(ULONG fConfirmations)
  895. {
  896.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpDeleteContents)
  897.     (this,fConfirmations);
  898. }
  899.  
  900.  
  901. /* method: wpSetFldrDetailsClass */
  902. BOOL   wpSetFldrDetailsClass(M_WPObject* Class)
  903. {
  904.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetFldrDetailsClass)
  905.     (this,Class);
  906. }
  907.  
  908.  
  909. /* method: wpQueryFldrDetailsClass */
  910. M_WPObject*   wpQueryFldrDetailsClass()
  911. {
  912.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryFldrDetailsClass)
  913.     (this);
  914. }
  915.  
  916.  
  917. /* method: wpSearchFolder */
  918. BOOL   wpSearchFolder(PSZ pszName,
  919.         ULONG ulSearchType,
  920.         ULONG ulLen,
  921.         PSEARCH_INFO pInfo,
  922.         WPFolder* ResultFolder)
  923. {
  924.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSearchFolder)
  925.     (this,pszName,ulSearchType,ulLen,pInfo,ResultFolder);
  926. }
  927.  
  928.  
  929. /* method: wpContainsFolders */
  930. BOOL   wpContainsFolders(BOOL* pfSubFolders)
  931. {
  932.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpContainsFolders)
  933.     (this,pfSubFolders);
  934. }
  935.  
  936.  
  937. /* method: wpQueryOpenFolders */
  938. WPObject*   wpQueryOpenFolders(ULONG ulOption)
  939. {
  940.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryOpenFolders)
  941.     (this,ulOption);
  942. }
  943.  
  944.  
  945. /* method: wpModifyFldrFlags */
  946. BOOL   wpModifyFldrFlags(ULONG ulFlags,
  947.         ULONG ulFlagMask)
  948. {
  949.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpModifyFldrFlags)
  950.     (this,ulFlags,ulFlagMask);
  951. }
  952.  
  953.  
  954. /* method: wpAddToContent */
  955. BOOL   wpAddToContent(WPObject* Object)
  956. {
  957.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddToContent)
  958.     (this,Object);
  959. }
  960.  
  961.  
  962. /* method: wpDeleteFromContent */
  963. BOOL   wpDeleteFromContent(WPObject* Object)
  964. {
  965.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpDeleteFromContent)
  966.     (this,Object);
  967. }
  968.  
  969.  
  970. /* method: wpSetDetailsColumnVisibility */
  971. BOOL   wpSetDetailsColumnVisibility(ULONG index,
  972.         BOOL Visible)
  973. {
  974.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetDetailsColumnVisibility)
  975.     (this,index,Visible);
  976. }
  977.  
  978.  
  979. /* method: wpIsDetailsColumnVisible */
  980. BOOL   wpIsDetailsColumnVisible(ULONG index)
  981. {
  982.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpIsDetailsColumnVisible)
  983.     (this,index);
  984. }
  985.  
  986.  
  987. /* method: wpSetFldrSortClass */
  988. BOOL   wpSetFldrSortClass(M_WPObject* Class)
  989. {
  990.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetFldrSortClass)
  991.     (this,Class);
  992. }
  993.  
  994.  
  995. /* method: wpQueryFldrSortClass */
  996. M_WPObject*   wpQueryFldrSortClass()
  997. {
  998.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryFldrSortClass)
  999.     (this);
  1000. }
  1001.  
  1002.  
  1003. /* method: wpSetSortAttribAvailable */
  1004. BOOL   wpSetSortAttribAvailable(ULONG index,
  1005.         BOOL Available)
  1006. {
  1007.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpSetSortAttribAvailable)
  1008.     (this,index,Available);
  1009. }
  1010.  
  1011.  
  1012. /* method: wpIsSortAttribAvailable */
  1013. BOOL   wpIsSortAttribAvailable(ULONG index)
  1014. {
  1015.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpIsSortAttribAvailable)
  1016.     (this,index);
  1017. }
  1018.  
  1019.  
  1020. /* method: wpQueryIconViewPos */
  1021. char*   wpQueryIconViewPos()
  1022. {
  1023.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpQueryIconViewPos)
  1024.     (this);
  1025. }
  1026.  
  1027.  
  1028. /* method: wpAddFirstChild */
  1029. WPObject*   wpAddFirstChild()
  1030. {
  1031.    return SOM_ResolveD(this,WPMinWinViewer,WPFolder,wpAddFirstChild)
  1032.     (this);
  1033. }
  1034.  
  1035.  
  1036. /* method: wpInitData */
  1037. void   wpInitData()
  1038. {
  1039.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpInitData)
  1040.     (this);
  1041. }
  1042.  
  1043.  
  1044. /* method: wpUnInitData */
  1045. void   wpUnInitData()
  1046. {
  1047.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpUnInitData)
  1048.     (this);
  1049. }
  1050.  
  1051.  
  1052. /* method: wpFree */
  1053. BOOL   wpFree()
  1054. {
  1055.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpFree)
  1056.     (this);
  1057. }
  1058.  
  1059.  
  1060. /* method: wpDelete */
  1061. ULONG   wpDelete(ULONG fConfirmations)
  1062. {
  1063.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDelete)
  1064.     (this,fConfirmations);
  1065. }
  1066.  
  1067.  
  1068. /* method: wpConfirmDelete */
  1069. ULONG   wpConfirmDelete(ULONG fConfirmations)
  1070. {
  1071.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpConfirmDelete)
  1072.     (this,fConfirmations);
  1073. }
  1074.  
  1075.  
  1076. /* method: wpSaveState */
  1077. BOOL   wpSaveState()
  1078. {
  1079.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSaveState)
  1080.     (this);
  1081. }
  1082.  
  1083.  
  1084. /* method: wpRestoreState */
  1085. BOOL   wpRestoreState(ULONG ulReserved)
  1086. {
  1087.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRestoreState)
  1088.     (this,ulReserved);
  1089. }
  1090.  
  1091.  
  1092. /* method: wpMenuItemSelected */
  1093. BOOL   wpMenuItemSelected(HWND hwndFrame,
  1094.         ULONG ulMenuId)
  1095. {
  1096.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpMenuItemSelected)
  1097.     (this,hwndFrame,ulMenuId);
  1098. }
  1099.  
  1100.  
  1101. /* method: wpModifyPopupMenu */
  1102. BOOL   wpModifyPopupMenu(HWND hwndMenu,
  1103.         HWND hwndCnr,
  1104.         ULONG iPosition)
  1105. {
  1106.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpModifyPopupMenu)
  1107.     (this,hwndMenu,hwndCnr,iPosition);
  1108. }
  1109.  
  1110.  
  1111. /* method: wpAddSettingsPages */
  1112. BOOL   wpAddSettingsPages(HWND hwndNotebook)
  1113. {
  1114.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAddSettingsPages)
  1115.     (this,hwndNotebook);
  1116. }
  1117.  
  1118.  
  1119. /* method: wpOpen */
  1120. HWND   wpOpen(HWND hwndCnr,
  1121.         ULONG ulView,
  1122.         ULONG param)
  1123. {
  1124.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpOpen)
  1125.     (this,hwndCnr,ulView,param);
  1126. }
  1127.  
  1128.  
  1129. /* method: wpSetup */
  1130. BOOL   wpSetup(PSZ pszSetupString)
  1131. {
  1132.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetup)
  1133.     (this,pszSetupString);
  1134. }
  1135.  
  1136.  
  1137. /* method: wpMoveObject */
  1138. BOOL   wpMoveObject(WPFolder* Folder)
  1139. {
  1140.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpMoveObject)
  1141.     (this,Folder);
  1142. }
  1143.  
  1144.  
  1145. /* method: wpDrop */
  1146. MRESULT   wpDrop(HWND hwndCnr,
  1147.         PDRAGINFO pdrgInfo,
  1148.         PDRAGITEM pdrgItem)
  1149. {
  1150.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDrop)
  1151.     (this,hwndCnr,pdrgInfo,pdrgItem);
  1152. }
  1153.  
  1154.  
  1155. /* method: wpDragOver */
  1156. MRESULT   wpDragOver(HWND hwndCnr,
  1157.         PDRAGINFO pdrgInfo)
  1158. {
  1159.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDragOver)
  1160.     (this,hwndCnr,pdrgInfo);
  1161. }
  1162.  
  1163.  
  1164. /* method: wpMenuItemHelpSelected */
  1165. BOOL   wpMenuItemHelpSelected(ULONG MenuId)
  1166. {
  1167.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpMenuItemHelpSelected)
  1168.     (this,MenuId);
  1169. }
  1170.  
  1171.  
  1172. /* method: wpAddFile3Page */
  1173. ULONG   wpAddFile3Page(HWND hwndNotebook)
  1174. {
  1175.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpAddFile3Page)
  1176.     (this,hwndNotebook);
  1177. }
  1178.  
  1179.  
  1180. /* method: wpAddFile2Page */
  1181. ULONG   wpAddFile2Page(HWND hwndNotebook)
  1182. {
  1183.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpAddFile2Page)
  1184.     (this,hwndNotebook);
  1185. }
  1186.  
  1187.  
  1188. /* method: wpFormatDragItem */
  1189. BOOL   wpFormatDragItem(PDRAGITEM pdrgItem)
  1190. {
  1191.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpFormatDragItem)
  1192.     (this,pdrgItem);
  1193. }
  1194.  
  1195.  
  1196. /* method: wpRender */
  1197. MRESULT   wpRender(PDRAGTRANSFER pdxfer)
  1198. {
  1199.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRender)
  1200.     (this,pdxfer);
  1201. }
  1202.  
  1203.  
  1204. /* method: wpRefresh */
  1205. BOOL   wpRefresh(ULONG ulView,
  1206.         PVOID pReserved)
  1207. {
  1208.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpRefresh)
  1209.     (this,ulView,pReserved);
  1210. }
  1211.  
  1212.  
  1213. /* method: wpFilterPopupMenu */
  1214. ULONG   wpFilterPopupMenu(ULONG ulFlags,
  1215.         HWND hwndCnr,
  1216.         BOOL fMultiSelect)
  1217. {
  1218.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpFilterPopupMenu)
  1219.     (this,ulFlags,hwndCnr,fMultiSelect);
  1220. }
  1221.  
  1222.  
  1223. /* method: wpQueryDefaultView */
  1224. ULONG   wpQueryDefaultView()
  1225. {
  1226.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryDefaultView)
  1227.     (this);
  1228. }
  1229.  
  1230.  
  1231. /* method: wpRenderComplete */
  1232. MRESULT   wpRenderComplete(PDRAGTRANSFER pdxfer,
  1233.         ULONG ulResult)
  1234. {
  1235.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRenderComplete)
  1236.     (this,pdxfer,ulResult);
  1237. }
  1238.  
  1239.  
  1240. /* method: wpQueryDefaultHelp */
  1241. BOOL   wpQueryDefaultHelp(PULONG pHelpPanelId,
  1242.         PSZ HelpLibrary)
  1243. {
  1244.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryDefaultHelp)
  1245.     (this,pHelpPanelId,HelpLibrary);
  1246. }
  1247.  
  1248.  
  1249. /* method: wpObjectReady */
  1250. void   wpObjectReady(ULONG ulCode,
  1251.         WPObject* refObject)
  1252. {
  1253.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpObjectReady)
  1254.     (this,ulCode,refObject);
  1255. }
  1256.  
  1257.  
  1258. /* method: wpAddObjectWindowPage */
  1259. ULONG   wpAddObjectWindowPage(HWND hwndNotebook)
  1260. {
  1261.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAddObjectWindowPage)
  1262.     (this,hwndNotebook);
  1263. }
  1264.  
  1265.  
  1266. /* method: somDefaultInit */
  1267. void   somDefaultInit(somInitCtrl* ctrl)
  1268. {
  1269.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultInit)
  1270.     (this,ctrl);
  1271. }
  1272.  
  1273.  
  1274. /* method: somDestruct */
  1275. void   somDestruct(octet doFree,
  1276.         somDestructCtrl* ctrl)
  1277. {
  1278.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDestruct)
  1279.     (this,doFree,ctrl);
  1280. }
  1281.  
  1282.  
  1283. /* method: wpSetIconData */
  1284. BOOL   wpSetIconData(PICONINFO pIconInfo)
  1285. {
  1286.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetIconData)
  1287.     (this,pIconInfo);
  1288. }
  1289.  
  1290.  
  1291. /* method: wpSetRealName */
  1292. BOOL   wpSetRealName(PSZ pszName)
  1293. {
  1294.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpSetRealName)
  1295.     (this,pszName);
  1296. }
  1297.  
  1298.  
  1299. /* method: wpSetType */
  1300. BOOL   wpSetType(PSZ pszTypes,
  1301.         PFEA2LIST pfeal)
  1302. {
  1303.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpSetType)
  1304.     (this,pszTypes,pfeal);
  1305. }
  1306.  
  1307.  
  1308. /* method: wpQueryType */
  1309. PSZ   wpQueryType()
  1310. {
  1311.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryType)
  1312.     (this);
  1313. }
  1314.  
  1315.  
  1316. /* method: wpSetAttr */
  1317. BOOL   wpSetAttr(ULONG attrFile)
  1318. {
  1319.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpSetAttr)
  1320.     (this,attrFile);
  1321. }
  1322.  
  1323.  
  1324. /* method: wpQueryAttr */
  1325. ULONG   wpQueryAttr()
  1326. {
  1327.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryAttr)
  1328.     (this);
  1329. }
  1330.  
  1331.  
  1332. /* method: wpAddFile1Page */
  1333. ULONG   wpAddFile1Page(HWND hwndNotebook)
  1334. {
  1335.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpAddFile1Page)
  1336.     (this,hwndNotebook);
  1337. }
  1338.  
  1339.  
  1340. /* method: wpAddFileMenuPage */
  1341. ULONG   wpAddFileMenuPage(HWND hwndNotebook)
  1342. {
  1343.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpAddFileMenuPage)
  1344.     (this,hwndNotebook);
  1345. }
  1346.  
  1347.  
  1348. /* method: wpQueryCreation */
  1349. ULONG   wpQueryCreation(FDATE* fdate,
  1350.         FTIME* ftime)
  1351. {
  1352.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryCreation)
  1353.     (this,fdate,ftime);
  1354. }
  1355.  
  1356.  
  1357. /* method: wpQueryLastAccess */
  1358. ULONG   wpQueryLastAccess(FDATE* fdate,
  1359.         FTIME* ftime)
  1360. {
  1361.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryLastAccess)
  1362.     (this,fdate,ftime);
  1363. }
  1364.  
  1365.  
  1366. /* method: wpQueryLastWrite */
  1367. ULONG   wpQueryLastWrite(FDATE* fdate,
  1368.         FTIME* ftime)
  1369. {
  1370.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryLastWrite)
  1371.     (this,fdate,ftime);
  1372. }
  1373.  
  1374.  
  1375. /* method: wpQueryFileSize */
  1376. ULONG   wpQueryFileSize()
  1377. {
  1378.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryFileSize)
  1379.     (this);
  1380. }
  1381.  
  1382.  
  1383. /* method: wpQueryEASize */
  1384. ULONG   wpQueryEASize()
  1385. {
  1386.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryEASize)
  1387.     (this);
  1388. }
  1389.  
  1390.  
  1391. /* method: wpSetDateInfo */
  1392. ULONG   wpSetDateInfo(FILEFINDBUF4* pstFileFindBuf)
  1393. {
  1394.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpSetDateInfo)
  1395.     (this,pstFileFindBuf);
  1396. }
  1397.  
  1398.  
  1399. /* method: wpSetFileSizeInfo */
  1400. ULONG   wpSetFileSizeInfo(ULONG cbFileSize,
  1401.         ULONG cbEASize)
  1402. {
  1403.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpSetFileSizeInfo)
  1404.     (this,cbFileSize,cbEASize);
  1405. }
  1406.  
  1407.  
  1408. /* method: wpQueryRefreshFlags */
  1409. ULONG   wpQueryRefreshFlags()
  1410. {
  1411.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryRefreshFlags)
  1412.     (this);
  1413. }
  1414.  
  1415.  
  1416. /* method: wpSetRefreshFlags */
  1417. BOOL   wpSetRefreshFlags(ULONG ulRefreshFlags)
  1418. {
  1419.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpSetRefreshFlags)
  1420.     (this,ulRefreshFlags);
  1421. }
  1422.  
  1423.  
  1424. /* method: wpPrintPlainTextFile */
  1425. BOOL   wpPrintPlainTextFile(PPRINTDEST pPrintDest)
  1426. {
  1427.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpPrintPlainTextFile)
  1428.     (this,pPrintDest);
  1429. }
  1430.  
  1431.  
  1432. /* method: wpSetTitleAndRenameFile */
  1433. BOOL   wpSetTitleAndRenameFile(PSZ pszNewTitle,
  1434.         ULONG fConfirmations)
  1435. {
  1436.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpSetTitleAndRenameFile)
  1437.     (this,pszNewTitle,fConfirmations);
  1438. }
  1439.  
  1440.  
  1441. /* method: wpConfirmRenameFileWithExt */
  1442. ULONG   wpConfirmRenameFileWithExt()
  1443. {
  1444.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpConfirmRenameFileWithExt)
  1445.     (this);
  1446. }
  1447.  
  1448.  
  1449. /* method: wpVerifyUpdateAccess */
  1450. ULONG   wpVerifyUpdateAccess()
  1451. {
  1452.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpVerifyUpdateAccess)
  1453.     (this);
  1454. }
  1455.  
  1456.  
  1457. /* method: wpAddUserItemsToPopupMenu */
  1458. BOOL   wpAddUserItemsToPopupMenu(HWND hwndMenu,
  1459.         HWND hwndCnr,
  1460.         ULONG iPosition)
  1461. {
  1462.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpAddUserItemsToPopupMenu)
  1463.     (this,hwndMenu,hwndCnr,iPosition);
  1464. }
  1465.  
  1466.  
  1467. /* method: wpIsDiskSwapped */
  1468. BOOL   wpIsDiskSwapped()
  1469. {
  1470.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpIsDiskSwapped)
  1471.     (this);
  1472. }
  1473.  
  1474.  
  1475. /* method: wpQueryRealName */
  1476. BOOL   wpQueryRealName(PSZ pszFilename,
  1477.         PULONG pcb,
  1478.         BOOL fQualified)
  1479. {
  1480.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryRealName)
  1481.     (this,pszFilename,pcb,fQualified);
  1482. }
  1483.  
  1484.  
  1485. /* method: wpQueryFilename */
  1486. PSZ   wpQueryFilename(PSZ pszFilename,
  1487.         BOOL fQualified)
  1488. {
  1489.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryFilename)
  1490.     (this,pszFilename,fQualified);
  1491. }
  1492.  
  1493.  
  1494. /* method: wpQueryDisk */
  1495. WPFileSystem*   wpQueryDisk()
  1496. {
  1497.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryDisk)
  1498.     (this);
  1499. }
  1500.  
  1501.  
  1502. /* method: wpQueryDateInfo */
  1503. ULONG   wpQueryDateInfo(FILEFINDBUF4* pstFileFindBuf)
  1504. {
  1505.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpQueryDateInfo)
  1506.     (this,pstFileFindBuf);
  1507. }
  1508.  
  1509.  
  1510. /* method: wpConfirmKeepAssoc */
  1511. ULONG   wpConfirmKeepAssoc()
  1512. {
  1513.    return SOM_ResolveD(this,WPMinWinViewer,WPFileSystem,wpConfirmKeepAssoc)
  1514.     (this);
  1515. }
  1516.  
  1517.  
  1518. /* method: wpQueryHandle */
  1519. HOBJECT   wpQueryHandle()
  1520. {
  1521.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryHandle)
  1522.     (this);
  1523. }
  1524.  
  1525.  
  1526. /* method: wpSaveImmediate */
  1527. BOOL   wpSaveImmediate()
  1528. {
  1529.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSaveImmediate)
  1530.     (this);
  1531. }
  1532.  
  1533.  
  1534. /* method: wpSetTitle */
  1535. BOOL   wpSetTitle(PSZ pszNewTitle)
  1536. {
  1537.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetTitle)
  1538.     (this,pszNewTitle);
  1539. }
  1540.  
  1541.  
  1542. /* method: wpViewObject */
  1543. HWND   wpViewObject(HWND hwndCnr,
  1544.         ULONG ulView,
  1545.         ULONG param)
  1546. {
  1547.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpViewObject)
  1548.     (this,hwndCnr,ulView,param);
  1549. }
  1550.  
  1551.  
  1552. /* method: wpSwitchTo */
  1553. BOOL   wpSwitchTo(ULONG View)
  1554. {
  1555.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSwitchTo)
  1556.     (this,View);
  1557. }
  1558.  
  1559.  
  1560. /* method: wpCopyObject */
  1561. WPObject*   wpCopyObject(WPFolder* Folder,
  1562.         BOOL fLock)
  1563. {
  1564.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCopyObject)
  1565.     (this,Folder,fLock);
  1566. }
  1567.  
  1568.  
  1569. /* method: wpCreateFromTemplate */
  1570. WPObject*   wpCreateFromTemplate(WPFolder* folder,
  1571.         BOOL fLock)
  1572. {
  1573.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCreateFromTemplate)
  1574.     (this,folder,fLock);
  1575. }
  1576.  
  1577.  
  1578. /* method: wpQueryIcon */
  1579. HPOINTER   wpQueryIcon()
  1580. {
  1581.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryIcon)
  1582.     (this);
  1583. }
  1584.  
  1585.  
  1586. /* method: wpQueryIconData */
  1587. ULONG   wpQueryIconData(PICONINFO pIconInfo)
  1588. {
  1589.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryIconData)
  1590.     (this,pIconInfo);
  1591. }
  1592.  
  1593.  
  1594. /* method: wpQueryDetailsData */
  1595. ULONG   wpQueryDetailsData(PVOID* ppDetailsData,
  1596.         PULONG pcp)
  1597. {
  1598.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryDetailsData)
  1599.     (this,ppDetailsData,pcp);
  1600. }
  1601.  
  1602.  
  1603. /* method: wpDraggedOverObject */
  1604. MRESULT   wpDraggedOverObject(WPObject* DraggedOverObject)
  1605. {
  1606.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDraggedOverObject)
  1607.     (this,DraggedOverObject);
  1608. }
  1609.  
  1610.  
  1611. /* method: wpDroppedOnObject */
  1612. BOOL   wpDroppedOnObject(WPObject* DroppedOnObject)
  1613. {
  1614.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDroppedOnObject)
  1615.     (this,DroppedOnObject);
  1616. }
  1617.  
  1618.  
  1619. /* method: wpQueryNameClashOptions */
  1620. ULONG   wpQueryNameClashOptions(ULONG menuID)
  1621. {
  1622.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryNameClashOptions)
  1623.     (this,menuID);
  1624. }
  1625.  
  1626.  
  1627. /* method: wpAppendObject */
  1628. BOOL32   wpAppendObject(WPObject* targetObject,
  1629.         BOOL32 fMove)
  1630. {
  1631.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAppendObject)
  1632.     (this,targetObject,fMove);
  1633. }
  1634.  
  1635.  
  1636. /* method: wpReplaceObject */
  1637. BOOL32   wpReplaceObject(WPObject* targetObject,
  1638.         BOOL32 fMove)
  1639. {
  1640.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpReplaceObject)
  1641.     (this,targetObject,fMove);
  1642. }
  1643.  
  1644.  
  1645. /* method: wpQueryStyle */
  1646. ULONG   wpQueryStyle()
  1647. {
  1648.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryStyle)
  1649.     (this);
  1650. }
  1651.  
  1652.  
  1653. /* method: wpSetStyle */
  1654. BOOL   wpSetStyle(ULONG ulNewStyle)
  1655. {
  1656.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetStyle)
  1657.     (this,ulNewStyle);
  1658. }
  1659.  
  1660.  
  1661. /* method: wpDoesObjectMatch */
  1662. BOOL   wpDoesObjectMatch(PVOID pvoidExtendedCriteria)
  1663. {
  1664.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDoesObjectMatch)
  1665.     (this,pvoidExtendedCriteria);
  1666. }
  1667.  
  1668.  
  1669. /* method: wpAddObjectGeneralPage */
  1670. ULONG   wpAddObjectGeneralPage(HWND hwndNotebook)
  1671. {
  1672.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAddObjectGeneralPage)
  1673.     (this,hwndNotebook);
  1674. }
  1675.  
  1676.  
  1677. /* method: wpAddObjectGeneralPage2 */
  1678. ULONG   wpAddObjectGeneralPage2(HWND hwndNotebook)
  1679. {
  1680.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAddObjectGeneralPage2)
  1681.     (this,hwndNotebook);
  1682. }
  1683.  
  1684.  
  1685. /* method: wpAddToObjUseList */
  1686. BOOL   wpAddToObjUseList(PUSEITEM pUseItem)
  1687. {
  1688.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAddToObjUseList)
  1689.     (this,pUseItem);
  1690. }
  1691.  
  1692.  
  1693. /* method: wpAllocMem */
  1694. PBYTE   wpAllocMem(ULONG cbBytes,
  1695.         PULONG prc)
  1696. {
  1697.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAllocMem)
  1698.     (this,cbBytes,prc);
  1699. }
  1700.  
  1701.  
  1702. /* method: wpAssertObjectMutexSem */
  1703. BOOL   wpAssertObjectMutexSem()
  1704. {
  1705.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpAssertObjectMutexSem)
  1706.     (this);
  1707. }
  1708.  
  1709.  
  1710. /* method: wpClose */
  1711. BOOL   wpClose()
  1712. {
  1713.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpClose)
  1714.     (this);
  1715. }
  1716.  
  1717.  
  1718. /* method: wpCnrInsertObject */
  1719. PMINIRECORDCORE   wpCnrInsertObject(HWND hwndCnr,
  1720.         PPOINTL pptlIcon,
  1721.         PMINIRECORDCORE preccParent,
  1722.         PRECORDINSERT pRecInsert)
  1723. {
  1724.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCnrInsertObject)
  1725.     (this,hwndCnr,pptlIcon,preccParent,pRecInsert);
  1726. }
  1727.  
  1728.  
  1729. /* method: wpCnrRemoveObject */
  1730. BOOL   wpCnrRemoveObject(HWND hwndCnr)
  1731. {
  1732.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCnrRemoveObject)
  1733.     (this,hwndCnr);
  1734. }
  1735.  
  1736.  
  1737. /* method: wpCnrSetEmphasis */
  1738. BOOL   wpCnrSetEmphasis(ULONG ulEmphasisAttr,
  1739.         BOOL fTurnOn)
  1740. {
  1741.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCnrSetEmphasis)
  1742.     (this,ulEmphasisAttr,fTurnOn);
  1743. }
  1744.  
  1745.  
  1746. /* method: wpConfirmObjectTitle */
  1747. ULONG   wpConfirmObjectTitle(WPFolder* Folder,
  1748.         WPObject** ppDuplicate,
  1749.         PSZ pszTitle,
  1750.         ULONG cbTitle,
  1751.         ULONG menuID)
  1752. {
  1753.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpConfirmObjectTitle)
  1754.     (this,Folder,ppDuplicate,pszTitle,cbTitle,menuID);
  1755. }
  1756.  
  1757.  
  1758. /* method: wpCopiedFromTemplate */
  1759. void   wpCopiedFromTemplate()
  1760. {
  1761.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCopiedFromTemplate)
  1762.     (this);
  1763. }
  1764.  
  1765.  
  1766. /* method: wpCreateAnother */
  1767. WPObject*   wpCreateAnother(PSZ pszTitle,
  1768.         PSZ pszSetupEnv,
  1769.         WPFolder* Folder)
  1770. {
  1771.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCreateAnother)
  1772.     (this,pszTitle,pszSetupEnv,Folder);
  1773. }
  1774.  
  1775.  
  1776. /* method: wpCreateShadowObject */
  1777. WPObject*   wpCreateShadowObject(WPFolder* Folder,
  1778.         BOOL fLock)
  1779. {
  1780.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCreateShadowObject)
  1781.     (this,Folder,fLock);
  1782. }
  1783.  
  1784.  
  1785. /* method: wpDeleteFromObjUseList */
  1786. BOOL   wpDeleteFromObjUseList(PUSEITEM pUseItem)
  1787. {
  1788.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDeleteFromObjUseList)
  1789.     (this,pUseItem);
  1790. }
  1791.  
  1792.  
  1793. /* method: wpDisplayHelp */
  1794. BOOL   wpDisplayHelp(ULONG HelpPanelId,
  1795.         PSZ HelpLibrary)
  1796. {
  1797.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDisplayHelp)
  1798.     (this,HelpPanelId,HelpLibrary);
  1799. }
  1800.  
  1801.  
  1802. /* method: wpDisplayMenu */
  1803. HWND   wpDisplayMenu(HWND hwndOwner,
  1804.         HWND hwndClient,
  1805.         POINTL* ptlPopupPt,
  1806.         ULONG ulMenuType,
  1807.         ULONG ulReserved)
  1808. {
  1809.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpDisplayMenu)
  1810.     (this,hwndOwner,hwndClient,ptlPopupPt,ulMenuType,ulReserved);
  1811. }
  1812.  
  1813.  
  1814. /* method: wpEndConversation */
  1815. MRESULT   wpEndConversation(ULONG ulItemID,
  1816.         ULONG flResult)
  1817. {
  1818.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpEndConversation)
  1819.     (this,ulItemID,flResult);
  1820. }
  1821.  
  1822.  
  1823. /* method: wpFindUseItem */
  1824. PUSEITEM   wpFindUseItem(ULONG type,
  1825.         PUSEITEM pCurrentItem)
  1826. {
  1827.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpFindUseItem)
  1828.     (this,type,pCurrentItem);
  1829. }
  1830.  
  1831.  
  1832. /* method: wpFreeMem */
  1833. BOOL   wpFreeMem(PBYTE pByte)
  1834. {
  1835.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpFreeMem)
  1836.     (this,pByte);
  1837. }
  1838.  
  1839.  
  1840. /* method: wpHide */
  1841. BOOL   wpHide()
  1842. {
  1843.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpHide)
  1844.     (this);
  1845. }
  1846.  
  1847.  
  1848. /* method: wpInsertPopupMenuItems */
  1849. BOOL   wpInsertPopupMenuItems(HWND hwndMenu,
  1850.         ULONG iPosition,
  1851.         HMODULE hmod,
  1852.         ULONG MenuID,
  1853.         ULONG SubMenuID)
  1854. {
  1855.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpInsertPopupMenuItems)
  1856.     (this,hwndMenu,iPosition,hmod,MenuID,SubMenuID);
  1857. }
  1858.  
  1859.  
  1860. /* method: wpInsertSettingsPage */
  1861. ULONG   wpInsertSettingsPage(HWND hwndNotebook,
  1862.         PPAGEINFO ppageinfo)
  1863. {
  1864.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpInsertSettingsPage)
  1865.     (this,hwndNotebook,ppageinfo);
  1866. }
  1867.  
  1868.  
  1869. /* method: wpPrintObject */
  1870. BOOL   wpPrintObject(PPRINTDEST pPrintDest,
  1871.         ULONG ulReserved)
  1872. {
  1873.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpPrintObject)
  1874.     (this,pPrintDest,ulReserved);
  1875. }
  1876.  
  1877.  
  1878. /* method: wpQueryConcurrentView */
  1879. ULONG   wpQueryConcurrentView()
  1880. {
  1881.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryConcurrentView)
  1882.     (this);
  1883. }
  1884.  
  1885.  
  1886. /* method: wpQueryButtonAppearance */
  1887. ULONG   wpQueryButtonAppearance()
  1888. {
  1889.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryButtonAppearance)
  1890.     (this);
  1891. }
  1892.  
  1893.  
  1894. /* method: wpQueryConfirmations */
  1895. ULONG   wpQueryConfirmations()
  1896. {
  1897.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryConfirmations)
  1898.     (this);
  1899. }
  1900.  
  1901.  
  1902. /* method: wpQueryError */
  1903. ULONG   wpQueryError()
  1904. {
  1905.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryError)
  1906.     (this);
  1907. }
  1908.  
  1909.  
  1910. /* method: wpSetFolder */
  1911. BOOL   wpSetFolder(WPObject* container)
  1912. {
  1913.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetFolder)
  1914.     (this,container);
  1915. }
  1916.  
  1917.  
  1918. /* method: wpQueryFolder */
  1919. WPObject*   wpQueryFolder()
  1920. {
  1921.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryFolder)
  1922.     (this);
  1923. }
  1924.  
  1925.  
  1926. /* method: wpQueryMinWindow */
  1927. ULONG   wpQueryMinWindow()
  1928. {
  1929.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryMinWindow)
  1930.     (this);
  1931. }
  1932.  
  1933.  
  1934. /* method: wpSetTaskRec */
  1935. BOOL32   wpSetTaskRec(PTASKREC pNew,
  1936.         PTASKREC pOld)
  1937. {
  1938.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetTaskRec)
  1939.     (this,pNew,pOld);
  1940. }
  1941.  
  1942.  
  1943. /* method: wpFindTaskRec */
  1944. PTASKREC   wpFindTaskRec()
  1945. {
  1946.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpFindTaskRec)
  1947.     (this);
  1948. }
  1949.  
  1950.  
  1951. /* method: wpQueryTitle */
  1952. PSZ   wpQueryTitle()
  1953. {
  1954.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryTitle)
  1955.     (this);
  1956. }
  1957.  
  1958.  
  1959. /* method: wpRegisterView */
  1960. BOOL   wpRegisterView(HWND hwndFrame,
  1961.         PSZ pszViewTitle)
  1962. {
  1963.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRegisterView)
  1964.     (this,hwndFrame,pszViewTitle);
  1965. }
  1966.  
  1967.  
  1968. /* method: wpReleaseObjectMutexSem */
  1969. ULONG   wpReleaseObjectMutexSem()
  1970. {
  1971.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpReleaseObjectMutexSem)
  1972.     (this);
  1973. }
  1974.  
  1975.  
  1976. /* method: wpRequestObjectMutexSem */
  1977. ULONG   wpRequestObjectMutexSem(ULONG ulTimeout)
  1978. {
  1979.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRequestObjectMutexSem)
  1980.     (this,ulTimeout);
  1981. }
  1982.  
  1983.  
  1984. /* method: wpRestore */
  1985. BOOL   wpRestore()
  1986. {
  1987.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRestore)
  1988.     (this);
  1989. }
  1990.  
  1991.  
  1992. /* method: wpRestoreData */
  1993. BOOL   wpRestoreData(PSZ pszClass,
  1994.         ULONG ulKey,
  1995.         PBYTE pValue,
  1996.         PULONG pcbValue)
  1997. {
  1998.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRestoreData)
  1999.     (this,pszClass,ulKey,pValue,pcbValue);
  2000. }
  2001.  
  2002.  
  2003. /* method: wpRestoreLong */
  2004. BOOL   wpRestoreLong(PSZ pszClass,
  2005.         ULONG ulKey,
  2006.         PULONG pulValue)
  2007. {
  2008.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRestoreLong)
  2009.     (this,pszClass,ulKey,pulValue);
  2010. }
  2011.  
  2012.  
  2013. /* method: wpRestoreString */
  2014. BOOL   wpRestoreString(PSZ pszClass,
  2015.         ULONG ulKey,
  2016.         PSZ pszValue,
  2017.         PULONG pcbValue)
  2018. {
  2019.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpRestoreString)
  2020.     (this,pszClass,ulKey,pszValue,pcbValue);
  2021. }
  2022.  
  2023.  
  2024. /* method: wpSaveData */
  2025. BOOL   wpSaveData(PSZ pszClass,
  2026.         ULONG ulKey,
  2027.         PBYTE pValue,
  2028.         ULONG cbValue)
  2029. {
  2030.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSaveData)
  2031.     (this,pszClass,ulKey,pValue,cbValue);
  2032. }
  2033.  
  2034.  
  2035. /* method: wpSaveDeferred */
  2036. BOOL   wpSaveDeferred()
  2037. {
  2038.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSaveDeferred)
  2039.     (this);
  2040. }
  2041.  
  2042.  
  2043. /* method: wpSaveLong */
  2044. BOOL   wpSaveLong(PSZ pszClass,
  2045.         ULONG ulKey,
  2046.         ULONG ulValue)
  2047. {
  2048.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSaveLong)
  2049.     (this,pszClass,ulKey,ulValue);
  2050. }
  2051.  
  2052.  
  2053. /* method: wpSaveString */
  2054. BOOL   wpSaveString(PSZ pszClass,
  2055.         ULONG ulKey,
  2056.         PSZ pszValue)
  2057. {
  2058.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSaveString)
  2059.     (this,pszClass,ulKey,pszValue);
  2060. }
  2061.  
  2062.  
  2063. /* method: wpScanSetupString */
  2064. BOOL   wpScanSetupString(PSZ pszSetupString,
  2065.         PSZ pszKey,
  2066.         PSZ pszValue,
  2067.         PULONG pcbValue)
  2068. {
  2069.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpScanSetupString)
  2070.     (this,pszSetupString,pszKey,pszValue,pcbValue);
  2071. }
  2072.  
  2073.  
  2074. /* method: wpSetConcurrentView */
  2075. void   wpSetConcurrentView(ULONG ulCCView)
  2076. {
  2077.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetConcurrentView)
  2078.     (this,ulCCView);
  2079. }
  2080.  
  2081.  
  2082. /* method: wpSetButtonAppearance */
  2083. void   wpSetButtonAppearance(ULONG ulButtonType)
  2084. {
  2085.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetButtonAppearance)
  2086.     (this,ulButtonType);
  2087. }
  2088.  
  2089.  
  2090. /* method: wpSetDefaultHelp */
  2091. BOOL   wpSetDefaultHelp(ULONG HelpPanelId,
  2092.         PSZ HelpLibrary)
  2093. {
  2094.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetDefaultHelp)
  2095.     (this,HelpPanelId,HelpLibrary);
  2096. }
  2097.  
  2098.  
  2099. /* method: wpSetDefaultView */
  2100. BOOL   wpSetDefaultView(ULONG ulView)
  2101. {
  2102.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetDefaultView)
  2103.     (this,ulView);
  2104. }
  2105.  
  2106.  
  2107. /* method: wpSetError */
  2108. BOOL   wpSetError(ULONG ulErrorId)
  2109. {
  2110.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetError)
  2111.     (this,ulErrorId);
  2112. }
  2113.  
  2114.  
  2115. /* method: wpSetIconHandle */
  2116. BOOL   wpSetIconHandle(HPOINTER hptrNewIcon)
  2117. {
  2118.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetIconHandle)
  2119.     (this,hptrNewIcon);
  2120. }
  2121.  
  2122.  
  2123. /* method: wpQueryScreenGroupID */
  2124. USHORT   wpQueryScreenGroupID(USHORT usPrevSgId)
  2125. {
  2126.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryScreenGroupID)
  2127.     (this,usPrevSgId);
  2128. }
  2129.  
  2130.  
  2131. /* method: wpSetupOnce */
  2132. BOOL   wpSetupOnce(PSZ pszSetupString)
  2133. {
  2134.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetupOnce)
  2135.     (this,pszSetupString);
  2136. }
  2137.  
  2138.  
  2139. /* method: wpSetIcon */
  2140. BOOL   wpSetIcon(HPOINTER hptrNewIcon)
  2141. {
  2142.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetIcon)
  2143.     (this,hptrNewIcon);
  2144. }
  2145.  
  2146.  
  2147. /* method: wpSetMinWindow */
  2148. void   wpSetMinWindow(ULONG ulMinWindow)
  2149. {
  2150.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetMinWindow)
  2151.     (this,ulMinWindow);
  2152. }
  2153.  
  2154.  
  2155. /* method: wpModifyStyle */
  2156. BOOL   wpModifyStyle(ULONG ulStyleFlags,
  2157.         ULONG ulStyleMask)
  2158. {
  2159.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpModifyStyle)
  2160.     (this,ulStyleFlags,ulStyleMask);
  2161. }
  2162.  
  2163.  
  2164. /* method: wpQueryTrueStyle */
  2165. ULONG   wpQueryTrueStyle()
  2166. {
  2167.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryTrueStyle)
  2168.     (this);
  2169. }
  2170.  
  2171.  
  2172. /* method: wpUnlockObject */
  2173. BOOL   wpUnlockObject()
  2174. {
  2175.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpUnlockObject)
  2176.     (this);
  2177. }
  2178.  
  2179.  
  2180. /* method: wpIsObjectInitialized */
  2181. BOOL   wpIsObjectInitialized()
  2182. {
  2183.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpIsObjectInitialized)
  2184.     (this);
  2185. }
  2186.  
  2187.  
  2188. /* method: wpCreateShadowObjectExt */
  2189. WPObject*   wpCreateShadowObjectExt(WPFolder* Folder,
  2190.         BOOL fLock,
  2191.         PSZ pszSetup,
  2192.         M_WPObject* shadowClass)
  2193. {
  2194.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCreateShadowObjectExt)
  2195.     (this,Folder,fLock,pszSetup,shadowClass);
  2196. }
  2197.  
  2198.  
  2199. /* method: wpCnrDeleteUseItem */
  2200. BOOL   wpCnrDeleteUseItem(HWND hwndCnr)
  2201. {
  2202.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCnrDeleteUseItem)
  2203.     (this,hwndCnr);
  2204. }
  2205.  
  2206.  
  2207. /* method: wpIsDeleteable */
  2208. BOOL   wpIsDeleteable()
  2209. {
  2210.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpIsDeleteable)
  2211.     (this);
  2212. }
  2213.  
  2214.  
  2215. /* method: wpQueryCoreRecord */
  2216. PMINIRECORDCORE   wpQueryCoreRecord()
  2217. {
  2218.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryCoreRecord)
  2219.     (this);
  2220. }
  2221.  
  2222.  
  2223. /* method: wpSetObjectID */
  2224. BOOL   wpSetObjectID(PSZ pszObjectID)
  2225. {
  2226.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetObjectID)
  2227.     (this,pszObjectID);
  2228. }
  2229.  
  2230.  
  2231. /* method: wpQueryObjectID */
  2232. PSZ   wpQueryObjectID()
  2233. {
  2234.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryObjectID)
  2235.     (this);
  2236. }
  2237.  
  2238.  
  2239. /* method: wpSetDefaultIconPos */
  2240. BOOL   wpSetDefaultIconPos(PPOINTL pPointl)
  2241. {
  2242.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpSetDefaultIconPos)
  2243.     (this,pPointl);
  2244. }
  2245.  
  2246.  
  2247. /* method: wpQueryDefaultIconPos */
  2248. BOOL   wpQueryDefaultIconPos(PPOINTL pPointl)
  2249. {
  2250.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryDefaultIconPos)
  2251.     (this,pPointl);
  2252. }
  2253.  
  2254.  
  2255. /* method: wpCnrRefreshDetails */
  2256. void   wpCnrRefreshDetails()
  2257. {
  2258.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpCnrRefreshDetails)
  2259.     (this);
  2260. }
  2261.  
  2262.  
  2263. /* method: wpFindViewItem */
  2264. PVIEWITEM   wpFindViewItem(ULONG flViews,
  2265.         PVIEWITEM pCurrentItem)
  2266. {
  2267.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpFindViewItem)
  2268.     (this,flViews,pCurrentItem);
  2269. }
  2270.  
  2271.  
  2272. /* method: wpLockObject */
  2273. void   wpLockObject()
  2274. {
  2275.    SOM_ResolveD(this,WPMinWinViewer,WPObject,wpLockObject)
  2276.     (this);
  2277. }
  2278.  
  2279.  
  2280. /* method: wpIsLocked */
  2281. BOOL   wpIsLocked()
  2282. {
  2283.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpIsLocked)
  2284.     (this);
  2285. }
  2286.  
  2287.  
  2288. /* method: wpQueryContainerFlagPtr */
  2289. PULONG   wpQueryContainerFlagPtr()
  2290. {
  2291.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpQueryContainerFlagPtr)
  2292.     (this);
  2293. }
  2294.  
  2295.  
  2296. /* method: wpWaitForClose */
  2297. ULONG   wpWaitForClose(LHANDLE lhView,
  2298.         ULONG ulViews,
  2299.         long lTimeOut,
  2300.         BOOL bAutoClose)
  2301. {
  2302.    return SOM_ResolveD(this,WPMinWinViewer,WPObject,wpWaitForClose)
  2303.     (this,lhView,ulViews,lTimeOut,bAutoClose);
  2304. }
  2305.  
  2306.  
  2307. /* method: somInit */
  2308. void   somInit()
  2309. {
  2310.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somInit)
  2311.     (this);
  2312. }
  2313.  
  2314.  
  2315. /* method: somUninit */
  2316. void   somUninit()
  2317. {
  2318.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somUninit)
  2319.     (this);
  2320. }
  2321.  
  2322.  
  2323. /* method: somDefaultCopyInit */
  2324. void   somDefaultCopyInit(somInitCtrl* ctrl,
  2325.         SOMObject* fromObj)
  2326. {
  2327.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultCopyInit)
  2328.     (this,ctrl,fromObj);
  2329. }
  2330.  
  2331.  
  2332. /* method: somDefaultAssign */
  2333. WPMinWinViewer*  somDefaultAssign(somAssignCtrl* ctrl,
  2334.         SOMObject* fromObj)
  2335. {
  2336.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultAssign)
  2337.     (this,ctrl,fromObj);
  2338. }
  2339.  
  2340.  
  2341. /* method: somDefaultConstCopyInit */
  2342. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  2343.         SOMObject* fromObj)
  2344. {
  2345.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultConstCopyInit)
  2346.     (this,ctrl,fromObj);
  2347. }
  2348.  
  2349.  
  2350. /* method: somDefaultVCopyInit */
  2351. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  2352.         SOMObject* fromObj)
  2353. {
  2354.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultVCopyInit)
  2355.     (this,ctrl,fromObj);
  2356. }
  2357.  
  2358.  
  2359. /* method: somDefaultConstVCopyInit */
  2360. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  2361.         SOMObject* fromObj)
  2362. {
  2363.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultConstVCopyInit)
  2364.     (this,ctrl,fromObj);
  2365. }
  2366.  
  2367.  
  2368. /* method: somDefaultConstAssign */
  2369. WPMinWinViewer*  somDefaultConstAssign(somAssignCtrl* ctrl,
  2370.         SOMObject* fromObj)
  2371. {
  2372.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultConstAssign)
  2373.     (this,ctrl,fromObj);
  2374. }
  2375.  
  2376.  
  2377. /* method: somDefaultVAssign */
  2378. WPMinWinViewer*  somDefaultVAssign(somAssignCtrl* ctrl,
  2379.         SOMObject* fromObj)
  2380. {
  2381.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultVAssign)
  2382.     (this,ctrl,fromObj);
  2383. }
  2384.  
  2385.  
  2386. /* method: somDefaultConstVAssign */
  2387. WPMinWinViewer*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  2388.         SOMObject* fromObj)
  2389. {
  2390.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDefaultConstVAssign)
  2391.     (this,ctrl,fromObj);
  2392. }
  2393.  
  2394.  
  2395. /* method: somFree */
  2396. void   somFree()
  2397. {
  2398.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somFree)
  2399.     (this);
  2400. }
  2401.  
  2402.  
  2403. /* method: somGetClass */
  2404. M_WPMinWinViewer*  somGetClass()
  2405. {
  2406.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somGetClass)
  2407.     (this);
  2408. }
  2409.  
  2410.  
  2411. /* method: somGetClassName */
  2412. string   somGetClassName()
  2413. {
  2414.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somGetClassName)
  2415.     (this);
  2416. }
  2417.  
  2418.  
  2419. /* method: somGetSize */
  2420. long   somGetSize()
  2421. {
  2422.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somGetSize)
  2423.     (this);
  2424. }
  2425.  
  2426.  
  2427. /* method: somIsA */
  2428. boolean   somIsA(SOMClass* aClassObj)
  2429. {
  2430.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somIsA)
  2431.     (this,aClassObj);
  2432. }
  2433.  
  2434.  
  2435. /* method: somIsInstanceOf */
  2436. boolean   somIsInstanceOf(SOMClass* aClassObj)
  2437. {
  2438.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somIsInstanceOf)
  2439.     (this,aClassObj);
  2440. }
  2441.  
  2442.  
  2443. /* method: somRespondsTo */
  2444. boolean   somRespondsTo(somId mId)
  2445. {
  2446.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somRespondsTo)
  2447.     (this,mId);
  2448. }
  2449.  
  2450.  
  2451. /* va_list method: somDispatch */
  2452. /* the va_list invocation form */
  2453. boolean   WPMinWinViewer_somDispatch(somToken* retValue,
  2454.         somId methodId,
  2455.         va_list ap)
  2456. {
  2457. return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatch)
  2458.     (this,retValue,methodId,ap);
  2459. }
  2460.  
  2461. /* the varargs invocation form */
  2462. boolean   somDispatch(somToken* retValue,
  2463.         somId methodId,
  2464.         ...)
  2465. {
  2466.    va_list ap;
  2467.    va_start(ap, methodId);
  2468.    boolean __somResult = 
  2469.       SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatch)
  2470.     (this,retValue,methodId,ap);
  2471.    va_end(ap);
  2472.    return __somResult;
  2473. }
  2474.  
  2475.  
  2476. /* va_list method: somClassDispatch */
  2477. /* the va_list invocation form */
  2478. boolean   WPMinWinViewer_somClassDispatch(SOMClass* clsObj,
  2479.         somToken* retValue,
  2480.         somId methodId,
  2481.         va_list ap)
  2482. {
  2483. return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somClassDispatch)
  2484.     (this,clsObj,retValue,methodId,ap);
  2485. }
  2486.  
  2487. /* the varargs invocation form */
  2488. boolean   somClassDispatch(SOMClass* clsObj,
  2489.         somToken* retValue,
  2490.         somId methodId,
  2491.         ...)
  2492. {
  2493.    va_list ap;
  2494.    va_start(ap, methodId);
  2495.    boolean __somResult = 
  2496.       SOM_ResolveD(this,WPMinWinViewer,SOMObject,somClassDispatch)
  2497.     (this,clsObj,retValue,methodId,ap);
  2498.    va_end(ap);
  2499.    return __somResult;
  2500. }
  2501.  
  2502.  
  2503. /* method: somCastObj */
  2504. boolean   somCastObj(SOMClass* cls)
  2505. {
  2506.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somCastObj)
  2507.     (this,cls);
  2508. }
  2509.  
  2510.  
  2511. /* method: somResetObj */
  2512. boolean   somResetObj()
  2513. {
  2514.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somResetObj)
  2515.     (this);
  2516. }
  2517.  
  2518.  
  2519. /* va_list method: somDispatchV */
  2520. /* the va_list invocation form */
  2521. void   WPMinWinViewer_somDispatchV(somId methodId,
  2522.         somId descriptor,
  2523.         va_list ap)
  2524. {
  2525.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchV)
  2526.     (this,methodId,descriptor,ap);
  2527. }
  2528.  
  2529. /* the varargs invocation form */
  2530. void   somDispatchV(somId methodId,
  2531.         somId descriptor,
  2532.         ...)
  2533. {
  2534.    va_list ap;
  2535.    va_start(ap, descriptor);
  2536.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchV)
  2537.     (this,methodId,descriptor,ap);
  2538.    va_end(ap);
  2539. }
  2540.  
  2541.  
  2542. /* va_list method: somDispatchL */
  2543. /* the va_list invocation form */
  2544. long   WPMinWinViewer_somDispatchL(somId methodId,
  2545.         somId descriptor,
  2546.         va_list ap)
  2547. {
  2548. return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchL)
  2549.     (this,methodId,descriptor,ap);
  2550. }
  2551.  
  2552. /* the varargs invocation form */
  2553. long   somDispatchL(somId methodId,
  2554.         somId descriptor,
  2555.         ...)
  2556. {
  2557.    va_list ap;
  2558.    va_start(ap, descriptor);
  2559.    long __somResult = 
  2560.       SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchL)
  2561.     (this,methodId,descriptor,ap);
  2562.    va_end(ap);
  2563.    return __somResult;
  2564. }
  2565.  
  2566.  
  2567. /* va_list method: somDispatchA */
  2568. /* the va_list invocation form */
  2569. void*   WPMinWinViewer_somDispatchA(somId methodId,
  2570.         somId descriptor,
  2571.         va_list ap)
  2572. {
  2573. return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchA)
  2574.     (this,methodId,descriptor,ap);
  2575. }
  2576.  
  2577. /* the varargs invocation form */
  2578. void*   somDispatchA(somId methodId,
  2579.         somId descriptor,
  2580.         ...)
  2581. {
  2582.    va_list ap;
  2583.    va_start(ap, descriptor);
  2584.    void* __somResult = 
  2585.       SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchA)
  2586.     (this,methodId,descriptor,ap);
  2587.    va_end(ap);
  2588.    return __somResult;
  2589. }
  2590.  
  2591.  
  2592. /* va_list method: somDispatchD */
  2593. /* the va_list invocation form */
  2594. double   WPMinWinViewer_somDispatchD(somId methodId,
  2595.         somId descriptor,
  2596.         va_list ap)
  2597. {
  2598. return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchD)
  2599.     (this,methodId,descriptor,ap);
  2600. }
  2601.  
  2602. /* the varargs invocation form */
  2603. double   somDispatchD(somId methodId,
  2604.         somId descriptor,
  2605.         ...)
  2606. {
  2607.    va_list ap;
  2608.    va_start(ap, descriptor);
  2609.    double __somResult = 
  2610.       SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDispatchD)
  2611.     (this,methodId,descriptor,ap);
  2612.    va_end(ap);
  2613.    return __somResult;
  2614. }
  2615.  
  2616.  
  2617. /* method: somPrintSelf */
  2618. SOMObject*   somPrintSelf()
  2619. {
  2620.    return SOM_ResolveD(this,WPMinWinViewer,SOMObject,somPrintSelf)
  2621.     (this);
  2622. }
  2623.  
  2624.  
  2625. /* method: somDumpSelf */
  2626. void   somDumpSelf(long level)
  2627. {
  2628.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDumpSelf)
  2629.     (this,level);
  2630. }
  2631.  
  2632.  
  2633. /* method: somDumpSelfInt */
  2634. void   somDumpSelfInt(long level)
  2635. {
  2636.    SOM_ResolveD(this,WPMinWinViewer,SOMObject,somDumpSelfInt)
  2637.     (this,level);
  2638. }
  2639.  
  2640.  
  2641.  
  2642. };   /* WPMinWinViewer */
  2643.  
  2644.  
  2645.  
  2646. #endif       /* SOM_WPMinWinViewer_xh */
  2647.  
  2648. #ifndef SOM_M_WPMinWinViewer_xh
  2649. #define SOM_M_WPMinWinViewer_xh
  2650.  
  2651. class M_WPMinWinViewer;
  2652.  
  2653. #define M_WPMinWinViewer_MajorVersion 1
  2654. #define M_WPMinWinViewer_MinorVersion 2
  2655.  
  2656. /* C++ SOM defs */
  2657. #include <somcls.xh>
  2658. #include <somcm.xh>
  2659.  
  2660. /* C++ parent defs */
  2661. #ifndef SOM_M_WPFolder_xh
  2662. #include <wpfolder.xh>
  2663. #endif
  2664.  
  2665. #ifndef M_WPMinWinViewer_API
  2666. #define M_WPMinWinViewer_API
  2667. /*
  2668.  * -- The Class API
  2669.  */
  2670.  
  2671. /*
  2672.  * Start of user-defined types:
  2673.  */
  2674.  
  2675. /*
  2676.  * End of user-defined types.
  2677.  */
  2678.  
  2679. /*
  2680.  * -- M_WPMinWinViewer is a metaclass for WPMinWinViewer. Make sure WPMinWinViewer is known.
  2681.  */
  2682. class WPMinWinViewer;
  2683.  
  2684.  
  2685. /* A procedure to create the M_WPMinWinViewer Class */
  2686. SOMEXTERN SOMClass * SOMLINK M_WPMinWinViewerNewClass(
  2687.         integer4 majorVersion,
  2688.         integer4 minorVersion);
  2689.  
  2690. /* The API to the M_WPMinWinViewer class object, and the methods it introduces. */
  2691. SOMEXTERN struct M_WPMinWinViewerClassDataStructure {
  2692.     SOMClass *classObject;
  2693. } SOMDLINK M_WPMinWinViewerClassData;
  2694. #define _M_WPMinWinViewer M_WPMinWinViewerClassData.classObject
  2695.  
  2696. /* The API to parentMtabs for M_WPMinWinViewer, and the instance data it introduces. */
  2697. SOMEXTERN struct M_WPMinWinViewerCClassDataStructure {
  2698.     somMethodTabs parentMtab;
  2699.     somDToken              instanceDataToken;
  2700. } SOMDLINK M_WPMinWinViewerCClassData;
  2701.  
  2702. /*
  2703.  * -- Typedefs for M_WPMinWinViewer Method Procedures
  2704.  */
  2705. SOMEXTERN {
  2706.  
  2707. /*
  2708.  * -- Typedefs for Reintroduced Wrapper Methods
  2709.  */
  2710. typedef ULONG   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryIconDataN)(M_WPMinWinViewer *somSelf,
  2711.         ICONINFO* pIconInfo,
  2712.         ULONG ulIconIndex);
  2713. typedef HPOINTER   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryIconN)(M_WPMinWinViewer *somSelf,
  2714.         ULONG ulIconIndex);
  2715. typedef WPFolder*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryOpenFolders)(M_WPMinWinViewer *somSelf,
  2716.         WPFolder* Folder,
  2717.         ULONG ulOption,
  2718.         BOOL fLock);
  2719. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_wpclsInitData)(M_WPMinWinViewer *somSelf);
  2720. typedef ULONG   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryDefaultView)(M_WPMinWinViewer *somSelf);
  2721. typedef PSZ   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryTitle)(M_WPMinWinViewer *somSelf);
  2722. typedef ULONG   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryIconData)(M_WPMinWinViewer *somSelf,
  2723.         PICONINFO pIconInfo);
  2724. typedef ULONG   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryStyle)(M_WPMinWinViewer *somSelf);
  2725. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryDefaultHelp)(M_WPMinWinViewer *somSelf,
  2726.         PULONG pHelpPanelId,
  2727.         PSZ pszHelpLibrary);
  2728. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryAwakeObject)(M_WPMinWinViewer *somSelf,
  2729.         PSZ pszInputPath);
  2730. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsFileSysExists)(M_WPMinWinViewer *somSelf,
  2731.         WPFolder* Folder,
  2732.         PSZ pszFilename,
  2733.         ULONG attrFile);
  2734. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryObjectFromPath)(M_WPMinWinViewer *somSelf,
  2735.         PSZ pszFQPath);
  2736. typedef PSZ   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryInstanceType)(M_WPMinWinViewer *somSelf);
  2737. typedef PSZ   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryInstanceFilter)(M_WPMinWinViewer *somSelf);
  2738. typedef ULONG   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryDetailsInfo)(M_WPMinWinViewer *somSelf,
  2739.         PCLASSFIELDINFO* ppClassFieldInfo,
  2740.         PULONG pSize);
  2741. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQuerySearchInfo)(M_WPMinWinViewer *somSelf,
  2742.         M_WPObject** ClassExtended,
  2743.         M_WPObject** ClassCreate,
  2744.         PULONG pulClassCriteriaSize);
  2745. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryExtendedCriteria)(M_WPMinWinViewer *somSelf,
  2746.         PSZ pszName,
  2747.         ULONG ulSearchType,
  2748.         PVOID pvoidExtendedCriteria);
  2749. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsNew)(M_WPMinWinViewer *somSelf,
  2750.         PSZ pszTitle,
  2751.         PSZ pszSetupEnv,
  2752.         WPFolder* Folder,
  2753.         BOOL fLock);
  2754. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsCreateDefaultTemplates)(M_WPMinWinViewer *somSelf,
  2755.         WPObject* Folder);
  2756. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsMakeAwake)(M_WPMinWinViewer *somSelf,
  2757.         PSZ pszTitle,
  2758.         ULONG ulStyle,
  2759.         HPOINTER hptrIcon,
  2760.         POBJDATA pObjData,
  2761.         WPFolder* Folder,
  2762.         ULONG ulUser);
  2763. typedef PCLASSDETAILS   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryDetails)(M_WPMinWinViewer *somSelf);
  2764. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryFolder)(M_WPMinWinViewer *somSelf,
  2765.         PSZ pszLocation,
  2766.         BOOL fLock);
  2767. typedef HPOINTER   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryIcon)(M_WPMinWinViewer *somSelf);
  2768. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_wpclsUnInitData)(M_WPMinWinViewer *somSelf);
  2769. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsFindObjectFirst)(M_WPMinWinViewer *somSelf,
  2770.         PCLASS pClassList,
  2771.         PHFIND phFind,
  2772.         PSZ pszTitle,
  2773.         WPFolder* Folder,
  2774.         BOOL fSubfolders,
  2775.         PVOID pExtendedCriteria,
  2776.         POBJECT pBuffer,
  2777.         PULONG pCount);
  2778. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsFindObjectNext)(M_WPMinWinViewer *somSelf,
  2779.         HFIND hFind,
  2780.         POBJECT pBuffer,
  2781.         PULONG pCount);
  2782. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsFindObjectEnd)(M_WPMinWinViewer *somSelf,
  2783.         HFIND hFind);
  2784. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsSetError)(M_WPMinWinViewer *somSelf,
  2785.         ULONG ulErrorId);
  2786. typedef ULONG   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryError)(M_WPMinWinViewer *somSelf);
  2787. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQuerySettingsPageSize)(M_WPMinWinViewer *somSelf,
  2788.         PSIZEL pSizl);
  2789. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryObject)(M_WPMinWinViewer *somSelf,
  2790.         HOBJECT hObject);
  2791. typedef ULONG   (SOMLINK * somTD_M_WPMinWinViewer_wpclsQueryButtonAppearance)(M_WPMinWinViewer *somSelf);
  2792. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_wpclsDecUsage)(M_WPMinWinViewer *somSelf);
  2793. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_wpclsIncUsage)(M_WPMinWinViewer *somSelf);
  2794. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsInsertMultipleObjects)(M_WPMinWinViewer *somSelf,
  2795.         HWND hwndCnr,
  2796.         PPOINTL pptlIcon,
  2797.         PVOID* pObjectArray,
  2798.         PVOID pRecordParent,
  2799.         ULONG NumRecords);
  2800. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsFindOneObject)(M_WPMinWinViewer *somSelf,
  2801.         HWND hwndOwner,
  2802.         PSZ pszFindParams);
  2803. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsSetSettingsPageSize)(M_WPMinWinViewer *somSelf,
  2804.         PSIZEL pSizl);
  2805. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsSetIconData)(M_WPMinWinViewer *somSelf,
  2806.         PICONINFO pIconInfo);
  2807. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsSetIcon)(M_WPMinWinViewer *somSelf,
  2808.         HPOINTER hptrNewIcon);
  2809. typedef WPObject*   (SOMLINK * somTD_M_WPMinWinViewer_wpclsObjectFromHandle)(M_WPMinWinViewer *somSelf,
  2810.         HOBJECT hObject);
  2811. typedef BOOL   (SOMLINK * somTD_M_WPMinWinViewer_wpclsRemoveObjects)(M_WPMinWinViewer *somSelf,
  2812.         HWND hwndCnr,
  2813.         PVOID* pRecordArray,
  2814.         ULONG NumRecords,
  2815.         BOOL RemoveAll);
  2816. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somUninit)(M_WPMinWinViewer *somSelf);
  2817. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somClassReady)(M_WPMinWinViewer *somSelf);
  2818. typedef WPMinWinViewer*   (SOMLINK * somTD_M_WPMinWinViewer_somNew)(M_WPMinWinViewer *somSelf);
  2819. typedef SOMObject*   (SOMLINK * somTD_M_WPMinWinViewer_somRenew)(M_WPMinWinViewer *somSelf,
  2820.         void* obj);
  2821. typedef long   (SOMLINK * somTD_M_WPMinWinViewer__get_somDataAlignment)(M_WPMinWinViewer *somSelf);
  2822. typedef SOMClass_somOffsets   (SOMLINK * somTD_M_WPMinWinViewer__get_somInstanceDataOffsets)(M_WPMinWinViewer *somSelf);
  2823. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPMinWinViewer__get_somDirectInitClasses)(M_WPMinWinViewer *somSelf);
  2824. typedef void   (SOMLINK * somTD_M_WPMinWinViewer__set_somDirectInitClasses)(M_WPMinWinViewer *somSelf,
  2825.         SOMClass_SOMClassSequence* somDirectInitClasses);
  2826. typedef SOMObject*   (SOMLINK * somTD_M_WPMinWinViewer_somNewNoInit)(M_WPMinWinViewer *somSelf);
  2827. typedef SOMObject*   (SOMLINK * somTD_M_WPMinWinViewer_somRenewNoInit)(M_WPMinWinViewer *somSelf,
  2828.         void* obj);
  2829. typedef SOMObject*   (SOMLINK * somTD_M_WPMinWinViewer_somRenewNoZero)(M_WPMinWinViewer *somSelf,
  2830.         void* obj);
  2831. typedef SOMObject*   (SOMLINK * somTD_M_WPMinWinViewer_somRenewNoInitNoZero)(M_WPMinWinViewer *somSelf,
  2832.         void* obj);
  2833. typedef string   (SOMLINK * somTD_M_WPMinWinViewer_somAllocate)(M_WPMinWinViewer *somSelf,
  2834.         long size);
  2835. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDeallocate)(M_WPMinWinViewer *somSelf,
  2836.         string memptr);
  2837. typedef somMethodProc*   (SOMLINK * somTD_M_WPMinWinViewer__get_somClassAllocate)(M_WPMinWinViewer *somSelf);
  2838. typedef somMethodProc*   (SOMLINK * somTD_M_WPMinWinViewer__get_somClassDeallocate)(M_WPMinWinViewer *somSelf);
  2839. typedef somBooleanVector   (SOMLINK * somTD_M_WPMinWinViewer_somGetInstanceInitMask)(M_WPMinWinViewer *somSelf,
  2840.         somInitCtrl* ctrl);
  2841. typedef somBooleanVector   (SOMLINK * somTD_M_WPMinWinViewer_somGetInstanceDestructionMask)(M_WPMinWinViewer *somSelf,
  2842.         somDestructCtrl* ctrl);
  2843. typedef somBooleanVector   (SOMLINK * somTD_M_WPMinWinViewer_somGetInstanceAssignmentMask)(M_WPMinWinViewer *somSelf,
  2844.         somAssignCtrl* ctrl);
  2845. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somInitClass)(M_WPMinWinViewer *somSelf,
  2846.         string className,
  2847.         SOMClass* parentClass,
  2848.         long dataSize,
  2849.         long maxStaticMethods,
  2850.         long majorVersion,
  2851.         long minorVersion);
  2852. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somInitMIClass)(M_WPMinWinViewer *somSelf,
  2853.         long inherit_vars,
  2854.         string className,
  2855.         SOMClass_SOMClassSequence* parentClasses,
  2856.         long dataSize,
  2857.         long dataAlignment,
  2858.         long maxStaticMethods,
  2859.         long majorVersion,
  2860.         long minorVersion);
  2861. typedef somMToken   (SOMLINK * somTD_M_WPMinWinViewer_somAddStaticMethod)(M_WPMinWinViewer *somSelf,
  2862.         somId methodId,
  2863.         somId methodDescriptor,
  2864.         somMethodPtr method,
  2865.         somMethodPtr redispatchStub,
  2866.         somMethodPtr applyStub);
  2867. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somAddDynamicMethod)(M_WPMinWinViewer *somSelf,
  2868.         somId methodId,
  2869.         somId methodDescriptor,
  2870.         somMethodPtr method,
  2871.         somMethodPtr applyStub);
  2872. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somOverrideSMethod)(M_WPMinWinViewer *somSelf,
  2873.         somId methodId,
  2874.         somMethodPtr method);
  2875. typedef somMethodPtr   (SOMLINK * somTD_M_WPMinWinViewer_somGetApplyStub)(M_WPMinWinViewer *somSelf,
  2876.         somId methodId);
  2877. typedef somClassDataStructure*   (SOMLINK * somTD_M_WPMinWinViewer_somGetClassData)(M_WPMinWinViewer *somSelf);
  2878. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somSetClassData)(M_WPMinWinViewer *somSelf,
  2879.         somClassDataStructure* cds);
  2880. typedef somMethodTab*   (SOMLINK * somTD_M_WPMinWinViewer_somGetClassMtab)(M_WPMinWinViewer *somSelf);
  2881. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somGetInstanceOffset)(M_WPMinWinViewer *somSelf);
  2882. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somGetInstancePartSize)(M_WPMinWinViewer *somSelf);
  2883. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somGetInstanceSize)(M_WPMinWinViewer *somSelf);
  2884. typedef somDToken   (SOMLINK * somTD_M_WPMinWinViewer_somGetInstanceToken)(M_WPMinWinViewer *somSelf);
  2885. typedef somDToken   (SOMLINK * somTD_M_WPMinWinViewer_somGetMemberToken)(M_WPMinWinViewer *somSelf,
  2886.         long memberOffset,
  2887.         somDToken instanceToken);
  2888. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somGetMethodData)(M_WPMinWinViewer *somSelf,
  2889.         somId methodId,
  2890.         somMethodData* md);
  2891. typedef somMethodProc*   (SOMLINK * somTD_M_WPMinWinViewer_somGetRdStub)(M_WPMinWinViewer *somSelf,
  2892.         somId methodId);
  2893. typedef somId   (SOMLINK * somTD_M_WPMinWinViewer_somGetMethodDescriptor)(M_WPMinWinViewer *somSelf,
  2894.         somId methodId);
  2895. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somGetMethodIndex)(M_WPMinWinViewer *somSelf,
  2896.         somId id);
  2897. typedef somMToken   (SOMLINK * somTD_M_WPMinWinViewer_somGetMethodToken)(M_WPMinWinViewer *somSelf,
  2898.         somId methodId);
  2899. typedef string   (SOMLINK * somTD_M_WPMinWinViewer_somGetName)(M_WPMinWinViewer *somSelf);
  2900. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somGetNthMethodData)(M_WPMinWinViewer *somSelf,
  2901.         long n,
  2902.         somMethodData* md);
  2903. typedef somId   (SOMLINK * somTD_M_WPMinWinViewer_somGetNthMethodInfo)(M_WPMinWinViewer *somSelf,
  2904.         long n,
  2905.         somId* descriptor);
  2906. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somGetNumMethods)(M_WPMinWinViewer *somSelf);
  2907. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somGetNumStaticMethods)(M_WPMinWinViewer *somSelf);
  2908. typedef SOMClass*   (SOMLINK * somTD_M_WPMinWinViewer_somGetParent)(M_WPMinWinViewer *somSelf);
  2909. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPMinWinViewer_somGetParents)(M_WPMinWinViewer *somSelf);
  2910. typedef somMethodTabs   (SOMLINK * somTD_M_WPMinWinViewer_somGetPClsMtab)(M_WPMinWinViewer *somSelf);
  2911. typedef somMethodTabs   (SOMLINK * somTD_M_WPMinWinViewer_somGetPClsMtabs)(M_WPMinWinViewer *somSelf);
  2912. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somGetVersionNumbers)(M_WPMinWinViewer *somSelf,
  2913.         long* majorVersion,
  2914.         long* minorVersion);
  2915. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somSetMethodDescriptor)(M_WPMinWinViewer *somSelf,
  2916.         somId methodId,
  2917.         somId descriptor);
  2918. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somFindMethod)(M_WPMinWinViewer *somSelf,
  2919.         somId methodId,
  2920.         somMethodPtr* m);
  2921. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somFindMethodOk)(M_WPMinWinViewer *somSelf,
  2922.         somId methodId,
  2923.         somMethodPtr* m);
  2924. typedef somMethodPtr   (SOMLINK * somTD_M_WPMinWinViewer_somFindSMethod)(M_WPMinWinViewer *somSelf,
  2925.         somId methodId);
  2926. typedef somMethodPtr   (SOMLINK * somTD_M_WPMinWinViewer_somFindSMethodOk)(M_WPMinWinViewer *somSelf,
  2927.         somId methodId);
  2928. typedef somMethodPtr   (SOMLINK * somTD_M_WPMinWinViewer_somLookupMethod)(M_WPMinWinViewer *somSelf,
  2929.         somId methodId);
  2930. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somCheckVersion)(M_WPMinWinViewer *somSelf,
  2931.         long majorVersion,
  2932.         long minorVersion);
  2933. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somDescendedFrom)(M_WPMinWinViewer *somSelf,
  2934.         SOMClass* aClassObj);
  2935. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somSupportsMethod)(M_WPMinWinViewer *somSelf,
  2936.         somId mId);
  2937. typedef somMethodPtr   (SOMLINK * somTD_M_WPMinWinViewer_somDefinedMethod)(M_WPMinWinViewer *somSelf,
  2938.         somMToken method);
  2939. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somOverrideMtab)(M_WPMinWinViewer *somSelf);
  2940. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultInit)(M_WPMinWinViewer *somSelf,
  2941.         somInitCtrl* ctrl);
  2942. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDestruct)(M_WPMinWinViewer *somSelf,
  2943.         octet doFree,
  2944.         somDestructCtrl* ctrl);
  2945. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultCopyInit)(M_WPMinWinViewer *somSelf,
  2946.         somInitCtrl* ctrl,
  2947.         SOMObject* fromObj);
  2948. typedef M_WPMinWinViewer*   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultAssign)(M_WPMinWinViewer *somSelf,
  2949.         somAssignCtrl* ctrl,
  2950.         SOMObject* fromObj);
  2951. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultConstCopyInit)(M_WPMinWinViewer *somSelf,
  2952.         somInitCtrl* ctrl,
  2953.         SOMObject* fromObj);
  2954. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultVCopyInit)(M_WPMinWinViewer *somSelf,
  2955.         somInitCtrl* ctrl,
  2956.         SOMObject* fromObj);
  2957. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultConstVCopyInit)(M_WPMinWinViewer *somSelf,
  2958.         somInitCtrl* ctrl,
  2959.         SOMObject* fromObj);
  2960. typedef M_WPMinWinViewer*   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultConstAssign)(M_WPMinWinViewer *somSelf,
  2961.         somAssignCtrl* ctrl,
  2962.         SOMObject* fromObj);
  2963. typedef M_WPMinWinViewer*   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultVAssign)(M_WPMinWinViewer *somSelf,
  2964.         somAssignCtrl* ctrl,
  2965.         SOMObject* fromObj);
  2966. typedef M_WPMinWinViewer*   (SOMLINK * somTD_M_WPMinWinViewer_somDefaultConstVAssign)(M_WPMinWinViewer *somSelf,
  2967.         somAssignCtrl* ctrl,
  2968.         SOMObject* fromObj);
  2969. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somInit)(M_WPMinWinViewer *somSelf);
  2970. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somFree)(M_WPMinWinViewer *somSelf);
  2971. typedef SOMClass*   (SOMLINK * somTD_M_WPMinWinViewer_somGetClass)(M_WPMinWinViewer *somSelf);
  2972. typedef string   (SOMLINK * somTD_M_WPMinWinViewer_somGetClassName)(M_WPMinWinViewer *somSelf);
  2973. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somGetSize)(M_WPMinWinViewer *somSelf);
  2974. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somIsA)(M_WPMinWinViewer *somSelf,
  2975.         SOMClass* aClassObj);
  2976. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somIsInstanceOf)(M_WPMinWinViewer *somSelf,
  2977.         SOMClass* aClassObj);
  2978. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somRespondsTo)(M_WPMinWinViewer *somSelf,
  2979.         somId mId);
  2980. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somDispatch)(M_WPMinWinViewer *somSelf,
  2981.         somToken* retValue,
  2982.         somId methodId,
  2983.         va_list ap);
  2984. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somClassDispatch)(M_WPMinWinViewer *somSelf,
  2985.         SOMClass* clsObj,
  2986.         somToken* retValue,
  2987.         somId methodId,
  2988.         va_list ap);
  2989. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somCastObj)(M_WPMinWinViewer *somSelf,
  2990.         SOMClass* cls);
  2991. typedef boolean   (SOMLINK * somTD_M_WPMinWinViewer_somResetObj)(M_WPMinWinViewer *somSelf);
  2992. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDispatchV)(M_WPMinWinViewer *somSelf,
  2993.         somId methodId,
  2994.         somId descriptor,
  2995.         va_list ap);
  2996. typedef long   (SOMLINK * somTD_M_WPMinWinViewer_somDispatchL)(M_WPMinWinViewer *somSelf,
  2997.         somId methodId,
  2998.         somId descriptor,
  2999.         va_list ap);
  3000. typedef void*   (SOMLINK * somTD_M_WPMinWinViewer_somDispatchA)(M_WPMinWinViewer *somSelf,
  3001.         somId methodId,
  3002.         somId descriptor,
  3003.         va_list ap);
  3004. typedef double   (SOMLINK * somTD_M_WPMinWinViewer_somDispatchD)(M_WPMinWinViewer *somSelf,
  3005.         somId methodId,
  3006.         somId descriptor,
  3007.         va_list ap);
  3008. typedef SOMObject*   (SOMLINK * somTD_M_WPMinWinViewer_somPrintSelf)(M_WPMinWinViewer *somSelf);
  3009. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDumpSelf)(M_WPMinWinViewer *somSelf,
  3010.         long level);
  3011. typedef void   (SOMLINK * somTD_M_WPMinWinViewer_somDumpSelfInt)(M_WPMinWinViewer *somSelf,
  3012.         long level);
  3013. }
  3014.  
  3015. #endif /* M_WPMinWinViewer_API */
  3016.  
  3017.  
  3018. /*
  3019.  * -- This emitter treats Method Tokens as Thunks by default.
  3020.  * -- Use the sc modifier "nothunks" to change this default
  3021.  */
  3022. #undef somresolve_
  3023. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  3024.  
  3025. /*
  3026.  * -- The C++ Wrapper Class for M_WPMinWinViewer
  3027.  */
  3028. class M_WPMinWinViewer : public M_WPFolder
  3029. {
  3030. public:
  3031.  
  3032. // M_WPMinWinViewer::new creates the class object if necessary, and then uses somNewNoInit
  3033. // to allocate memory and create the object. Initialization is in ctors.
  3034. void *operator new(size_t size)
  3035. {
  3036.    SOM_IgnoreWarning(size);
  3037.    if (!_M_WPMinWinViewer) M_WPMinWinViewerNewClass(M_WPMinWinViewer_MajorVersion,M_WPMinWinViewer_MinorVersion);
  3038.    return (void*)
  3039.       SOM_Resolve(_M_WPMinWinViewer,SOMClass,somNewNoInit)
  3040.          ((SOMClass *)((void*)_M_WPMinWinViewer));
  3041. }
  3042.  
  3043. // M_WPMinWinViewer::delete uses the default deallocator for the object's class.
  3044. void operator delete(void * obj)
  3045. {
  3046.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  3047.    if (somIsObj(objCls)) {
  3048.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  3049.          ((SOMClass*)objCls, (string)obj);
  3050.    }
  3051. }
  3052.  
  3053. M_WPMinWinViewer()
  3054. {
  3055.    if (*(void**)this != 
  3056.        ((somParentMtabStructPtr)
  3057.         (M_WPMinWinViewerCClassData.parentMtab))->mtab)
  3058.       return;
  3059.    somDefaultInit(0);
  3060. }
  3061.  
  3062. M_WPMinWinViewer(M_WPMinWinViewer* fromObj)
  3063. {
  3064.    if (*(void**)this != 
  3065.        ((somParentMtabStructPtr)
  3066.         (M_WPMinWinViewerCClassData.parentMtab))->mtab)
  3067.       return;
  3068.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  3069. }
  3070.  
  3071. M_WPMinWinViewer(const M_WPMinWinViewer* fromObj)
  3072. {
  3073.    if (*(void**)this != 
  3074.        ((somParentMtabStructPtr)
  3075.         (M_WPMinWinViewerCClassData.parentMtab))->mtab)
  3076.       return;
  3077.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  3078. }
  3079.  
  3080. ~M_WPMinWinViewer()
  3081. {
  3082.    if (!somIsObj(this)) return;
  3083.    somDestruct(0,0);
  3084.    *(void**)this = **(void***)this;
  3085. }
  3086.  
  3087.  
  3088. /*
  3089.  * Reintroduce inherited methods
  3090.  */
  3091.  
  3092. /* method: wpclsQueryIconDataN */
  3093. ULONG   wpclsQueryIconDataN(ICONINFO* pIconInfo,
  3094.         ULONG ulIconIndex)
  3095. {
  3096.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFolder,wpclsQueryIconDataN)
  3097.     (this,pIconInfo,ulIconIndex);
  3098. }
  3099.  
  3100.  
  3101. /* method: wpclsQueryIconN */
  3102. HPOINTER   wpclsQueryIconN(ULONG ulIconIndex)
  3103. {
  3104.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFolder,wpclsQueryIconN)
  3105.     (this,ulIconIndex);
  3106. }
  3107.  
  3108.  
  3109. /* method: wpclsQueryOpenFolders */
  3110. WPFolder*   wpclsQueryOpenFolders(WPFolder* Folder,
  3111.         ULONG ulOption,
  3112.         BOOL fLock)
  3113. {
  3114.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFolder,wpclsQueryOpenFolders)
  3115.     (this,Folder,ulOption,fLock);
  3116. }
  3117.  
  3118.  
  3119. /* method: wpclsInitData */
  3120. void   wpclsInitData()
  3121. {
  3122.    SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsInitData)
  3123.     (this);
  3124. }
  3125.  
  3126.  
  3127. /* method: wpclsQueryDefaultView */
  3128. ULONG   wpclsQueryDefaultView()
  3129. {
  3130.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryDefaultView)
  3131.     (this);
  3132. }
  3133.  
  3134.  
  3135. /* method: wpclsQueryTitle */
  3136. PSZ   wpclsQueryTitle()
  3137. {
  3138.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryTitle)
  3139.     (this);
  3140. }
  3141.  
  3142.  
  3143. /* method: wpclsQueryIconData */
  3144. ULONG   wpclsQueryIconData(PICONINFO pIconInfo)
  3145. {
  3146.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryIconData)
  3147.     (this,pIconInfo);
  3148. }
  3149.  
  3150.  
  3151. /* method: wpclsQueryStyle */
  3152. ULONG   wpclsQueryStyle()
  3153. {
  3154.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryStyle)
  3155.     (this);
  3156. }
  3157.  
  3158.  
  3159. /* method: wpclsQueryDefaultHelp */
  3160. BOOL   wpclsQueryDefaultHelp(PULONG pHelpPanelId,
  3161.         PSZ pszHelpLibrary)
  3162. {
  3163.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryDefaultHelp)
  3164.     (this,pHelpPanelId,pszHelpLibrary);
  3165. }
  3166.  
  3167.  
  3168. /* method: wpclsQueryAwakeObject */
  3169. WPObject*   wpclsQueryAwakeObject(PSZ pszInputPath)
  3170. {
  3171.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFileSystem,wpclsQueryAwakeObject)
  3172.     (this,pszInputPath);
  3173. }
  3174.  
  3175.  
  3176. /* method: wpclsFileSysExists */
  3177. WPObject*   wpclsFileSysExists(WPFolder* Folder,
  3178.         PSZ pszFilename,
  3179.         ULONG attrFile)
  3180. {
  3181.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFileSystem,wpclsFileSysExists)
  3182.     (this,Folder,pszFilename,attrFile);
  3183. }
  3184.  
  3185.  
  3186. /* method: wpclsQueryObjectFromPath */
  3187. WPObject*   wpclsQueryObjectFromPath(PSZ pszFQPath)
  3188. {
  3189.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFileSystem,wpclsQueryObjectFromPath)
  3190.     (this,pszFQPath);
  3191. }
  3192.  
  3193.  
  3194. /* method: wpclsQueryInstanceType */
  3195. PSZ   wpclsQueryInstanceType()
  3196. {
  3197.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFileSystem,wpclsQueryInstanceType)
  3198.     (this);
  3199. }
  3200.  
  3201.  
  3202. /* method: wpclsQueryInstanceFilter */
  3203. PSZ   wpclsQueryInstanceFilter()
  3204. {
  3205.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPFileSystem,wpclsQueryInstanceFilter)
  3206.     (this);
  3207. }
  3208.  
  3209.  
  3210. /* method: wpclsQueryDetailsInfo */
  3211. ULONG   wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo,
  3212.         PULONG pSize)
  3213. {
  3214.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryDetailsInfo)
  3215.     (this,ppClassFieldInfo,pSize);
  3216. }
  3217.  
  3218.  
  3219. /* method: wpclsQuerySearchInfo */
  3220. void   wpclsQuerySearchInfo(M_WPObject** ClassExtended,
  3221.         M_WPObject** ClassCreate,
  3222.         PULONG pulClassCriteriaSize)
  3223. {
  3224.    SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQuerySearchInfo)
  3225.     (this,ClassExtended,ClassCreate,pulClassCriteriaSize);
  3226. }
  3227.  
  3228.  
  3229. /* method: wpclsQueryExtendedCriteria */
  3230. BOOL   wpclsQueryExtendedCriteria(PSZ pszName,
  3231.         ULONG ulSearchType,
  3232.         PVOID pvoidExtendedCriteria)
  3233. {
  3234.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryExtendedCriteria)
  3235.     (this,pszName,ulSearchType,pvoidExtendedCriteria);
  3236. }
  3237.  
  3238.  
  3239. /* method: wpclsNew */
  3240. WPObject*   wpclsNew(PSZ pszTitle,
  3241.         PSZ pszSetupEnv,
  3242.         WPFolder* Folder,
  3243.         BOOL fLock)
  3244. {
  3245.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsNew)
  3246.     (this,pszTitle,pszSetupEnv,Folder,fLock);
  3247. }
  3248.  
  3249.  
  3250. /* method: wpclsCreateDefaultTemplates */
  3251. BOOL   wpclsCreateDefaultTemplates(WPObject* Folder)
  3252. {
  3253.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsCreateDefaultTemplates)
  3254.     (this,Folder);
  3255. }
  3256.  
  3257.  
  3258. /* method: wpclsMakeAwake */
  3259. WPObject*   wpclsMakeAwake(PSZ pszTitle,
  3260.         ULONG ulStyle,
  3261.         HPOINTER hptrIcon,
  3262.         POBJDATA pObjData,
  3263.         WPFolder* Folder,
  3264.         ULONG ulUser)
  3265. {
  3266.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsMakeAwake)
  3267.     (this,pszTitle,ulStyle,hptrIcon,pObjData,Folder,ulUser);
  3268. }
  3269.  
  3270.  
  3271. /* method: wpclsQueryDetails */
  3272. PCLASSDETAILS   wpclsQueryDetails()
  3273. {
  3274.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryDetails)
  3275.     (this);
  3276. }
  3277.  
  3278.  
  3279. /* method: wpclsQueryFolder */
  3280. WPObject*   wpclsQueryFolder(PSZ pszLocation,
  3281.         BOOL fLock)
  3282. {
  3283.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryFolder)
  3284.     (this,pszLocation,fLock);
  3285. }
  3286.  
  3287.  
  3288. /* method: wpclsQueryIcon */
  3289. HPOINTER   wpclsQueryIcon()
  3290. {
  3291.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryIcon)
  3292.     (this);
  3293. }
  3294.  
  3295.  
  3296. /* method: wpclsUnInitData */
  3297. void   wpclsUnInitData()
  3298. {
  3299.    SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsUnInitData)
  3300.     (this);
  3301. }
  3302.  
  3303.  
  3304. /* method: wpclsFindObjectFirst */
  3305. BOOL   wpclsFindObjectFirst(PCLASS pClassList,
  3306.         PHFIND phFind,
  3307.         PSZ pszTitle,
  3308.         WPFolder* Folder,
  3309.         BOOL fSubfolders,
  3310.         PVOID pExtendedCriteria,
  3311.         POBJECT pBuffer,
  3312.         PULONG pCount)
  3313. {
  3314.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsFindObjectFirst)
  3315.     (this,pClassList,phFind,pszTitle,Folder,fSubfolders,pExtendedCriteria,pBuffer,pCount);
  3316. }
  3317.  
  3318.  
  3319. /* method: wpclsFindObjectNext */
  3320. BOOL   wpclsFindObjectNext(HFIND hFind,
  3321.         POBJECT pBuffer,
  3322.         PULONG pCount)
  3323. {
  3324.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsFindObjectNext)
  3325.     (this,hFind,pBuffer,pCount);
  3326. }
  3327.  
  3328.  
  3329. /* method: wpclsFindObjectEnd */
  3330. BOOL   wpclsFindObjectEnd(HFIND hFind)
  3331. {
  3332.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsFindObjectEnd)
  3333.     (this,hFind);
  3334. }
  3335.  
  3336.  
  3337. /* method: wpclsSetError */
  3338. BOOL   wpclsSetError(ULONG ulErrorId)
  3339. {
  3340.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsSetError)
  3341.     (this,ulErrorId);
  3342. }
  3343.  
  3344.  
  3345. /* method: wpclsQueryError */
  3346. ULONG   wpclsQueryError()
  3347. {
  3348.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryError)
  3349.     (this);
  3350. }
  3351.  
  3352.  
  3353. /* method: wpclsQuerySettingsPageSize */
  3354. BOOL   wpclsQuerySettingsPageSize(PSIZEL pSizl)
  3355. {
  3356.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQuerySettingsPageSize)
  3357.     (this,pSizl);
  3358. }
  3359.  
  3360.  
  3361. /* method: wpclsQueryObject */
  3362. WPObject*   wpclsQueryObject(HOBJECT hObject)
  3363. {
  3364.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryObject)
  3365.     (this,hObject);
  3366. }
  3367.  
  3368.  
  3369. /* method: wpclsQueryButtonAppearance */
  3370. ULONG   wpclsQueryButtonAppearance()
  3371. {
  3372.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsQueryButtonAppearance)
  3373.     (this);
  3374. }
  3375.  
  3376.  
  3377. /* method: wpclsDecUsage */
  3378. void   wpclsDecUsage()
  3379. {
  3380.    SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsDecUsage)
  3381.     (this);
  3382. }
  3383.  
  3384.  
  3385. /* method: wpclsIncUsage */
  3386. void   wpclsIncUsage()
  3387. {
  3388.    SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsIncUsage)
  3389.     (this);
  3390. }
  3391.  
  3392.  
  3393. /* method: wpclsInsertMultipleObjects */
  3394. BOOL   wpclsInsertMultipleObjects(HWND hwndCnr,
  3395.         PPOINTL pptlIcon,
  3396.         PVOID* pObjectArray,
  3397.         PVOID pRecordParent,
  3398.         ULONG NumRecords)
  3399. {
  3400.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsInsertMultipleObjects)
  3401.     (this,hwndCnr,pptlIcon,pObjectArray,pRecordParent,NumRecords);
  3402. }
  3403.  
  3404.  
  3405. /* method: wpclsFindOneObject */
  3406. WPObject*   wpclsFindOneObject(HWND hwndOwner,
  3407.         PSZ pszFindParams)
  3408. {
  3409.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsFindOneObject)
  3410.     (this,hwndOwner,pszFindParams);
  3411. }
  3412.  
  3413.  
  3414. /* method: wpclsSetSettingsPageSize */
  3415. BOOL   wpclsSetSettingsPageSize(PSIZEL pSizl)
  3416. {
  3417.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsSetSettingsPageSize)
  3418.     (this,pSizl);
  3419. }
  3420.  
  3421.  
  3422. /* method: wpclsSetIconData */
  3423. BOOL   wpclsSetIconData(PICONINFO pIconInfo)
  3424. {
  3425.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsSetIconData)
  3426.     (this,pIconInfo);
  3427. }
  3428.  
  3429.  
  3430. /* method: wpclsSetIcon */
  3431. BOOL   wpclsSetIcon(HPOINTER hptrNewIcon)
  3432. {
  3433.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsSetIcon)
  3434.     (this,hptrNewIcon);
  3435. }
  3436.  
  3437.  
  3438. /* method: wpclsObjectFromHandle */
  3439. WPObject*   wpclsObjectFromHandle(HOBJECT hObject)
  3440. {
  3441.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsObjectFromHandle)
  3442.     (this,hObject);
  3443. }
  3444.  
  3445.  
  3446. /* method: wpclsRemoveObjects */
  3447. BOOL   wpclsRemoveObjects(HWND hwndCnr,
  3448.         PVOID* pRecordArray,
  3449.         ULONG NumRecords,
  3450.         BOOL RemoveAll)
  3451. {
  3452.    return SOM_ResolveD(this,M_WPMinWinViewer,M_WPObject,wpclsRemoveObjects)
  3453.     (this,hwndCnr,pRecordArray,NumRecords,RemoveAll);
  3454. }
  3455.  
  3456.  
  3457. /* method: somUninit */
  3458. void   somUninit()
  3459. {
  3460.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somUninit)
  3461.     (this);
  3462. }
  3463.  
  3464.  
  3465. /* method: somClassReady */
  3466. void   somClassReady()
  3467. {
  3468.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somClassReady)
  3469.     (this);
  3470. }
  3471.  
  3472.  
  3473. /* method: somNew */
  3474. WPMinWinViewer*  somNew()
  3475. {
  3476.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somNew)
  3477.     (this);
  3478. }
  3479.  
  3480.  
  3481. /* method: somRenew */
  3482. SOMObject*   somRenew(void* obj)
  3483. {
  3484.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somRenew)
  3485.     (this,obj);
  3486. }
  3487.  
  3488.  
  3489. /* method: _get_somDataAlignment */
  3490. long   _get_somDataAlignment()
  3491. {
  3492.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,_get_somDataAlignment)
  3493.     (this);
  3494. }
  3495.  
  3496.  
  3497. /* nonstatic method: _get_somInstanceDataOffsets */
  3498. SOMClass_somOffsets   _get_somInstanceDataOffsets()
  3499. {
  3500.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,_get_somInstanceDataOffsets)
  3501.     (this);
  3502. }
  3503.  
  3504.  
  3505. /* nonstatic method: _get_somDirectInitClasses */
  3506. SOMClass_SOMClassSequence   _get_somDirectInitClasses()
  3507. {
  3508.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,_get_somDirectInitClasses)
  3509.     (this);
  3510. }
  3511.  
  3512.  
  3513. /* nonstatic method: _set_somDirectInitClasses */
  3514. void   _set_somDirectInitClasses(SOMClass_SOMClassSequence* somDirectInitClasses)
  3515. {
  3516.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,_set_somDirectInitClasses)
  3517.     (this,somDirectInitClasses);
  3518. }
  3519.  
  3520.  
  3521. /* method: somNewNoInit */
  3522. SOMObject*   somNewNoInit()
  3523. {
  3524.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somNewNoInit)
  3525.     (this);
  3526. }
  3527.  
  3528.  
  3529. /* method: somRenewNoInit */
  3530. SOMObject*   somRenewNoInit(void* obj)
  3531. {
  3532.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somRenewNoInit)
  3533.     (this,obj);
  3534. }
  3535.  
  3536.  
  3537. /* method: somRenewNoZero */
  3538. SOMObject*   somRenewNoZero(void* obj)
  3539. {
  3540.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somRenewNoZero)
  3541.     (this,obj);
  3542. }
  3543.  
  3544.  
  3545. /* method: somRenewNoInitNoZero */
  3546. SOMObject*   somRenewNoInitNoZero(void* obj)
  3547. {
  3548.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somRenewNoInitNoZero)
  3549.     (this,obj);
  3550. }
  3551.  
  3552.  
  3553. /* nonstatic method: somAllocate */
  3554. string   somAllocate(long size)
  3555. {
  3556.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somAllocate)
  3557.     (this,size);
  3558. }
  3559.  
  3560.  
  3561. /* nonstatic method: somDeallocate */
  3562. void   somDeallocate(string memptr)
  3563. {
  3564.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somDeallocate)
  3565.     (this,memptr);
  3566. }
  3567.  
  3568.  
  3569. /* nonstatic method: _get_somClassAllocate */
  3570. somMethodProc*   _get_somClassAllocate()
  3571. {
  3572.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,_get_somClassAllocate)
  3573.     (this);
  3574. }
  3575.  
  3576.  
  3577. /* nonstatic method: _get_somClassDeallocate */
  3578. somMethodProc*   _get_somClassDeallocate()
  3579. {
  3580.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,_get_somClassDeallocate)
  3581.     (this);
  3582. }
  3583.  
  3584.  
  3585. /* method: somGetInstanceInitMask */
  3586. somBooleanVector   somGetInstanceInitMask(somInitCtrl* ctrl)
  3587. {
  3588.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetInstanceInitMask)
  3589.     (this,ctrl);
  3590. }
  3591.  
  3592.  
  3593. /* method: somGetInstanceDestructionMask */
  3594. somBooleanVector   somGetInstanceDestructionMask(somDestructCtrl* ctrl)
  3595. {
  3596.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetInstanceDestructionMask)
  3597.     (this,ctrl);
  3598. }
  3599.  
  3600.  
  3601. /* method: somGetInstanceAssignmentMask */
  3602. somBooleanVector   somGetInstanceAssignmentMask(somAssignCtrl* ctrl)
  3603. {
  3604.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetInstanceAssignmentMask)
  3605.     (this,ctrl);
  3606. }
  3607.  
  3608.  
  3609. /* method: somInitClass */
  3610. void   somInitClass(string className,
  3611.         SOMClass* parentClass,
  3612.         long dataSize,
  3613.         long maxStaticMethods,
  3614.         long majorVersion,
  3615.         long minorVersion)
  3616. {
  3617.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somInitClass)
  3618.     (this,className,parentClass,dataSize,maxStaticMethods,majorVersion,minorVersion);
  3619. }
  3620.  
  3621.  
  3622. /* method: somInitMIClass */
  3623. void   somInitMIClass(long inherit_vars,
  3624.         string className,
  3625.         SOMClass_SOMClassSequence* parentClasses,
  3626.         long dataSize,
  3627.         long dataAlignment,
  3628.         long maxStaticMethods,
  3629.         long majorVersion,
  3630.         long minorVersion)
  3631. {
  3632.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somInitMIClass)
  3633.     (this,inherit_vars,className,parentClasses,dataSize,dataAlignment,maxStaticMethods,majorVersion,minorVersion);
  3634. }
  3635.  
  3636.  
  3637. /* method: somAddStaticMethod */
  3638. somMToken   somAddStaticMethod(somId methodId,
  3639.         somId methodDescriptor,
  3640.         somMethodPtr method,
  3641.         somMethodPtr redispatchStub,
  3642.         somMethodPtr applyStub)
  3643. {
  3644.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somAddStaticMethod)
  3645.     (this,methodId,methodDescriptor,method,redispatchStub,applyStub);
  3646. }
  3647.  
  3648.  
  3649. /* method: somAddDynamicMethod */
  3650. void   somAddDynamicMethod(somId methodId,
  3651.         somId methodDescriptor,
  3652.         somMethodPtr method,
  3653.         somMethodPtr applyStub)
  3654. {
  3655.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somAddDynamicMethod)
  3656.     (this,methodId,methodDescriptor,method,applyStub);
  3657. }
  3658.  
  3659.  
  3660. /* method: somOverrideSMethod */
  3661. void   somOverrideSMethod(somId methodId,
  3662.         somMethodPtr method)
  3663. {
  3664.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somOverrideSMethod)
  3665.     (this,methodId,method);
  3666. }
  3667.  
  3668.  
  3669. /* method: somGetApplyStub */
  3670. somMethodPtr   somGetApplyStub(somId methodId)
  3671. {
  3672.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetApplyStub)
  3673.     (this,methodId);
  3674. }
  3675.  
  3676.  
  3677. /* method: somGetClassData */
  3678. somClassDataStructure*   somGetClassData()
  3679. {
  3680.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetClassData)
  3681.     (this);
  3682. }
  3683.  
  3684.  
  3685. /* method: somSetClassData */
  3686. void   somSetClassData(somClassDataStructure* cds)
  3687. {
  3688.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somSetClassData)
  3689.     (this,cds);
  3690. }
  3691.  
  3692.  
  3693. /* method: somGetClassMtab */
  3694. somMethodTab*   somGetClassMtab()
  3695. {
  3696.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetClassMtab)
  3697.     (this);
  3698. }
  3699.  
  3700.  
  3701. /* method: somGetInstanceOffset */
  3702. long   somGetInstanceOffset()
  3703. {
  3704.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetInstanceOffset)
  3705.     (this);
  3706. }
  3707.  
  3708.  
  3709. /* method: somGetInstancePartSize */
  3710. long   somGetInstancePartSize()
  3711. {
  3712.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetInstancePartSize)
  3713.     (this);
  3714. }
  3715.  
  3716.  
  3717. /* method: somGetInstanceSize */
  3718. long   somGetInstanceSize()
  3719. {
  3720.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetInstanceSize)
  3721.     (this);
  3722. }
  3723.  
  3724.  
  3725. /* method: somGetInstanceToken */
  3726. somDToken   somGetInstanceToken()
  3727. {
  3728.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetInstanceToken)
  3729.     (this);
  3730. }
  3731.  
  3732.  
  3733. /* method: somGetMemberToken */
  3734. somDToken   somGetMemberToken(long memberOffset,
  3735.         somDToken instanceToken)
  3736. {
  3737.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetMemberToken)
  3738.     (this,memberOffset,instanceToken);
  3739. }
  3740.  
  3741.  
  3742. /* method: somGetMethodData */
  3743. boolean   somGetMethodData(somId methodId,
  3744.         somMethodData* md)
  3745. {
  3746.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetMethodData)
  3747.     (this,methodId,md);
  3748. }
  3749.  
  3750.  
  3751. /* method: somGetRdStub */
  3752. somMethodProc*   somGetRdStub(somId methodId)
  3753. {
  3754.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetRdStub)
  3755.     (this,methodId);
  3756. }
  3757.  
  3758.  
  3759. /* method: somGetMethodDescriptor */
  3760. somId   somGetMethodDescriptor(somId methodId)
  3761. {
  3762.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetMethodDescriptor)
  3763.     (this,methodId);
  3764. }
  3765.  
  3766.  
  3767. /* method: somGetMethodIndex */
  3768. long   somGetMethodIndex(somId id)
  3769. {
  3770.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetMethodIndex)
  3771.     (this,id);
  3772. }
  3773.  
  3774.  
  3775. /* method: somGetMethodToken */
  3776. somMToken   somGetMethodToken(somId methodId)
  3777. {
  3778.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetMethodToken)
  3779.     (this,methodId);
  3780. }
  3781.  
  3782.  
  3783. /* method: somGetName */
  3784. string   somGetName()
  3785. {
  3786.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetName)
  3787.     (this);
  3788. }
  3789.  
  3790.  
  3791. /* method: somGetNthMethodData */
  3792. boolean   somGetNthMethodData(long n,
  3793.         somMethodData* md)
  3794. {
  3795.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetNthMethodData)
  3796.     (this,n,md);
  3797. }
  3798.  
  3799.  
  3800. /* method: somGetNthMethodInfo */
  3801. somId   somGetNthMethodInfo(long n,
  3802.         somId* descriptor)
  3803. {
  3804.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetNthMethodInfo)
  3805.     (this,n,descriptor);
  3806. }
  3807.  
  3808.  
  3809. /* method: somGetNumMethods */
  3810. long   somGetNumMethods()
  3811. {
  3812.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetNumMethods)
  3813.     (this);
  3814. }
  3815.  
  3816.  
  3817. /* method: somGetNumStaticMethods */
  3818. long   somGetNumStaticMethods()
  3819. {
  3820.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetNumStaticMethods)
  3821.     (this);
  3822. }
  3823.  
  3824.  
  3825. /* method: somGetParent */
  3826. SOMClass*   somGetParent()
  3827. {
  3828.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetParent)
  3829.     (this);
  3830. }
  3831.  
  3832.  
  3833. /* method: somGetParents */
  3834. SOMClass_SOMClassSequence   somGetParents()
  3835. {
  3836.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetParents)
  3837.     (this);
  3838. }
  3839.  
  3840.  
  3841. /* method: somGetPClsMtab */
  3842. somMethodTabs   somGetPClsMtab()
  3843. {
  3844.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetPClsMtab)
  3845.     (this);
  3846. }
  3847.  
  3848.  
  3849. /* method: somGetPClsMtabs */
  3850. somMethodTabs   somGetPClsMtabs()
  3851. {
  3852.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetPClsMtabs)
  3853.     (this);
  3854. }
  3855.  
  3856.  
  3857. /* method: somGetVersionNumbers */
  3858. void   somGetVersionNumbers(long* majorVersion,
  3859.         long* minorVersion)
  3860. {
  3861.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somGetVersionNumbers)
  3862.     (this,majorVersion,minorVersion);
  3863. }
  3864.  
  3865.  
  3866. /* method: somSetMethodDescriptor */
  3867. boolean   somSetMethodDescriptor(somId methodId,
  3868.         somId descriptor)
  3869. {
  3870.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somSetMethodDescriptor)
  3871.     (this,methodId,descriptor);
  3872. }
  3873.  
  3874.  
  3875. /* method: somFindMethod */
  3876. boolean   somFindMethod(somId methodId,
  3877.         somMethodPtr* m)
  3878. {
  3879.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somFindMethod)
  3880.     (this,methodId,m);
  3881. }
  3882.  
  3883.  
  3884. /* method: somFindMethodOk */
  3885. boolean   somFindMethodOk(somId methodId,
  3886.         somMethodPtr* m)
  3887. {
  3888.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somFindMethodOk)
  3889.     (this,methodId,m);
  3890. }
  3891.  
  3892.  
  3893. /* method: somFindSMethod */
  3894. somMethodPtr   somFindSMethod(somId methodId)
  3895. {
  3896.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somFindSMethod)
  3897.     (this,methodId);
  3898. }
  3899.  
  3900.  
  3901. /* method: somFindSMethodOk */
  3902. somMethodPtr   somFindSMethodOk(somId methodId)
  3903. {
  3904.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somFindSMethodOk)
  3905.     (this,methodId);
  3906. }
  3907.  
  3908.  
  3909. /* method: somLookupMethod */
  3910. somMethodPtr   somLookupMethod(somId methodId)
  3911. {
  3912.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somLookupMethod)
  3913.     (this,methodId);
  3914. }
  3915.  
  3916.  
  3917. /* method: somCheckVersion */
  3918. boolean   somCheckVersion(long majorVersion,
  3919.         long minorVersion)
  3920. {
  3921.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somCheckVersion)
  3922.     (this,majorVersion,minorVersion);
  3923. }
  3924.  
  3925.  
  3926. /* method: somDescendedFrom */
  3927. boolean   somDescendedFrom(SOMClass* aClassObj)
  3928. {
  3929.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somDescendedFrom)
  3930.     (this,aClassObj);
  3931. }
  3932.  
  3933.  
  3934. /* method: somSupportsMethod */
  3935. boolean   somSupportsMethod(somId mId)
  3936. {
  3937.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somSupportsMethod)
  3938.     (this,mId);
  3939. }
  3940.  
  3941.  
  3942. /* method: somDefinedMethod */
  3943. somMethodPtr   somDefinedMethod(somMToken method)
  3944. {
  3945.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somDefinedMethod)
  3946.     (this,method);
  3947. }
  3948.  
  3949.  
  3950. /* method: somOverrideMtab */
  3951. void   somOverrideMtab()
  3952. {
  3953.    SOM_ResolveD(this,M_WPMinWinViewer,SOMClass,somOverrideMtab)
  3954.     (this);
  3955. }
  3956.  
  3957.  
  3958. /* initializer method: somDefaultInit */
  3959. void   somDefaultInit(somInitCtrl* ctrl)
  3960. {
  3961.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultInit)
  3962.     (this,ctrl);
  3963. }
  3964.  
  3965.  
  3966. /* method: somDestruct */
  3967. void   somDestruct(octet doFree,
  3968.         somDestructCtrl* ctrl)
  3969. {
  3970.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDestruct)
  3971.     (this,doFree,ctrl);
  3972. }
  3973.  
  3974.  
  3975. /* method: somDefaultCopyInit */
  3976. void   somDefaultCopyInit(somInitCtrl* ctrl,
  3977.         SOMObject* fromObj)
  3978. {
  3979.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultCopyInit)
  3980.     (this,ctrl,fromObj);
  3981. }
  3982.  
  3983.  
  3984. /* method: somDefaultAssign */
  3985. M_WPMinWinViewer*  somDefaultAssign(somAssignCtrl* ctrl,
  3986.         SOMObject* fromObj)
  3987. {
  3988.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultAssign)
  3989.     (this,ctrl,fromObj);
  3990. }
  3991.  
  3992.  
  3993. /* method: somDefaultConstCopyInit */
  3994. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  3995.         SOMObject* fromObj)
  3996. {
  3997.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultConstCopyInit)
  3998.     (this,ctrl,fromObj);
  3999. }
  4000.  
  4001.  
  4002. /* method: somDefaultVCopyInit */
  4003. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  4004.         SOMObject* fromObj)
  4005. {
  4006.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultVCopyInit)
  4007.     (this,ctrl,fromObj);
  4008. }
  4009.  
  4010.  
  4011. /* method: somDefaultConstVCopyInit */
  4012. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  4013.         SOMObject* fromObj)
  4014. {
  4015.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultConstVCopyInit)
  4016.     (this,ctrl,fromObj);
  4017. }
  4018.  
  4019.  
  4020. /* method: somDefaultConstAssign */
  4021. M_WPMinWinViewer*  somDefaultConstAssign(somAssignCtrl* ctrl,
  4022.         SOMObject* fromObj)
  4023. {
  4024.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultConstAssign)
  4025.     (this,ctrl,fromObj);
  4026. }
  4027.  
  4028.  
  4029. /* method: somDefaultVAssign */
  4030. M_WPMinWinViewer*  somDefaultVAssign(somAssignCtrl* ctrl,
  4031.         SOMObject* fromObj)
  4032. {
  4033.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultVAssign)
  4034.     (this,ctrl,fromObj);
  4035. }
  4036.  
  4037.  
  4038. /* method: somDefaultConstVAssign */
  4039. M_WPMinWinViewer*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  4040.         SOMObject* fromObj)
  4041. {
  4042.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDefaultConstVAssign)
  4043.     (this,ctrl,fromObj);
  4044. }
  4045.  
  4046.  
  4047. /* method: somInit */
  4048. void   somInit()
  4049. {
  4050.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somInit)
  4051.     (this);
  4052. }
  4053.  
  4054.  
  4055. /* method: somFree */
  4056. void   somFree()
  4057. {
  4058.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somFree)
  4059.     (this);
  4060. }
  4061.  
  4062.  
  4063. /* method: somGetClass */
  4064. SOMClass*   somGetClass()
  4065. {
  4066.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somGetClass)
  4067.     (this);
  4068. }
  4069.  
  4070.  
  4071. /* method: somGetClassName */
  4072. string   somGetClassName()
  4073. {
  4074.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somGetClassName)
  4075.     (this);
  4076. }
  4077.  
  4078.  
  4079. /* method: somGetSize */
  4080. long   somGetSize()
  4081. {
  4082.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somGetSize)
  4083.     (this);
  4084. }
  4085.  
  4086.  
  4087. /* method: somIsA */
  4088. boolean   somIsA(SOMClass* aClassObj)
  4089. {
  4090.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somIsA)
  4091.     (this,aClassObj);
  4092. }
  4093.  
  4094.  
  4095. /* method: somIsInstanceOf */
  4096. boolean   somIsInstanceOf(SOMClass* aClassObj)
  4097. {
  4098.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somIsInstanceOf)
  4099.     (this,aClassObj);
  4100. }
  4101.  
  4102.  
  4103. /* method: somRespondsTo */
  4104. boolean   somRespondsTo(somId mId)
  4105. {
  4106.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somRespondsTo)
  4107.     (this,mId);
  4108. }
  4109.  
  4110.  
  4111. /* va_list method: somDispatch */
  4112. /* the va_list invocation form */
  4113. boolean   M_WPMinWinViewer_somDispatch(somToken* retValue,
  4114.         somId methodId,
  4115.         va_list ap)
  4116. {
  4117. return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatch)
  4118.     (this,retValue,methodId,ap);
  4119. }
  4120.  
  4121. /* the varargs invocation form */
  4122. boolean   somDispatch(somToken* retValue,
  4123.         somId methodId,
  4124.         ...)
  4125. {
  4126.    va_list ap;
  4127.    va_start(ap, methodId);
  4128.    boolean __somResult = 
  4129.       SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatch)
  4130.     (this,retValue,methodId,ap);
  4131.    va_end(ap);
  4132.    return __somResult;
  4133. }
  4134.  
  4135.  
  4136. /* va_list method: somClassDispatch */
  4137. /* the va_list invocation form */
  4138. boolean   M_WPMinWinViewer_somClassDispatch(SOMClass* clsObj,
  4139.         somToken* retValue,
  4140.         somId methodId,
  4141.         va_list ap)
  4142. {
  4143. return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somClassDispatch)
  4144.     (this,clsObj,retValue,methodId,ap);
  4145. }
  4146.  
  4147. /* the varargs invocation form */
  4148. boolean   somClassDispatch(SOMClass* clsObj,
  4149.         somToken* retValue,
  4150.         somId methodId,
  4151.         ...)
  4152. {
  4153.    va_list ap;
  4154.    va_start(ap, methodId);
  4155.    boolean __somResult = 
  4156.       SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somClassDispatch)
  4157.     (this,clsObj,retValue,methodId,ap);
  4158.    va_end(ap);
  4159.    return __somResult;
  4160. }
  4161.  
  4162.  
  4163. /* method: somCastObj */
  4164. boolean   somCastObj(SOMClass* cls)
  4165. {
  4166.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somCastObj)
  4167.     (this,cls);
  4168. }
  4169.  
  4170.  
  4171. /* method: somResetObj */
  4172. boolean   somResetObj()
  4173. {
  4174.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somResetObj)
  4175.     (this);
  4176. }
  4177.  
  4178.  
  4179. /* va_list method: somDispatchV */
  4180. /* the va_list invocation form */
  4181. void   M_WPMinWinViewer_somDispatchV(somId methodId,
  4182.         somId descriptor,
  4183.         va_list ap)
  4184. {
  4185.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchV)
  4186.     (this,methodId,descriptor,ap);
  4187. }
  4188.  
  4189. /* the varargs invocation form */
  4190. void   somDispatchV(somId methodId,
  4191.         somId descriptor,
  4192.         ...)
  4193. {
  4194.    va_list ap;
  4195.    va_start(ap, descriptor);
  4196.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchV)
  4197.     (this,methodId,descriptor,ap);
  4198.    va_end(ap);
  4199. }
  4200.  
  4201.  
  4202. /* va_list method: somDispatchL */
  4203. /* the va_list invocation form */
  4204. long   M_WPMinWinViewer_somDispatchL(somId methodId,
  4205.         somId descriptor,
  4206.         va_list ap)
  4207. {
  4208. return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchL)
  4209.     (this,methodId,descriptor,ap);
  4210. }
  4211.  
  4212. /* the varargs invocation form */
  4213. long   somDispatchL(somId methodId,
  4214.         somId descriptor,
  4215.         ...)
  4216. {
  4217.    va_list ap;
  4218.    va_start(ap, descriptor);
  4219.    long __somResult = 
  4220.       SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchL)
  4221.     (this,methodId,descriptor,ap);
  4222.    va_end(ap);
  4223.    return __somResult;
  4224. }
  4225.  
  4226.  
  4227. /* va_list method: somDispatchA */
  4228. /* the va_list invocation form */
  4229. void*   M_WPMinWinViewer_somDispatchA(somId methodId,
  4230.         somId descriptor,
  4231.         va_list ap)
  4232. {
  4233. return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchA)
  4234.     (this,methodId,descriptor,ap);
  4235. }
  4236.  
  4237. /* the varargs invocation form */
  4238. void*   somDispatchA(somId methodId,
  4239.         somId descriptor,
  4240.         ...)
  4241. {
  4242.    va_list ap;
  4243.    va_start(ap, descriptor);
  4244.    void* __somResult = 
  4245.       SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchA)
  4246.     (this,methodId,descriptor,ap);
  4247.    va_end(ap);
  4248.    return __somResult;
  4249. }
  4250.  
  4251.  
  4252. /* va_list method: somDispatchD */
  4253. /* the va_list invocation form */
  4254. double   M_WPMinWinViewer_somDispatchD(somId methodId,
  4255.         somId descriptor,
  4256.         va_list ap)
  4257. {
  4258. return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchD)
  4259.     (this,methodId,descriptor,ap);
  4260. }
  4261.  
  4262. /* the varargs invocation form */
  4263. double   somDispatchD(somId methodId,
  4264.         somId descriptor,
  4265.         ...)
  4266. {
  4267.    va_list ap;
  4268.    va_start(ap, descriptor);
  4269.    double __somResult = 
  4270.       SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDispatchD)
  4271.     (this,methodId,descriptor,ap);
  4272.    va_end(ap);
  4273.    return __somResult;
  4274. }
  4275.  
  4276.  
  4277. /* method: somPrintSelf */
  4278. SOMObject*   somPrintSelf()
  4279. {
  4280.    return SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somPrintSelf)
  4281.     (this);
  4282. }
  4283.  
  4284.  
  4285. /* method: somDumpSelf */
  4286. void   somDumpSelf(long level)
  4287. {
  4288.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDumpSelf)
  4289.     (this,level);
  4290. }
  4291.  
  4292.  
  4293. /* method: somDumpSelfInt */
  4294. void   somDumpSelfInt(long level)
  4295. {
  4296.    SOM_ResolveD(this,M_WPMinWinViewer,SOMObject,somDumpSelfInt)
  4297.     (this,level);
  4298. }
  4299.  
  4300.  
  4301.  
  4302. };   /* M_WPMinWinViewer */
  4303.  
  4304.  
  4305.  
  4306. #endif       /* SOM_M_WPMinWinViewer_xh */
  4307.