home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpsclass.zip / WPROOTF.XH < prev    next >
Text File  |  1995-07-12  |  111KB  |  4,058 lines

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