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

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