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

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