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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: F:\wpwpsh\rel\ppc\include\os2\wpfsys.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.3
  7.  *     SOM Emitter emitxh: 2.41
  8.  */
  9.  
  10. /*
  11.  *   Module Header
  12.  * 
  13.  *   Module Name: WPFSYS
  14.  * 
  15.  *   OS/2 Presentation Manager Workplace class definitions
  16.  * 
  17.  *   Copyright (c) International Business Machines Corporation 1991, 1994
  18.  * 
  19.  */
  20.  
  21.  
  22. #ifndef SOM_WPFileSystem_xh
  23. #define SOM_WPFileSystem_xh
  24.  
  25. class WPFileSystem;
  26.  
  27. #define WPFileSystem_MajorVersion 1
  28. #define WPFileSystem_MinorVersion 2
  29.  
  30. /* C++ SOM defs */
  31. #include <somcls.xh>
  32. #include <somcm.xh>
  33.  
  34. /* C++ parent defs */
  35. #ifndef SOM_WPObject_xh
  36. #include <wpobject.xh>
  37. #endif
  38.  
  39. #ifndef WPFileSystem_API
  40. #define WPFileSystem_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.  
  55. /*
  56.  * End of user-defined types.
  57.  */
  58.  
  59. /* A procedure to create the WPFileSystem Class */
  60. class M_WPFileSystem;
  61. SOMEXTERN M_WPFileSystem * SOMLINK WPFileSystemNewClass(
  62.         integer4 majorVersion,
  63.         integer4 minorVersion);
  64.  
  65. /* The API to the WPFileSystem class object, and the methods it introduces. */
  66. SOMEXTERN struct WPFileSystemClassDataStructure {
  67.     M_WPFileSystem *classObject;
  68.     somMToken wpSetRealName;
  69.     somMToken withdrawn_wpQueryRealName;
  70.     somMToken wpSetType;
  71.     somMToken wpQueryType;
  72.     somMToken wpSetAttr;
  73.     somMToken wpQueryAttr;
  74.     somMToken wpQueryFilename;
  75.     somMToken wpAddFile1Page;
  76.     somMToken wpAddFile2Page;
  77.     somMToken wpAddFile3Page;
  78.     somMToken wpAddFileMenuPage;
  79.     somMToken wpQueryCreation;
  80.     somMToken wpQueryLastAccess;
  81.     somMToken wpQueryLastWrite;
  82.     somMToken wpQueryFileSize;
  83.     somMToken wpQueryEASize;
  84.     somMToken wpSetDateInfo;
  85.     somMToken wpSetFileSizeInfo;
  86.     somMToken wpRefresh;
  87.     somMToken wpPrintPlainTextFile;
  88.     somMToken wpSetRefreshFlags;
  89.     somMToken wpQueryRefreshFlags;
  90.     somMToken wpQueryDriveData;
  91.     somMToken wpSetTitleAndRenameFile;
  92.     somMToken wpConfirmRenameFileWithExt;
  93.     somMToken wpConfirmKeepAssoc;
  94.     somMToken wpAddUserMenuItem;
  95.     somMToken wpQueryDisk;
  96.     somMToken wpQueryDateInfo;
  97.     somMToken wpSetNewRealName;
  98.     somMToken wpAdoptNewRealName;
  99.     somMToken wpQueryRealName;
  100.     somMToken wpVerifyUpdateAccess;
  101.     somMToken wpAddUserItemsToPopupMenu;
  102.     somMToken wpRemoveFileAttrs;
  103.     somMToken wpIsDiskSwapped;
  104.     somMToken wpRefreshFSInfo;
  105. } SOMDLINK WPFileSystemClassData;
  106. #define _WPFileSystem WPFileSystemClassData.classObject
  107.  
  108. /* The API to parentMtabs for WPFileSystem, and the instance data it introduces. */
  109. SOMEXTERN struct WPFileSystemCClassDataStructure {
  110.     somMethodTabs parentMtab;
  111.     somDToken              instanceDataToken;
  112. } SOMDLINK WPFileSystemCClassData;
  113.  
  114. /*
  115.  * -- Typedefs for WPFileSystem Method Procedures
  116.  */
  117. SOMEXTERN {
  118. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetRealName)(WPFileSystem *somSelf,
  119.         PSZ pszName);
  120. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetType)(WPFileSystem *somSelf,
  121.         PSZ pszTypes,
  122.         PFEA2LIST pfeal);
  123. typedef PSZ   (SOMLINK * somTD_WPFileSystem_wpQueryType)(WPFileSystem *somSelf);
  124. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetAttr)(WPFileSystem *somSelf,
  125.         ULONG attrFile);
  126. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryAttr)(WPFileSystem *somSelf);
  127. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpAddFile1Page)(WPFileSystem *somSelf,
  128.         HWND hwndNotebook);
  129. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpAddFile2Page)(WPFileSystem *somSelf,
  130.         HWND hwndNotebook);
  131. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpAddFile3Page)(WPFileSystem *somSelf,
  132.         HWND hwndNotebook);
  133. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpAddFileMenuPage)(WPFileSystem *somSelf,
  134.         HWND hwndNotebook);
  135. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryCreation)(WPFileSystem *somSelf,
  136.         FDATE* fdate,
  137.         FTIME* ftime);
  138. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryLastAccess)(WPFileSystem *somSelf,
  139.         FDATE* fdate,
  140.         FTIME* ftime);
  141. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryLastWrite)(WPFileSystem *somSelf,
  142.         FDATE* fdate,
  143.         FTIME* ftime);
  144. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryFileSize)(WPFileSystem *somSelf);
  145. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryEASize)(WPFileSystem *somSelf);
  146. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpSetDateInfo)(WPFileSystem *somSelf,
  147.         FILEFINDBUF4* pstFileFindBuf);
  148. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpSetFileSizeInfo)(WPFileSystem *somSelf,
  149.         ULONG cbFileSize,
  150.         ULONG cbEASize);
  151. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpRefresh)(WPFileSystem *somSelf,
  152.         ULONG ulView,
  153.         PVOID pReserved);
  154. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryRefreshFlags)(WPFileSystem *somSelf);
  155. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetRefreshFlags)(WPFileSystem *somSelf,
  156.         ULONG ulRefreshFlags);
  157. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpPrintPlainTextFile)(WPFileSystem *somSelf,
  158.         PPRINTDEST pPrintDest);
  159. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetTitleAndRenameFile)(WPFileSystem *somSelf,
  160.         PSZ pszNewTitle,
  161.         ULONG fConfirmations);
  162. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpConfirmRenameFileWithExt)(WPFileSystem *somSelf);
  163. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpVerifyUpdateAccess)(WPFileSystem *somSelf);
  164. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpAddUserItemsToPopupMenu)(WPFileSystem *somSelf,
  165.         HWND hwndMenu,
  166.         HWND hwndCnr,
  167.         ULONG iPosition);
  168. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpIsDiskSwapped)(WPFileSystem *somSelf);
  169. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpQueryRealName)(WPFileSystem *somSelf,
  170.         PSZ pszFilename,
  171.         PULONG pcb,
  172.         BOOL fQualified);
  173. typedef PSZ   (SOMLINK * somTD_WPFileSystem_wpQueryFilename)(WPFileSystem *somSelf,
  174.         PSZ pszFilename,
  175.         BOOL fQualified);
  176. typedef WPFileSystem*   (SOMLINK * somTD_WPFileSystem_wpQueryDisk)(WPFileSystem *somSelf);
  177. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryDateInfo)(WPFileSystem *somSelf,
  178.         FILEFINDBUF4* pstFileFindBuf);
  179. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpConfirmKeepAssoc)(WPFileSystem *somSelf);
  180.  
  181. /*
  182.  * -- Typedefs for Reintroduced Wrapper Methods
  183.  */
  184. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpAddObjectGeneralPage)(WPFileSystem *somSelf,
  185.         HWND hwndNotebook);
  186. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpAddObjectGeneralPage2)(WPFileSystem *somSelf,
  187.         HWND hwndNotebook);
  188. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpAddObjectWindowPage)(WPFileSystem *somSelf,
  189.         HWND hwndNotebook);
  190. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpAddSettingsPages)(WPFileSystem *somSelf,
  191.         HWND hwndNotebook);
  192. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpAddToObjUseList)(WPFileSystem *somSelf,
  193.         PUSEITEM pUseItem);
  194. typedef PBYTE   (SOMLINK * somTD_WPFileSystem_wpAllocMem)(WPFileSystem *somSelf,
  195.         ULONG cbBytes,
  196.         PULONG prc);
  197. typedef BOOL32   (SOMLINK * somTD_WPFileSystem_wpAppendObject)(WPFileSystem *somSelf,
  198.         WPObject* targetObject,
  199.         BOOL32 fMove);
  200. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpAssertObjectMutexSem)(WPFileSystem *somSelf);
  201. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpClose)(WPFileSystem *somSelf);
  202. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPFileSystem_wpCnrInsertObject)(WPFileSystem *somSelf,
  203.         HWND hwndCnr,
  204.         PPOINTL pptlIcon,
  205.         PMINIRECORDCORE preccParent,
  206.         PRECORDINSERT pRecInsert);
  207. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpCnrRemoveObject)(WPFileSystem *somSelf,
  208.         HWND hwndCnr);
  209. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpCnrSetEmphasis)(WPFileSystem *somSelf,
  210.         ULONG ulEmphasisAttr,
  211.         BOOL fTurnOn);
  212. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpConfirmDelete)(WPFileSystem *somSelf,
  213.         ULONG fConfirmations);
  214. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpConfirmObjectTitle)(WPFileSystem *somSelf,
  215.         WPFolder* Folder,
  216.         WPObject** ppDuplicate,
  217.         PSZ pszTitle,
  218.         ULONG cbTitle,
  219.         ULONG menuID);
  220. typedef void   (SOMLINK * somTD_WPFileSystem_wpCopiedFromTemplate)(WPFileSystem *somSelf);
  221. typedef WPObject*   (SOMLINK * somTD_WPFileSystem_wpCopyObject)(WPFileSystem *somSelf,
  222.         WPFolder* Folder,
  223.         BOOL fLock);
  224. typedef WPObject*   (SOMLINK * somTD_WPFileSystem_wpCreateAnother)(WPFileSystem *somSelf,
  225.         PSZ pszTitle,
  226.         PSZ pszSetupEnv,
  227.         WPFolder* Folder);
  228. typedef WPObject*   (SOMLINK * somTD_WPFileSystem_wpCreateFromTemplate)(WPFileSystem *somSelf,
  229.         WPFolder* folder,
  230.         BOOL fLock);
  231. typedef WPObject*   (SOMLINK * somTD_WPFileSystem_wpCreateShadowObject)(WPFileSystem *somSelf,
  232.         WPFolder* Folder,
  233.         BOOL fLock);
  234. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpDelete)(WPFileSystem *somSelf,
  235.         ULONG fConfirmations);
  236. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpDeleteFromObjUseList)(WPFileSystem *somSelf,
  237.         PUSEITEM pUseItem);
  238. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpDisplayHelp)(WPFileSystem *somSelf,
  239.         ULONG HelpPanelId,
  240.         PSZ HelpLibrary);
  241. typedef HWND   (SOMLINK * somTD_WPFileSystem_wpDisplayMenu)(WPFileSystem *somSelf,
  242.         HWND hwndOwner,
  243.         HWND hwndClient,
  244.         POINTL* ptlPopupPt,
  245.         ULONG ulMenuType,
  246.         ULONG ulReserved);
  247. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpDoesObjectMatch)(WPFileSystem *somSelf,
  248.         PVOID pvoidExtendedCriteria);
  249. typedef MRESULT   (SOMLINK * somTD_WPFileSystem_wpDraggedOverObject)(WPFileSystem *somSelf,
  250.         WPObject* DraggedOverObject);
  251. typedef MRESULT   (SOMLINK * somTD_WPFileSystem_wpDragOver)(WPFileSystem *somSelf,
  252.         HWND hwndCnr,
  253.         PDRAGINFO pdrgInfo);
  254. typedef MRESULT   (SOMLINK * somTD_WPFileSystem_wpDrop)(WPFileSystem *somSelf,
  255.         HWND hwndCnr,
  256.         PDRAGINFO pdrgInfo,
  257.         PDRAGITEM pdrgItem);
  258. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpDroppedOnObject)(WPFileSystem *somSelf,
  259.         WPObject* DroppedOnObject);
  260. typedef MRESULT   (SOMLINK * somTD_WPFileSystem_wpEndConversation)(WPFileSystem *somSelf,
  261.         ULONG ulItemID,
  262.         ULONG flResult);
  263. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpFilterPopupMenu)(WPFileSystem *somSelf,
  264.         ULONG ulFlags,
  265.         HWND hwndCnr,
  266.         BOOL fMultiSelect);
  267. typedef PUSEITEM   (SOMLINK * somTD_WPFileSystem_wpFindUseItem)(WPFileSystem *somSelf,
  268.         ULONG type,
  269.         PUSEITEM pCurrentItem);
  270. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpFormatDragItem)(WPFileSystem *somSelf,
  271.         PDRAGITEM pdrgItem);
  272. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpFree)(WPFileSystem *somSelf);
  273. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpFreeMem)(WPFileSystem *somSelf,
  274.         PBYTE pByte);
  275. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpHide)(WPFileSystem *somSelf);
  276. typedef void   (SOMLINK * somTD_WPFileSystem_wpInitData)(WPFileSystem *somSelf);
  277. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpInsertPopupMenuItems)(WPFileSystem *somSelf,
  278.         HWND hwndMenu,
  279.         ULONG iPosition,
  280.         HMODULE hmod,
  281.         ULONG MenuID,
  282.         ULONG SubMenuID);
  283. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpInsertSettingsPage)(WPFileSystem *somSelf,
  284.         HWND hwndNotebook,
  285.         PPAGEINFO ppageinfo);
  286. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpMenuItemHelpSelected)(WPFileSystem *somSelf,
  287.         ULONG MenuId);
  288. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpMenuItemSelected)(WPFileSystem *somSelf,
  289.         HWND hwndFrame,
  290.         ULONG ulMenuId);
  291. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpModifyPopupMenu)(WPFileSystem *somSelf,
  292.         HWND hwndMenu,
  293.         HWND hwndCnr,
  294.         ULONG iPosition);
  295. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpMoveObject)(WPFileSystem *somSelf,
  296.         WPFolder* Folder);
  297. typedef HWND   (SOMLINK * somTD_WPFileSystem_wpOpen)(WPFileSystem *somSelf,
  298.         HWND hwndCnr,
  299.         ULONG ulView,
  300.         ULONG param);
  301. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpPrintObject)(WPFileSystem *somSelf,
  302.         PPRINTDEST pPrintDest,
  303.         ULONG ulReserved);
  304. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryConcurrentView)(WPFileSystem *somSelf);
  305. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryButtonAppearance)(WPFileSystem *somSelf);
  306. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryConfirmations)(WPFileSystem *somSelf);
  307. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpQueryDefaultHelp)(WPFileSystem *somSelf,
  308.         PULONG pHelpPanelId,
  309.         PSZ HelpLibrary);
  310. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryDefaultView)(WPFileSystem *somSelf);
  311. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryDetailsData)(WPFileSystem *somSelf,
  312.         PVOID* ppDetailsData,
  313.         PULONG pcp);
  314. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryError)(WPFileSystem *somSelf);
  315. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetFolder)(WPFileSystem *somSelf,
  316.         WPObject* container);
  317. typedef WPObject*   (SOMLINK * somTD_WPFileSystem_wpQueryFolder)(WPFileSystem *somSelf);
  318. typedef HPOINTER   (SOMLINK * somTD_WPFileSystem_wpQueryIcon)(WPFileSystem *somSelf);
  319. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryIconData)(WPFileSystem *somSelf,
  320.         PICONINFO pIconInfo);
  321. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryMinWindow)(WPFileSystem *somSelf);
  322. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryNameClashOptions)(WPFileSystem *somSelf,
  323.         ULONG menuID);
  324. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryStyle)(WPFileSystem *somSelf);
  325. typedef BOOL32   (SOMLINK * somTD_WPFileSystem_wpSetTaskRec)(WPFileSystem *somSelf,
  326.         PTASKREC pNew,
  327.         PTASKREC pOld);
  328. typedef PTASKREC   (SOMLINK * somTD_WPFileSystem_wpFindTaskRec)(WPFileSystem *somSelf);
  329. typedef PSZ   (SOMLINK * somTD_WPFileSystem_wpQueryTitle)(WPFileSystem *somSelf);
  330. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpRegisterView)(WPFileSystem *somSelf,
  331.         HWND hwndFrame,
  332.         PSZ pszViewTitle);
  333. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpReleaseObjectMutexSem)(WPFileSystem *somSelf);
  334. typedef MRESULT   (SOMLINK * somTD_WPFileSystem_wpRender)(WPFileSystem *somSelf,
  335.         PDRAGTRANSFER pdxfer);
  336. typedef MRESULT   (SOMLINK * somTD_WPFileSystem_wpRenderComplete)(WPFileSystem *somSelf,
  337.         PDRAGTRANSFER pdxfer,
  338.         ULONG ulResult);
  339. typedef BOOL32   (SOMLINK * somTD_WPFileSystem_wpReplaceObject)(WPFileSystem *somSelf,
  340.         WPObject* targetObject,
  341.         BOOL32 fMove);
  342. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpRequestObjectMutexSem)(WPFileSystem *somSelf,
  343.         ULONG ulTimeout);
  344. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpRestore)(WPFileSystem *somSelf);
  345. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpRestoreData)(WPFileSystem *somSelf,
  346.         PSZ pszClass,
  347.         ULONG ulKey,
  348.         PBYTE pValue,
  349.         PULONG pcbValue);
  350. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpRestoreLong)(WPFileSystem *somSelf,
  351.         PSZ pszClass,
  352.         ULONG ulKey,
  353.         PULONG pulValue);
  354. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpRestoreState)(WPFileSystem *somSelf,
  355.         ULONG ulReserved);
  356. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpRestoreString)(WPFileSystem *somSelf,
  357.         PSZ pszClass,
  358.         ULONG ulKey,
  359.         PSZ pszValue,
  360.         PULONG pcbValue);
  361. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSaveData)(WPFileSystem *somSelf,
  362.         PSZ pszClass,
  363.         ULONG ulKey,
  364.         PBYTE pValue,
  365.         ULONG cbValue);
  366. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSaveImmediate)(WPFileSystem *somSelf);
  367. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSaveDeferred)(WPFileSystem *somSelf);
  368. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSaveLong)(WPFileSystem *somSelf,
  369.         PSZ pszClass,
  370.         ULONG ulKey,
  371.         ULONG ulValue);
  372. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSaveState)(WPFileSystem *somSelf);
  373. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSaveString)(WPFileSystem *somSelf,
  374.         PSZ pszClass,
  375.         ULONG ulKey,
  376.         PSZ pszValue);
  377. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpScanSetupString)(WPFileSystem *somSelf,
  378.         PSZ pszSetupString,
  379.         PSZ pszKey,
  380.         PSZ pszValue,
  381.         PULONG pcbValue);
  382. typedef void   (SOMLINK * somTD_WPFileSystem_wpSetConcurrentView)(WPFileSystem *somSelf,
  383.         ULONG ulCCView);
  384. typedef void   (SOMLINK * somTD_WPFileSystem_wpSetButtonAppearance)(WPFileSystem *somSelf,
  385.         ULONG ulButtonType);
  386. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetDefaultHelp)(WPFileSystem *somSelf,
  387.         ULONG HelpPanelId,
  388.         PSZ HelpLibrary);
  389. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetDefaultView)(WPFileSystem *somSelf,
  390.         ULONG ulView);
  391. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetError)(WPFileSystem *somSelf,
  392.         ULONG ulErrorId);
  393. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetIconHandle)(WPFileSystem *somSelf,
  394.         HPOINTER hptrNewIcon);
  395. typedef SGID   (SOMLINK * somTD_WPFileSystem_wpQueryScreenGroupID)(WPFileSystem *somSelf,
  396.         SGID sgidPrevSgId);
  397. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetupOnce)(WPFileSystem *somSelf,
  398.         PSZ pszSetupString);
  399. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetIcon)(WPFileSystem *somSelf,
  400.         HPOINTER hptrNewIcon);
  401. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetIconData)(WPFileSystem *somSelf,
  402.         PICONINFO pIconInfo);
  403. typedef void   (SOMLINK * somTD_WPFileSystem_wpSetMinWindow)(WPFileSystem *somSelf,
  404.         ULONG ulMinWindow);
  405. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetStyle)(WPFileSystem *somSelf,
  406.         ULONG ulNewStyle);
  407. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpModifyStyle)(WPFileSystem *somSelf,
  408.         ULONG ulStyleFlags,
  409.         ULONG ulStyleMask);
  410. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetTitle)(WPFileSystem *somSelf,
  411.         PSZ pszNewTitle);
  412. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetup)(WPFileSystem *somSelf,
  413.         PSZ pszSetupString);
  414. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSwitchTo)(WPFileSystem *somSelf,
  415.         ULONG View);
  416. typedef void   (SOMLINK * somTD_WPFileSystem_wpUnInitData)(WPFileSystem *somSelf);
  417. typedef HWND   (SOMLINK * somTD_WPFileSystem_wpViewObject)(WPFileSystem *somSelf,
  418.         HWND hwndCnr,
  419.         ULONG ulView,
  420.         ULONG param);
  421. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpQueryTrueStyle)(WPFileSystem *somSelf);
  422. typedef HOBJECT   (SOMLINK * somTD_WPFileSystem_wpQueryHandle)(WPFileSystem *somSelf);
  423. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpUnlockObject)(WPFileSystem *somSelf);
  424. typedef void   (SOMLINK * somTD_WPFileSystem_wpObjectReady)(WPFileSystem *somSelf,
  425.         ULONG ulCode,
  426.         WPObject* refObject);
  427. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpIsObjectInitialized)(WPFileSystem *somSelf);
  428. typedef WPObject*   (SOMLINK * somTD_WPFileSystem_wpCreateShadowObjectExt)(WPFileSystem *somSelf,
  429.         WPFolder* Folder,
  430.         BOOL fLock,
  431.         PSZ pszSetup,
  432.         M_WPObject* shadowClass);
  433. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpCnrDeleteUseItem)(WPFileSystem *somSelf,
  434.         HWND hwndCnr);
  435. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpIsDeleteable)(WPFileSystem *somSelf);
  436. typedef PMINIRECORDCORE   (SOMLINK * somTD_WPFileSystem_wpQueryCoreRecord)(WPFileSystem *somSelf);
  437. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetObjectID)(WPFileSystem *somSelf,
  438.         PSZ pszObjectID);
  439. typedef PSZ   (SOMLINK * somTD_WPFileSystem_wpQueryObjectID)(WPFileSystem *somSelf);
  440. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpSetDefaultIconPos)(WPFileSystem *somSelf,
  441.         PPOINTL pPointl);
  442. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpQueryDefaultIconPos)(WPFileSystem *somSelf,
  443.         PPOINTL pPointl);
  444. typedef void   (SOMLINK * somTD_WPFileSystem_wpCnrRefreshDetails)(WPFileSystem *somSelf);
  445. typedef PVIEWITEM   (SOMLINK * somTD_WPFileSystem_wpFindViewItem)(WPFileSystem *somSelf,
  446.         ULONG flViews,
  447.         PVIEWITEM pCurrentItem);
  448. typedef void   (SOMLINK * somTD_WPFileSystem_wpLockObject)(WPFileSystem *somSelf);
  449. typedef BOOL   (SOMLINK * somTD_WPFileSystem_wpIsLocked)(WPFileSystem *somSelf);
  450. typedef PULONG   (SOMLINK * somTD_WPFileSystem_wpQueryContainerFlagPtr)(WPFileSystem *somSelf);
  451. typedef ULONG   (SOMLINK * somTD_WPFileSystem_wpWaitForClose)(WPFileSystem *somSelf,
  452.         LHANDLE lhView,
  453.         ULONG ulViews,
  454.         long lTimeOut,
  455.         BOOL bAutoClose);
  456. typedef void   (SOMLINK * somTD_WPFileSystem_somInit)(WPFileSystem *somSelf);
  457. typedef void   (SOMLINK * somTD_WPFileSystem_somUninit)(WPFileSystem *somSelf);
  458. typedef void   (SOMLINK * somTD_WPFileSystem_somDefaultInit)(WPFileSystem *somSelf,
  459.         somInitCtrl* ctrl);
  460. typedef void   (SOMLINK * somTD_WPFileSystem_somDestruct)(WPFileSystem *somSelf,
  461.         octet doFree,
  462.         somDestructCtrl* ctrl);
  463. typedef void   (SOMLINK * somTD_WPFileSystem_somDefaultCopyInit)(WPFileSystem *somSelf,
  464.         somInitCtrl* ctrl,
  465.         SOMObject* fromObj);
  466. typedef WPFileSystem*   (SOMLINK * somTD_WPFileSystem_somDefaultAssign)(WPFileSystem *somSelf,
  467.         somAssignCtrl* ctrl,
  468.         SOMObject* fromObj);
  469. typedef void   (SOMLINK * somTD_WPFileSystem_somDefaultConstCopyInit)(WPFileSystem *somSelf,
  470.         somInitCtrl* ctrl,
  471.         SOMObject* fromObj);
  472. typedef void   (SOMLINK * somTD_WPFileSystem_somDefaultVCopyInit)(WPFileSystem *somSelf,
  473.         somInitCtrl* ctrl,
  474.         SOMObject* fromObj);
  475. typedef void   (SOMLINK * somTD_WPFileSystem_somDefaultConstVCopyInit)(WPFileSystem *somSelf,
  476.         somInitCtrl* ctrl,
  477.         SOMObject* fromObj);
  478. typedef WPFileSystem*   (SOMLINK * somTD_WPFileSystem_somDefaultConstAssign)(WPFileSystem *somSelf,
  479.         somAssignCtrl* ctrl,
  480.         SOMObject* fromObj);
  481. typedef WPFileSystem*   (SOMLINK * somTD_WPFileSystem_somDefaultVAssign)(WPFileSystem *somSelf,
  482.         somAssignCtrl* ctrl,
  483.         SOMObject* fromObj);
  484. typedef WPFileSystem*   (SOMLINK * somTD_WPFileSystem_somDefaultConstVAssign)(WPFileSystem *somSelf,
  485.         somAssignCtrl* ctrl,
  486.         SOMObject* fromObj);
  487. typedef void   (SOMLINK * somTD_WPFileSystem_somFree)(WPFileSystem *somSelf);
  488. typedef M_WPFileSystem*   (SOMLINK * somTD_WPFileSystem_somGetClass)(WPFileSystem *somSelf);
  489. typedef string   (SOMLINK * somTD_WPFileSystem_somGetClassName)(WPFileSystem *somSelf);
  490. typedef long   (SOMLINK * somTD_WPFileSystem_somGetSize)(WPFileSystem *somSelf);
  491. typedef boolean   (SOMLINK * somTD_WPFileSystem_somIsA)(WPFileSystem *somSelf,
  492.         SOMClass* aClassObj);
  493. typedef boolean   (SOMLINK * somTD_WPFileSystem_somIsInstanceOf)(WPFileSystem *somSelf,
  494.         SOMClass* aClassObj);
  495. typedef boolean   (SOMLINK * somTD_WPFileSystem_somRespondsTo)(WPFileSystem *somSelf,
  496.         somId mId);
  497. typedef boolean   (SOMLINK * somTD_WPFileSystem_somDispatch)(WPFileSystem *somSelf,
  498.         somToken* retValue,
  499.         somId methodId,
  500.         va_list ap);
  501. typedef boolean   (SOMLINK * somTD_WPFileSystem_somClassDispatch)(WPFileSystem *somSelf,
  502.         SOMClass* clsObj,
  503.         somToken* retValue,
  504.         somId methodId,
  505.         va_list ap);
  506. typedef boolean   (SOMLINK * somTD_WPFileSystem_somCastObj)(WPFileSystem *somSelf,
  507.         SOMClass* cls);
  508. typedef boolean   (SOMLINK * somTD_WPFileSystem_somResetObj)(WPFileSystem *somSelf);
  509. typedef SOMObject*   (SOMLINK * somTD_WPFileSystem_somPrintSelf)(WPFileSystem *somSelf);
  510. typedef void   (SOMLINK * somTD_WPFileSystem_somDumpSelf)(WPFileSystem *somSelf,
  511.         long level);
  512. typedef void   (SOMLINK * somTD_WPFileSystem_somDumpSelfInt)(WPFileSystem *somSelf,
  513.         long level);
  514. }
  515.  
  516. #endif /* WPFileSystem_API */
  517.  
  518.  
  519. /*
  520.  * -- This emitter treats Method Tokens as Thunks by default.
  521.  * -- Use the sc modifier "nothunks" to change this default
  522.  */
  523. #undef somresolve_
  524. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  525.  
  526. /*
  527.  * -- The C++ Wrapper Class for WPFileSystem
  528.  */
  529. class WPFileSystem : public WPObject
  530. {
  531. public:
  532.  
  533. // WPFileSystem::new creates the class object if necessary, and then uses somNewNoInit
  534. // to allocate memory and create the object. Initialization is in ctors.
  535. void *operator new(size_t size)
  536. {
  537.    SOM_IgnoreWarning(size);
  538.    if (!_WPFileSystem) WPFileSystemNewClass(WPFileSystem_MajorVersion,WPFileSystem_MinorVersion);
  539.    return (void*)
  540.       SOM_Resolve(_WPFileSystem,SOMClass,somNewNoInit)
  541.          ((SOMClass *)((void*)_WPFileSystem));
  542. }
  543.  
  544. // WPFileSystem::delete uses the default deallocator for the object's class.
  545. void operator delete(void * obj)
  546. {
  547.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  548.    if (somIsObj(objCls)) {
  549.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  550.          ((SOMClass*)objCls, (string)obj);
  551.    }
  552. }
  553.  
  554. WPFileSystem()
  555. {
  556.    if (*(void**)this != 
  557.        ((somParentMtabStructPtr)
  558.         (WPFileSystemCClassData.parentMtab))->mtab)
  559.       return;
  560.    somDefaultInit(0);
  561. }
  562.  
  563. WPFileSystem(WPFileSystem* fromObj)
  564. {
  565.    if (*(void**)this != 
  566.        ((somParentMtabStructPtr)
  567.         (WPFileSystemCClassData.parentMtab))->mtab)
  568.       return;
  569.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  570. }
  571.  
  572. WPFileSystem(const WPFileSystem* fromObj)
  573. {
  574.    if (*(void**)this != 
  575.        ((somParentMtabStructPtr)
  576.         (WPFileSystemCClassData.parentMtab))->mtab)
  577.       return;
  578.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  579. }
  580.  
  581. ~WPFileSystem()
  582. {
  583.    if (!somIsObj(this)) return;
  584.    somDestruct(0,0);
  585.    *(void**)this = **(void***)this;
  586. }
  587.  
  588.  
  589. /* method: wpSetRealName */
  590. BOOL   wpSetRealName(PSZ pszName)
  591. {
  592.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpSetRealName)
  593.     (this,pszName);
  594. }
  595.  
  596.  
  597. /* method: wpSetType */
  598. BOOL   wpSetType(PSZ pszTypes,
  599.         PFEA2LIST pfeal)
  600. {
  601.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpSetType)
  602.     (this,pszTypes,pfeal);
  603. }
  604.  
  605.  
  606. /* method: wpQueryType */
  607. PSZ   wpQueryType()
  608. {
  609.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryType)
  610.     (this);
  611. }
  612.  
  613.  
  614. /* method: wpSetAttr */
  615. BOOL   wpSetAttr(ULONG attrFile)
  616. {
  617.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpSetAttr)
  618.     (this,attrFile);
  619. }
  620.  
  621.  
  622. /* method: wpQueryAttr */
  623. ULONG   wpQueryAttr()
  624. {
  625.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryAttr)
  626.     (this);
  627. }
  628.  
  629.  
  630. /* method: wpAddFile1Page */
  631. ULONG   wpAddFile1Page(HWND hwndNotebook)
  632. {
  633.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpAddFile1Page)
  634.     (this,hwndNotebook);
  635. }
  636.  
  637.  
  638. /* method: wpAddFile2Page */
  639. ULONG   wpAddFile2Page(HWND hwndNotebook)
  640. {
  641.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpAddFile2Page)
  642.     (this,hwndNotebook);
  643. }
  644.  
  645.  
  646. /* method: wpAddFile3Page */
  647. ULONG   wpAddFile3Page(HWND hwndNotebook)
  648. {
  649.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpAddFile3Page)
  650.     (this,hwndNotebook);
  651. }
  652.  
  653.  
  654. /* method: wpAddFileMenuPage */
  655. ULONG   wpAddFileMenuPage(HWND hwndNotebook)
  656. {
  657.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpAddFileMenuPage)
  658.     (this,hwndNotebook);
  659. }
  660.  
  661.  
  662. /* method: wpQueryCreation */
  663. ULONG   wpQueryCreation(FDATE* fdate,
  664.         FTIME* ftime)
  665. {
  666.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryCreation)
  667.     (this,fdate,ftime);
  668. }
  669.  
  670.  
  671. /* method: wpQueryLastAccess */
  672. ULONG   wpQueryLastAccess(FDATE* fdate,
  673.         FTIME* ftime)
  674. {
  675.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryLastAccess)
  676.     (this,fdate,ftime);
  677. }
  678.  
  679.  
  680. /* method: wpQueryLastWrite */
  681. ULONG   wpQueryLastWrite(FDATE* fdate,
  682.         FTIME* ftime)
  683. {
  684.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryLastWrite)
  685.     (this,fdate,ftime);
  686. }
  687.  
  688.  
  689. /* method: wpQueryFileSize */
  690. ULONG   wpQueryFileSize()
  691. {
  692.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryFileSize)
  693.     (this);
  694. }
  695.  
  696.  
  697. /* method: wpQueryEASize */
  698. ULONG   wpQueryEASize()
  699. {
  700.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryEASize)
  701.     (this);
  702. }
  703.  
  704.  
  705. /* method: wpSetDateInfo */
  706. ULONG   wpSetDateInfo(FILEFINDBUF4* pstFileFindBuf)
  707. {
  708.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpSetDateInfo)
  709.     (this,pstFileFindBuf);
  710. }
  711.  
  712.  
  713. /* method: wpSetFileSizeInfo */
  714. ULONG   wpSetFileSizeInfo(ULONG cbFileSize,
  715.         ULONG cbEASize)
  716. {
  717.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpSetFileSizeInfo)
  718.     (this,cbFileSize,cbEASize);
  719. }
  720.  
  721.  
  722. /* method: wpRefresh */
  723. BOOL   wpRefresh(ULONG ulView,
  724.         PVOID pReserved)
  725. {
  726.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpRefresh)
  727.     (this,ulView,pReserved);
  728. }
  729.  
  730.  
  731. /* method: wpQueryRefreshFlags */
  732. ULONG   wpQueryRefreshFlags()
  733. {
  734.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryRefreshFlags)
  735.     (this);
  736. }
  737.  
  738.  
  739. /* method: wpSetRefreshFlags */
  740. BOOL   wpSetRefreshFlags(ULONG ulRefreshFlags)
  741. {
  742.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpSetRefreshFlags)
  743.     (this,ulRefreshFlags);
  744. }
  745.  
  746.  
  747. /* method: wpPrintPlainTextFile */
  748. BOOL   wpPrintPlainTextFile(PPRINTDEST pPrintDest)
  749. {
  750.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpPrintPlainTextFile)
  751.     (this,pPrintDest);
  752. }
  753.  
  754.  
  755. /* method: wpSetTitleAndRenameFile */
  756. BOOL   wpSetTitleAndRenameFile(PSZ pszNewTitle,
  757.         ULONG fConfirmations)
  758. {
  759.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpSetTitleAndRenameFile)
  760.     (this,pszNewTitle,fConfirmations);
  761. }
  762.  
  763.  
  764. /* method: wpConfirmRenameFileWithExt */
  765. ULONG   wpConfirmRenameFileWithExt()
  766. {
  767.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpConfirmRenameFileWithExt)
  768.     (this);
  769. }
  770.  
  771.  
  772. /* method: wpVerifyUpdateAccess */
  773. ULONG   wpVerifyUpdateAccess()
  774. {
  775.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpVerifyUpdateAccess)
  776.     (this);
  777. }
  778.  
  779.  
  780. /* method: wpAddUserItemsToPopupMenu */
  781. BOOL   wpAddUserItemsToPopupMenu(HWND hwndMenu,
  782.         HWND hwndCnr,
  783.         ULONG iPosition)
  784. {
  785.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpAddUserItemsToPopupMenu)
  786.     (this,hwndMenu,hwndCnr,iPosition);
  787. }
  788.  
  789.  
  790. /* method: wpIsDiskSwapped */
  791. BOOL   wpIsDiskSwapped()
  792. {
  793.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpIsDiskSwapped)
  794.     (this);
  795. }
  796.  
  797.  
  798. /* method: wpQueryRealName */
  799. BOOL   wpQueryRealName(PSZ pszFilename,
  800.         PULONG pcb,
  801.         BOOL fQualified)
  802. {
  803.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryRealName)
  804.     (this,pszFilename,pcb,fQualified);
  805. }
  806.  
  807.  
  808. /* method: wpQueryFilename */
  809. PSZ   wpQueryFilename(PSZ pszFilename,
  810.         BOOL fQualified)
  811. {
  812.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryFilename)
  813.     (this,pszFilename,fQualified);
  814. }
  815.  
  816.  
  817. /* method: wpQueryDisk */
  818. WPFileSystem*   wpQueryDisk()
  819. {
  820.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryDisk)
  821.     (this);
  822. }
  823.  
  824.  
  825. /* method: wpQueryDateInfo */
  826. ULONG   wpQueryDateInfo(FILEFINDBUF4* pstFileFindBuf)
  827. {
  828.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpQueryDateInfo)
  829.     (this,pstFileFindBuf);
  830. }
  831.  
  832.  
  833. /* method: wpConfirmKeepAssoc */
  834. ULONG   wpConfirmKeepAssoc()
  835. {
  836.    return SOM_ResolveD(this,WPFileSystem,WPFileSystem,wpConfirmKeepAssoc)
  837.     (this);
  838. }
  839.  
  840.  
  841. /*
  842.  * Reintroduce inherited methods
  843.  */
  844.  
  845. /* method: wpAddObjectGeneralPage */
  846. ULONG   wpAddObjectGeneralPage(HWND hwndNotebook)
  847. {
  848.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAddObjectGeneralPage)
  849.     (this,hwndNotebook);
  850. }
  851.  
  852.  
  853. /* method: wpAddObjectGeneralPage2 */
  854. ULONG   wpAddObjectGeneralPage2(HWND hwndNotebook)
  855. {
  856.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAddObjectGeneralPage2)
  857.     (this,hwndNotebook);
  858. }
  859.  
  860.  
  861. /* method: wpAddObjectWindowPage */
  862. ULONG   wpAddObjectWindowPage(HWND hwndNotebook)
  863. {
  864.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAddObjectWindowPage)
  865.     (this,hwndNotebook);
  866. }
  867.  
  868.  
  869. /* method: wpAddSettingsPages */
  870. BOOL   wpAddSettingsPages(HWND hwndNotebook)
  871. {
  872.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAddSettingsPages)
  873.     (this,hwndNotebook);
  874. }
  875.  
  876.  
  877. /* method: wpAddToObjUseList */
  878. BOOL   wpAddToObjUseList(PUSEITEM pUseItem)
  879. {
  880.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAddToObjUseList)
  881.     (this,pUseItem);
  882. }
  883.  
  884.  
  885. /* method: wpAllocMem */
  886. PBYTE   wpAllocMem(ULONG cbBytes,
  887.         PULONG prc)
  888. {
  889.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAllocMem)
  890.     (this,cbBytes,prc);
  891. }
  892.  
  893.  
  894. /* method: wpAppendObject */
  895. BOOL32   wpAppendObject(WPObject* targetObject,
  896.         BOOL32 fMove)
  897. {
  898.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAppendObject)
  899.     (this,targetObject,fMove);
  900. }
  901.  
  902.  
  903. /* method: wpAssertObjectMutexSem */
  904. BOOL   wpAssertObjectMutexSem()
  905. {
  906.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpAssertObjectMutexSem)
  907.     (this);
  908. }
  909.  
  910.  
  911. /* method: wpClose */
  912. BOOL   wpClose()
  913. {
  914.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpClose)
  915.     (this);
  916. }
  917.  
  918.  
  919. /* method: wpCnrInsertObject */
  920. PMINIRECORDCORE   wpCnrInsertObject(HWND hwndCnr,
  921.         PPOINTL pptlIcon,
  922.         PMINIRECORDCORE preccParent,
  923.         PRECORDINSERT pRecInsert)
  924. {
  925.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCnrInsertObject)
  926.     (this,hwndCnr,pptlIcon,preccParent,pRecInsert);
  927. }
  928.  
  929.  
  930. /* method: wpCnrRemoveObject */
  931. BOOL   wpCnrRemoveObject(HWND hwndCnr)
  932. {
  933.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCnrRemoveObject)
  934.     (this,hwndCnr);
  935. }
  936.  
  937.  
  938. /* method: wpCnrSetEmphasis */
  939. BOOL   wpCnrSetEmphasis(ULONG ulEmphasisAttr,
  940.         BOOL fTurnOn)
  941. {
  942.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCnrSetEmphasis)
  943.     (this,ulEmphasisAttr,fTurnOn);
  944. }
  945.  
  946.  
  947. /* method: wpConfirmDelete */
  948. ULONG   wpConfirmDelete(ULONG fConfirmations)
  949. {
  950.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpConfirmDelete)
  951.     (this,fConfirmations);
  952. }
  953.  
  954.  
  955. /* method: wpConfirmObjectTitle */
  956. ULONG   wpConfirmObjectTitle(WPFolder* Folder,
  957.         WPObject** ppDuplicate,
  958.         PSZ pszTitle,
  959.         ULONG cbTitle,
  960.         ULONG menuID)
  961. {
  962.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpConfirmObjectTitle)
  963.     (this,Folder,ppDuplicate,pszTitle,cbTitle,menuID);
  964. }
  965.  
  966.  
  967. /* method: wpCopiedFromTemplate */
  968. void   wpCopiedFromTemplate()
  969. {
  970.    SOM_ResolveD(this,WPFileSystem,WPObject,wpCopiedFromTemplate)
  971.     (this);
  972. }
  973.  
  974.  
  975. /* method: wpCopyObject */
  976. WPObject*   wpCopyObject(WPFolder* Folder,
  977.         BOOL fLock)
  978. {
  979.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCopyObject)
  980.     (this,Folder,fLock);
  981. }
  982.  
  983.  
  984. /* method: wpCreateAnother */
  985. WPObject*   wpCreateAnother(PSZ pszTitle,
  986.         PSZ pszSetupEnv,
  987.         WPFolder* Folder)
  988. {
  989.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCreateAnother)
  990.     (this,pszTitle,pszSetupEnv,Folder);
  991. }
  992.  
  993.  
  994. /* method: wpCreateFromTemplate */
  995. WPObject*   wpCreateFromTemplate(WPFolder* folder,
  996.         BOOL fLock)
  997. {
  998.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCreateFromTemplate)
  999.     (this,folder,fLock);
  1000. }
  1001.  
  1002.  
  1003. /* method: wpCreateShadowObject */
  1004. WPObject*   wpCreateShadowObject(WPFolder* Folder,
  1005.         BOOL fLock)
  1006. {
  1007.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCreateShadowObject)
  1008.     (this,Folder,fLock);
  1009. }
  1010.  
  1011.  
  1012. /* method: wpDelete */
  1013. ULONG   wpDelete(ULONG fConfirmations)
  1014. {
  1015.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDelete)
  1016.     (this,fConfirmations);
  1017. }
  1018.  
  1019.  
  1020. /* method: wpDeleteFromObjUseList */
  1021. BOOL   wpDeleteFromObjUseList(PUSEITEM pUseItem)
  1022. {
  1023.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDeleteFromObjUseList)
  1024.     (this,pUseItem);
  1025. }
  1026.  
  1027.  
  1028. /* method: wpDisplayHelp */
  1029. BOOL   wpDisplayHelp(ULONG HelpPanelId,
  1030.         PSZ HelpLibrary)
  1031. {
  1032.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDisplayHelp)
  1033.     (this,HelpPanelId,HelpLibrary);
  1034. }
  1035.  
  1036.  
  1037. /* method: wpDisplayMenu */
  1038. HWND   wpDisplayMenu(HWND hwndOwner,
  1039.         HWND hwndClient,
  1040.         POINTL* ptlPopupPt,
  1041.         ULONG ulMenuType,
  1042.         ULONG ulReserved)
  1043. {
  1044.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDisplayMenu)
  1045.     (this,hwndOwner,hwndClient,ptlPopupPt,ulMenuType,ulReserved);
  1046. }
  1047.  
  1048.  
  1049. /* method: wpDoesObjectMatch */
  1050. BOOL   wpDoesObjectMatch(PVOID pvoidExtendedCriteria)
  1051. {
  1052.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDoesObjectMatch)
  1053.     (this,pvoidExtendedCriteria);
  1054. }
  1055.  
  1056.  
  1057. /* method: wpDraggedOverObject */
  1058. MRESULT   wpDraggedOverObject(WPObject* DraggedOverObject)
  1059. {
  1060.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDraggedOverObject)
  1061.     (this,DraggedOverObject);
  1062. }
  1063.  
  1064.  
  1065. /* method: wpDragOver */
  1066. MRESULT   wpDragOver(HWND hwndCnr,
  1067.         PDRAGINFO pdrgInfo)
  1068. {
  1069.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDragOver)
  1070.     (this,hwndCnr,pdrgInfo);
  1071. }
  1072.  
  1073.  
  1074. /* method: wpDrop */
  1075. MRESULT   wpDrop(HWND hwndCnr,
  1076.         PDRAGINFO pdrgInfo,
  1077.         PDRAGITEM pdrgItem)
  1078. {
  1079.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDrop)
  1080.     (this,hwndCnr,pdrgInfo,pdrgItem);
  1081. }
  1082.  
  1083.  
  1084. /* method: wpDroppedOnObject */
  1085. BOOL   wpDroppedOnObject(WPObject* DroppedOnObject)
  1086. {
  1087.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpDroppedOnObject)
  1088.     (this,DroppedOnObject);
  1089. }
  1090.  
  1091.  
  1092. /* method: wpEndConversation */
  1093. MRESULT   wpEndConversation(ULONG ulItemID,
  1094.         ULONG flResult)
  1095. {
  1096.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpEndConversation)
  1097.     (this,ulItemID,flResult);
  1098. }
  1099.  
  1100.  
  1101. /* method: wpFilterPopupMenu */
  1102. ULONG   wpFilterPopupMenu(ULONG ulFlags,
  1103.         HWND hwndCnr,
  1104.         BOOL fMultiSelect)
  1105. {
  1106.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpFilterPopupMenu)
  1107.     (this,ulFlags,hwndCnr,fMultiSelect);
  1108. }
  1109.  
  1110.  
  1111. /* method: wpFindUseItem */
  1112. PUSEITEM   wpFindUseItem(ULONG type,
  1113.         PUSEITEM pCurrentItem)
  1114. {
  1115.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpFindUseItem)
  1116.     (this,type,pCurrentItem);
  1117. }
  1118.  
  1119.  
  1120. /* method: wpFormatDragItem */
  1121. BOOL   wpFormatDragItem(PDRAGITEM pdrgItem)
  1122. {
  1123.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpFormatDragItem)
  1124.     (this,pdrgItem);
  1125. }
  1126.  
  1127.  
  1128. /* method: wpFree */
  1129. BOOL   wpFree()
  1130. {
  1131.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpFree)
  1132.     (this);
  1133. }
  1134.  
  1135.  
  1136. /* method: wpFreeMem */
  1137. BOOL   wpFreeMem(PBYTE pByte)
  1138. {
  1139.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpFreeMem)
  1140.     (this,pByte);
  1141. }
  1142.  
  1143.  
  1144. /* method: wpHide */
  1145. BOOL   wpHide()
  1146. {
  1147.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpHide)
  1148.     (this);
  1149. }
  1150.  
  1151.  
  1152. /* method: wpInitData */
  1153. void   wpInitData()
  1154. {
  1155.    SOM_ResolveD(this,WPFileSystem,WPObject,wpInitData)
  1156.     (this);
  1157. }
  1158.  
  1159.  
  1160. /* method: wpInsertPopupMenuItems */
  1161. BOOL   wpInsertPopupMenuItems(HWND hwndMenu,
  1162.         ULONG iPosition,
  1163.         HMODULE hmod,
  1164.         ULONG MenuID,
  1165.         ULONG SubMenuID)
  1166. {
  1167.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpInsertPopupMenuItems)
  1168.     (this,hwndMenu,iPosition,hmod,MenuID,SubMenuID);
  1169. }
  1170.  
  1171.  
  1172. /* method: wpInsertSettingsPage */
  1173. ULONG   wpInsertSettingsPage(HWND hwndNotebook,
  1174.         PPAGEINFO ppageinfo)
  1175. {
  1176.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpInsertSettingsPage)
  1177.     (this,hwndNotebook,ppageinfo);
  1178. }
  1179.  
  1180.  
  1181. /* method: wpMenuItemHelpSelected */
  1182. BOOL   wpMenuItemHelpSelected(ULONG MenuId)
  1183. {
  1184.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpMenuItemHelpSelected)
  1185.     (this,MenuId);
  1186. }
  1187.  
  1188.  
  1189. /* method: wpMenuItemSelected */
  1190. BOOL   wpMenuItemSelected(HWND hwndFrame,
  1191.         ULONG ulMenuId)
  1192. {
  1193.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpMenuItemSelected)
  1194.     (this,hwndFrame,ulMenuId);
  1195. }
  1196.  
  1197.  
  1198. /* method: wpModifyPopupMenu */
  1199. BOOL   wpModifyPopupMenu(HWND hwndMenu,
  1200.         HWND hwndCnr,
  1201.         ULONG iPosition)
  1202. {
  1203.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpModifyPopupMenu)
  1204.     (this,hwndMenu,hwndCnr,iPosition);
  1205. }
  1206.  
  1207.  
  1208. /* method: wpMoveObject */
  1209. BOOL   wpMoveObject(WPFolder* Folder)
  1210. {
  1211.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpMoveObject)
  1212.     (this,Folder);
  1213. }
  1214.  
  1215.  
  1216. /* method: wpOpen */
  1217. HWND   wpOpen(HWND hwndCnr,
  1218.         ULONG ulView,
  1219.         ULONG param)
  1220. {
  1221.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpOpen)
  1222.     (this,hwndCnr,ulView,param);
  1223. }
  1224.  
  1225.  
  1226. /* method: wpPrintObject */
  1227. BOOL   wpPrintObject(PPRINTDEST pPrintDest,
  1228.         ULONG ulReserved)
  1229. {
  1230.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpPrintObject)
  1231.     (this,pPrintDest,ulReserved);
  1232. }
  1233.  
  1234.  
  1235. /* method: wpQueryConcurrentView */
  1236. ULONG   wpQueryConcurrentView()
  1237. {
  1238.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryConcurrentView)
  1239.     (this);
  1240. }
  1241.  
  1242.  
  1243. /* method: wpQueryButtonAppearance */
  1244. ULONG   wpQueryButtonAppearance()
  1245. {
  1246.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryButtonAppearance)
  1247.     (this);
  1248. }
  1249.  
  1250.  
  1251. /* method: wpQueryConfirmations */
  1252. ULONG   wpQueryConfirmations()
  1253. {
  1254.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryConfirmations)
  1255.     (this);
  1256. }
  1257.  
  1258.  
  1259. /* method: wpQueryDefaultHelp */
  1260. BOOL   wpQueryDefaultHelp(PULONG pHelpPanelId,
  1261.         PSZ HelpLibrary)
  1262. {
  1263.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryDefaultHelp)
  1264.     (this,pHelpPanelId,HelpLibrary);
  1265. }
  1266.  
  1267.  
  1268. /* method: wpQueryDefaultView */
  1269. ULONG   wpQueryDefaultView()
  1270. {
  1271.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryDefaultView)
  1272.     (this);
  1273. }
  1274.  
  1275.  
  1276. /* method: wpQueryDetailsData */
  1277. ULONG   wpQueryDetailsData(PVOID* ppDetailsData,
  1278.         PULONG pcp)
  1279. {
  1280.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryDetailsData)
  1281.     (this,ppDetailsData,pcp);
  1282. }
  1283.  
  1284.  
  1285. /* method: wpQueryError */
  1286. ULONG   wpQueryError()
  1287. {
  1288.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryError)
  1289.     (this);
  1290. }
  1291.  
  1292.  
  1293. /* method: wpSetFolder */
  1294. BOOL   wpSetFolder(WPObject* container)
  1295. {
  1296.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetFolder)
  1297.     (this,container);
  1298. }
  1299.  
  1300.  
  1301. /* method: wpQueryFolder */
  1302. WPObject*   wpQueryFolder()
  1303. {
  1304.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryFolder)
  1305.     (this);
  1306. }
  1307.  
  1308.  
  1309. /* method: wpQueryIcon */
  1310. HPOINTER   wpQueryIcon()
  1311. {
  1312.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryIcon)
  1313.     (this);
  1314. }
  1315.  
  1316.  
  1317. /* method: wpQueryIconData */
  1318. ULONG   wpQueryIconData(PICONINFO pIconInfo)
  1319. {
  1320.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryIconData)
  1321.     (this,pIconInfo);
  1322. }
  1323.  
  1324.  
  1325. /* method: wpQueryMinWindow */
  1326. ULONG   wpQueryMinWindow()
  1327. {
  1328.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryMinWindow)
  1329.     (this);
  1330. }
  1331.  
  1332.  
  1333. /* method: wpQueryNameClashOptions */
  1334. ULONG   wpQueryNameClashOptions(ULONG menuID)
  1335. {
  1336.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryNameClashOptions)
  1337.     (this,menuID);
  1338. }
  1339.  
  1340.  
  1341. /* method: wpQueryStyle */
  1342. ULONG   wpQueryStyle()
  1343. {
  1344.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryStyle)
  1345.     (this);
  1346. }
  1347.  
  1348.  
  1349. /* method: wpSetTaskRec */
  1350. BOOL32   wpSetTaskRec(PTASKREC pNew,
  1351.         PTASKREC pOld)
  1352. {
  1353.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetTaskRec)
  1354.     (this,pNew,pOld);
  1355. }
  1356.  
  1357.  
  1358. /* method: wpFindTaskRec */
  1359. PTASKREC   wpFindTaskRec()
  1360. {
  1361.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpFindTaskRec)
  1362.     (this);
  1363. }
  1364.  
  1365.  
  1366. /* method: wpQueryTitle */
  1367. PSZ   wpQueryTitle()
  1368. {
  1369.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryTitle)
  1370.     (this);
  1371. }
  1372.  
  1373.  
  1374. /* method: wpRegisterView */
  1375. BOOL   wpRegisterView(HWND hwndFrame,
  1376.         PSZ pszViewTitle)
  1377. {
  1378.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRegisterView)
  1379.     (this,hwndFrame,pszViewTitle);
  1380. }
  1381.  
  1382.  
  1383. /* method: wpReleaseObjectMutexSem */
  1384. ULONG   wpReleaseObjectMutexSem()
  1385. {
  1386.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpReleaseObjectMutexSem)
  1387.     (this);
  1388. }
  1389.  
  1390.  
  1391. /* method: wpRender */
  1392. MRESULT   wpRender(PDRAGTRANSFER pdxfer)
  1393. {
  1394.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRender)
  1395.     (this,pdxfer);
  1396. }
  1397.  
  1398.  
  1399. /* method: wpRenderComplete */
  1400. MRESULT   wpRenderComplete(PDRAGTRANSFER pdxfer,
  1401.         ULONG ulResult)
  1402. {
  1403.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRenderComplete)
  1404.     (this,pdxfer,ulResult);
  1405. }
  1406.  
  1407.  
  1408. /* method: wpReplaceObject */
  1409. BOOL32   wpReplaceObject(WPObject* targetObject,
  1410.         BOOL32 fMove)
  1411. {
  1412.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpReplaceObject)
  1413.     (this,targetObject,fMove);
  1414. }
  1415.  
  1416.  
  1417. /* method: wpRequestObjectMutexSem */
  1418. ULONG   wpRequestObjectMutexSem(ULONG ulTimeout)
  1419. {
  1420.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRequestObjectMutexSem)
  1421.     (this,ulTimeout);
  1422. }
  1423.  
  1424.  
  1425. /* method: wpRestore */
  1426. BOOL   wpRestore()
  1427. {
  1428.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRestore)
  1429.     (this);
  1430. }
  1431.  
  1432.  
  1433. /* method: wpRestoreData */
  1434. BOOL   wpRestoreData(PSZ pszClass,
  1435.         ULONG ulKey,
  1436.         PBYTE pValue,
  1437.         PULONG pcbValue)
  1438. {
  1439.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRestoreData)
  1440.     (this,pszClass,ulKey,pValue,pcbValue);
  1441. }
  1442.  
  1443.  
  1444. /* method: wpRestoreLong */
  1445. BOOL   wpRestoreLong(PSZ pszClass,
  1446.         ULONG ulKey,
  1447.         PULONG pulValue)
  1448. {
  1449.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRestoreLong)
  1450.     (this,pszClass,ulKey,pulValue);
  1451. }
  1452.  
  1453.  
  1454. /* method: wpRestoreState */
  1455. BOOL   wpRestoreState(ULONG ulReserved)
  1456. {
  1457.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRestoreState)
  1458.     (this,ulReserved);
  1459. }
  1460.  
  1461.  
  1462. /* method: wpRestoreString */
  1463. BOOL   wpRestoreString(PSZ pszClass,
  1464.         ULONG ulKey,
  1465.         PSZ pszValue,
  1466.         PULONG pcbValue)
  1467. {
  1468.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpRestoreString)
  1469.     (this,pszClass,ulKey,pszValue,pcbValue);
  1470. }
  1471.  
  1472.  
  1473. /* method: wpSaveData */
  1474. BOOL   wpSaveData(PSZ pszClass,
  1475.         ULONG ulKey,
  1476.         PBYTE pValue,
  1477.         ULONG cbValue)
  1478. {
  1479.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSaveData)
  1480.     (this,pszClass,ulKey,pValue,cbValue);
  1481. }
  1482.  
  1483.  
  1484. /* method: wpSaveImmediate */
  1485. BOOL   wpSaveImmediate()
  1486. {
  1487.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSaveImmediate)
  1488.     (this);
  1489. }
  1490.  
  1491.  
  1492. /* method: wpSaveDeferred */
  1493. BOOL   wpSaveDeferred()
  1494. {
  1495.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSaveDeferred)
  1496.     (this);
  1497. }
  1498.  
  1499.  
  1500. /* method: wpSaveLong */
  1501. BOOL   wpSaveLong(PSZ pszClass,
  1502.         ULONG ulKey,
  1503.         ULONG ulValue)
  1504. {
  1505.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSaveLong)
  1506.     (this,pszClass,ulKey,ulValue);
  1507. }
  1508.  
  1509.  
  1510. /* method: wpSaveState */
  1511. BOOL   wpSaveState()
  1512. {
  1513.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSaveState)
  1514.     (this);
  1515. }
  1516.  
  1517.  
  1518. /* method: wpSaveString */
  1519. BOOL   wpSaveString(PSZ pszClass,
  1520.         ULONG ulKey,
  1521.         PSZ pszValue)
  1522. {
  1523.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSaveString)
  1524.     (this,pszClass,ulKey,pszValue);
  1525. }
  1526.  
  1527.  
  1528. /* method: wpScanSetupString */
  1529. BOOL   wpScanSetupString(PSZ pszSetupString,
  1530.         PSZ pszKey,
  1531.         PSZ pszValue,
  1532.         PULONG pcbValue)
  1533. {
  1534.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpScanSetupString)
  1535.     (this,pszSetupString,pszKey,pszValue,pcbValue);
  1536. }
  1537.  
  1538.  
  1539. /* method: wpSetConcurrentView */
  1540. void   wpSetConcurrentView(ULONG ulCCView)
  1541. {
  1542.    SOM_ResolveD(this,WPFileSystem,WPObject,wpSetConcurrentView)
  1543.     (this,ulCCView);
  1544. }
  1545.  
  1546.  
  1547. /* method: wpSetButtonAppearance */
  1548. void   wpSetButtonAppearance(ULONG ulButtonType)
  1549. {
  1550.    SOM_ResolveD(this,WPFileSystem,WPObject,wpSetButtonAppearance)
  1551.     (this,ulButtonType);
  1552. }
  1553.  
  1554.  
  1555. /* method: wpSetDefaultHelp */
  1556. BOOL   wpSetDefaultHelp(ULONG HelpPanelId,
  1557.         PSZ HelpLibrary)
  1558. {
  1559.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetDefaultHelp)
  1560.     (this,HelpPanelId,HelpLibrary);
  1561. }
  1562.  
  1563.  
  1564. /* method: wpSetDefaultView */
  1565. BOOL   wpSetDefaultView(ULONG ulView)
  1566. {
  1567.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetDefaultView)
  1568.     (this,ulView);
  1569. }
  1570.  
  1571.  
  1572. /* method: wpSetError */
  1573. BOOL   wpSetError(ULONG ulErrorId)
  1574. {
  1575.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetError)
  1576.     (this,ulErrorId);
  1577. }
  1578.  
  1579.  
  1580. /* method: wpSetIconHandle */
  1581. BOOL   wpSetIconHandle(HPOINTER hptrNewIcon)
  1582. {
  1583.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetIconHandle)
  1584.     (this,hptrNewIcon);
  1585. }
  1586.  
  1587.  
  1588. /* method: wpQueryScreenGroupID */
  1589. SGID   wpQueryScreenGroupID(SGID sgidPrevSgId)
  1590. {
  1591.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryScreenGroupID)
  1592.     (this,sgidPrevSgId);
  1593. }
  1594.  
  1595.  
  1596. /* method: wpSetupOnce */
  1597. BOOL   wpSetupOnce(PSZ pszSetupString)
  1598. {
  1599.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetupOnce)
  1600.     (this,pszSetupString);
  1601. }
  1602.  
  1603.  
  1604. /* method: wpSetIcon */
  1605. BOOL   wpSetIcon(HPOINTER hptrNewIcon)
  1606. {
  1607.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetIcon)
  1608.     (this,hptrNewIcon);
  1609. }
  1610.  
  1611.  
  1612. /* method: wpSetIconData */
  1613. BOOL   wpSetIconData(PICONINFO pIconInfo)
  1614. {
  1615.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetIconData)
  1616.     (this,pIconInfo);
  1617. }
  1618.  
  1619.  
  1620. /* method: wpSetMinWindow */
  1621. void   wpSetMinWindow(ULONG ulMinWindow)
  1622. {
  1623.    SOM_ResolveD(this,WPFileSystem,WPObject,wpSetMinWindow)
  1624.     (this,ulMinWindow);
  1625. }
  1626.  
  1627.  
  1628. /* method: wpSetStyle */
  1629. BOOL   wpSetStyle(ULONG ulNewStyle)
  1630. {
  1631.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetStyle)
  1632.     (this,ulNewStyle);
  1633. }
  1634.  
  1635.  
  1636. /* method: wpModifyStyle */
  1637. BOOL   wpModifyStyle(ULONG ulStyleFlags,
  1638.         ULONG ulStyleMask)
  1639. {
  1640.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpModifyStyle)
  1641.     (this,ulStyleFlags,ulStyleMask);
  1642. }
  1643.  
  1644.  
  1645. /* method: wpSetTitle */
  1646. BOOL   wpSetTitle(PSZ pszNewTitle)
  1647. {
  1648.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetTitle)
  1649.     (this,pszNewTitle);
  1650. }
  1651.  
  1652.  
  1653. /* method: wpSetup */
  1654. BOOL   wpSetup(PSZ pszSetupString)
  1655. {
  1656.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetup)
  1657.     (this,pszSetupString);
  1658. }
  1659.  
  1660.  
  1661. /* method: wpSwitchTo */
  1662. BOOL   wpSwitchTo(ULONG View)
  1663. {
  1664.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSwitchTo)
  1665.     (this,View);
  1666. }
  1667.  
  1668.  
  1669. /* method: wpUnInitData */
  1670. void   wpUnInitData()
  1671. {
  1672.    SOM_ResolveD(this,WPFileSystem,WPObject,wpUnInitData)
  1673.     (this);
  1674. }
  1675.  
  1676.  
  1677. /* method: wpViewObject */
  1678. HWND   wpViewObject(HWND hwndCnr,
  1679.         ULONG ulView,
  1680.         ULONG param)
  1681. {
  1682.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpViewObject)
  1683.     (this,hwndCnr,ulView,param);
  1684. }
  1685.  
  1686.  
  1687. /* method: wpQueryTrueStyle */
  1688. ULONG   wpQueryTrueStyle()
  1689. {
  1690.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryTrueStyle)
  1691.     (this);
  1692. }
  1693.  
  1694.  
  1695. /* method: wpQueryHandle */
  1696. HOBJECT   wpQueryHandle()
  1697. {
  1698.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryHandle)
  1699.     (this);
  1700. }
  1701.  
  1702.  
  1703. /* method: wpUnlockObject */
  1704. BOOL   wpUnlockObject()
  1705. {
  1706.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpUnlockObject)
  1707.     (this);
  1708. }
  1709.  
  1710.  
  1711. /* method: wpObjectReady */
  1712. void   wpObjectReady(ULONG ulCode,
  1713.         WPObject* refObject)
  1714. {
  1715.    SOM_ResolveD(this,WPFileSystem,WPObject,wpObjectReady)
  1716.     (this,ulCode,refObject);
  1717. }
  1718.  
  1719.  
  1720. /* method: wpIsObjectInitialized */
  1721. BOOL   wpIsObjectInitialized()
  1722. {
  1723.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpIsObjectInitialized)
  1724.     (this);
  1725. }
  1726.  
  1727.  
  1728. /* method: wpCreateShadowObjectExt */
  1729. WPObject*   wpCreateShadowObjectExt(WPFolder* Folder,
  1730.         BOOL fLock,
  1731.         PSZ pszSetup,
  1732.         M_WPObject* shadowClass)
  1733. {
  1734.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCreateShadowObjectExt)
  1735.     (this,Folder,fLock,pszSetup,shadowClass);
  1736. }
  1737.  
  1738.  
  1739. /* method: wpCnrDeleteUseItem */
  1740. BOOL   wpCnrDeleteUseItem(HWND hwndCnr)
  1741. {
  1742.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpCnrDeleteUseItem)
  1743.     (this,hwndCnr);
  1744. }
  1745.  
  1746.  
  1747. /* method: wpIsDeleteable */
  1748. BOOL   wpIsDeleteable()
  1749. {
  1750.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpIsDeleteable)
  1751.     (this);
  1752. }
  1753.  
  1754.  
  1755. /* method: wpQueryCoreRecord */
  1756. PMINIRECORDCORE   wpQueryCoreRecord()
  1757. {
  1758.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryCoreRecord)
  1759.     (this);
  1760. }
  1761.  
  1762.  
  1763. /* method: wpSetObjectID */
  1764. BOOL   wpSetObjectID(PSZ pszObjectID)
  1765. {
  1766.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetObjectID)
  1767.     (this,pszObjectID);
  1768. }
  1769.  
  1770.  
  1771. /* method: wpQueryObjectID */
  1772. PSZ   wpQueryObjectID()
  1773. {
  1774.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryObjectID)
  1775.     (this);
  1776. }
  1777.  
  1778.  
  1779. /* method: wpSetDefaultIconPos */
  1780. BOOL   wpSetDefaultIconPos(PPOINTL pPointl)
  1781. {
  1782.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpSetDefaultIconPos)
  1783.     (this,pPointl);
  1784. }
  1785.  
  1786.  
  1787. /* method: wpQueryDefaultIconPos */
  1788. BOOL   wpQueryDefaultIconPos(PPOINTL pPointl)
  1789. {
  1790.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryDefaultIconPos)
  1791.     (this,pPointl);
  1792. }
  1793.  
  1794.  
  1795. /* method: wpCnrRefreshDetails */
  1796. void   wpCnrRefreshDetails()
  1797. {
  1798.    SOM_ResolveD(this,WPFileSystem,WPObject,wpCnrRefreshDetails)
  1799.     (this);
  1800. }
  1801.  
  1802.  
  1803. /* method: wpFindViewItem */
  1804. PVIEWITEM   wpFindViewItem(ULONG flViews,
  1805.         PVIEWITEM pCurrentItem)
  1806. {
  1807.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpFindViewItem)
  1808.     (this,flViews,pCurrentItem);
  1809. }
  1810.  
  1811.  
  1812. /* method: wpLockObject */
  1813. void   wpLockObject()
  1814. {
  1815.    SOM_ResolveD(this,WPFileSystem,WPObject,wpLockObject)
  1816.     (this);
  1817. }
  1818.  
  1819.  
  1820. /* method: wpIsLocked */
  1821. BOOL   wpIsLocked()
  1822. {
  1823.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpIsLocked)
  1824.     (this);
  1825. }
  1826.  
  1827.  
  1828. /* method: wpQueryContainerFlagPtr */
  1829. PULONG   wpQueryContainerFlagPtr()
  1830. {
  1831.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpQueryContainerFlagPtr)
  1832.     (this);
  1833. }
  1834.  
  1835.  
  1836. /* method: wpWaitForClose */
  1837. ULONG   wpWaitForClose(LHANDLE lhView,
  1838.         ULONG ulViews,
  1839.         long lTimeOut,
  1840.         BOOL bAutoClose)
  1841. {
  1842.    return SOM_ResolveD(this,WPFileSystem,WPObject,wpWaitForClose)
  1843.     (this,lhView,ulViews,lTimeOut,bAutoClose);
  1844. }
  1845.  
  1846.  
  1847. /* method: somInit */
  1848. void   somInit()
  1849. {
  1850.    SOM_ResolveD(this,WPFileSystem,SOMObject,somInit)
  1851.     (this);
  1852. }
  1853.  
  1854.  
  1855. /* method: somUninit */
  1856. void   somUninit()
  1857. {
  1858.    SOM_ResolveD(this,WPFileSystem,SOMObject,somUninit)
  1859.     (this);
  1860. }
  1861.  
  1862.  
  1863. /* method: somDefaultInit */
  1864. void   somDefaultInit(somInitCtrl* ctrl)
  1865. {
  1866.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultInit)
  1867.     (this,ctrl);
  1868. }
  1869.  
  1870.  
  1871. /* method: somDestruct */
  1872. void   somDestruct(octet doFree,
  1873.         somDestructCtrl* ctrl)
  1874. {
  1875.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDestruct)
  1876.     (this,doFree,ctrl);
  1877. }
  1878.  
  1879.  
  1880. /* method: somDefaultCopyInit */
  1881. void   somDefaultCopyInit(somInitCtrl* ctrl,
  1882.         SOMObject* fromObj)
  1883. {
  1884.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultCopyInit)
  1885.     (this,ctrl,fromObj);
  1886. }
  1887.  
  1888.  
  1889. /* method: somDefaultAssign */
  1890. WPFileSystem*  somDefaultAssign(somAssignCtrl* ctrl,
  1891.         SOMObject* fromObj)
  1892. {
  1893.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultAssign)
  1894.     (this,ctrl,fromObj);
  1895. }
  1896.  
  1897.  
  1898. /* method: somDefaultConstCopyInit */
  1899. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  1900.         SOMObject* fromObj)
  1901. {
  1902.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultConstCopyInit)
  1903.     (this,ctrl,fromObj);
  1904. }
  1905.  
  1906.  
  1907. /* method: somDefaultVCopyInit */
  1908. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  1909.         SOMObject* fromObj)
  1910. {
  1911.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultVCopyInit)
  1912.     (this,ctrl,fromObj);
  1913. }
  1914.  
  1915.  
  1916. /* method: somDefaultConstVCopyInit */
  1917. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  1918.         SOMObject* fromObj)
  1919. {
  1920.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultConstVCopyInit)
  1921.     (this,ctrl,fromObj);
  1922. }
  1923.  
  1924.  
  1925. /* method: somDefaultConstAssign */
  1926. WPFileSystem*  somDefaultConstAssign(somAssignCtrl* ctrl,
  1927.         SOMObject* fromObj)
  1928. {
  1929.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultConstAssign)
  1930.     (this,ctrl,fromObj);
  1931. }
  1932.  
  1933.  
  1934. /* method: somDefaultVAssign */
  1935. WPFileSystem*  somDefaultVAssign(somAssignCtrl* ctrl,
  1936.         SOMObject* fromObj)
  1937. {
  1938.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultVAssign)
  1939.     (this,ctrl,fromObj);
  1940. }
  1941.  
  1942.  
  1943. /* method: somDefaultConstVAssign */
  1944. WPFileSystem*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  1945.         SOMObject* fromObj)
  1946. {
  1947.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somDefaultConstVAssign)
  1948.     (this,ctrl,fromObj);
  1949. }
  1950.  
  1951.  
  1952. /* method: somFree */
  1953. void   somFree()
  1954. {
  1955.    SOM_ResolveD(this,WPFileSystem,SOMObject,somFree)
  1956.     (this);
  1957. }
  1958.  
  1959.  
  1960. /* method: somGetClass */
  1961. M_WPFileSystem*  somGetClass()
  1962. {
  1963.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somGetClass)
  1964.     (this);
  1965. }
  1966.  
  1967.  
  1968. /* method: somGetClassName */
  1969. string   somGetClassName()
  1970. {
  1971.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somGetClassName)
  1972.     (this);
  1973. }
  1974.  
  1975.  
  1976. /* method: somGetSize */
  1977. long   somGetSize()
  1978. {
  1979.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somGetSize)
  1980.     (this);
  1981. }
  1982.  
  1983.  
  1984. /* method: somIsA */
  1985. boolean   somIsA(SOMClass* aClassObj)
  1986. {
  1987.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somIsA)
  1988.     (this,aClassObj);
  1989. }
  1990.  
  1991.  
  1992. /* method: somIsInstanceOf */
  1993. boolean   somIsInstanceOf(SOMClass* aClassObj)
  1994. {
  1995.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somIsInstanceOf)
  1996.     (this,aClassObj);
  1997. }
  1998.  
  1999.  
  2000. /* method: somRespondsTo */
  2001. boolean   somRespondsTo(somId mId)
  2002. {
  2003.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somRespondsTo)
  2004.     (this,mId);
  2005. }
  2006.  
  2007.  
  2008. /* va_list method: somDispatch */
  2009. /* the va_list invocation form */
  2010. boolean   WPFileSystem_somDispatch(somToken* retValue,
  2011.         somId methodId,
  2012.         va_list ap)
  2013. {
  2014. return SOM_ResolveD(this,WPFileSystem,SOMObject,somDispatch)
  2015.     (this,retValue,methodId,ap);
  2016. }
  2017.  
  2018. /* the varargs invocation form */
  2019. boolean   somDispatch(somToken* retValue,
  2020.         somId methodId,
  2021.         ...)
  2022. {
  2023.    va_list ap;
  2024.    va_start(ap, methodId);
  2025.    boolean __somResult = 
  2026.       SOM_ResolveD(this,WPFileSystem,SOMObject,somDispatch)
  2027.     (this,retValue,methodId,ap);
  2028.    va_end(ap);
  2029.    return __somResult;
  2030. }
  2031.  
  2032.  
  2033. /* va_list method: somClassDispatch */
  2034. /* the va_list invocation form */
  2035. boolean   WPFileSystem_somClassDispatch(SOMClass* clsObj,
  2036.         somToken* retValue,
  2037.         somId methodId,
  2038.         va_list ap)
  2039. {
  2040. return SOM_ResolveD(this,WPFileSystem,SOMObject,somClassDispatch)
  2041.     (this,clsObj,retValue,methodId,ap);
  2042. }
  2043.  
  2044. /* the varargs invocation form */
  2045. boolean   somClassDispatch(SOMClass* clsObj,
  2046.         somToken* retValue,
  2047.         somId methodId,
  2048.         ...)
  2049. {
  2050.    va_list ap;
  2051.    va_start(ap, methodId);
  2052.    boolean __somResult = 
  2053.       SOM_ResolveD(this,WPFileSystem,SOMObject,somClassDispatch)
  2054.     (this,clsObj,retValue,methodId,ap);
  2055.    va_end(ap);
  2056.    return __somResult;
  2057. }
  2058.  
  2059.  
  2060. /* method: somCastObj */
  2061. boolean   somCastObj(SOMClass* cls)
  2062. {
  2063.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somCastObj)
  2064.     (this,cls);
  2065. }
  2066.  
  2067.  
  2068. /* method: somResetObj */
  2069. boolean   somResetObj()
  2070. {
  2071.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somResetObj)
  2072.     (this);
  2073. }
  2074.  
  2075.  
  2076. /* method: somPrintSelf */
  2077. SOMObject*   somPrintSelf()
  2078. {
  2079.    return SOM_ResolveD(this,WPFileSystem,SOMObject,somPrintSelf)
  2080.     (this);
  2081. }
  2082.  
  2083.  
  2084. /* method: somDumpSelf */
  2085. void   somDumpSelf(long level)
  2086. {
  2087.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDumpSelf)
  2088.     (this,level);
  2089. }
  2090.  
  2091.  
  2092. /* method: somDumpSelfInt */
  2093. void   somDumpSelfInt(long level)
  2094. {
  2095.    SOM_ResolveD(this,WPFileSystem,SOMObject,somDumpSelfInt)
  2096.     (this,level);
  2097. }
  2098.  
  2099.  
  2100.  
  2101. };   /* WPFileSystem */
  2102.  
  2103.  
  2104.  
  2105. #endif       /* SOM_WPFileSystem_xh */
  2106.  
  2107. #ifndef SOM_M_WPFileSystem_xh
  2108. #define SOM_M_WPFileSystem_xh
  2109.  
  2110. class M_WPFileSystem;
  2111.  
  2112. #define M_WPFileSystem_MajorVersion 1
  2113. #define M_WPFileSystem_MinorVersion 2
  2114.  
  2115. /* C++ SOM defs */
  2116. #include <somcls.xh>
  2117. #include <somcm.xh>
  2118.  
  2119. /* C++ parent defs */
  2120. #ifndef SOM_M_WPObject_xh
  2121. #include <wpobject.xh>
  2122. #endif
  2123.  
  2124. #ifndef M_WPFileSystem_API
  2125. #define M_WPFileSystem_API
  2126. /*
  2127.  * -- The Class API
  2128.  */
  2129.  
  2130. /*
  2131.  * Start of user-defined types:
  2132.  */
  2133.  
  2134. /*
  2135.  * End of user-defined types.
  2136.  */
  2137.  
  2138. /*
  2139.  * -- M_WPFileSystem is a metaclass for WPFileSystem. Make sure WPFileSystem is known.
  2140.  */
  2141. class WPFileSystem;
  2142.  
  2143.  
  2144. /* A procedure to create the M_WPFileSystem Class */
  2145. SOMEXTERN SOMClass * SOMLINK M_WPFileSystemNewClass(
  2146.         integer4 majorVersion,
  2147.         integer4 minorVersion);
  2148.  
  2149. /* The API to the M_WPFileSystem class object, and the methods it introduces. */
  2150. SOMEXTERN struct M_WPFileSystemClassDataStructure {
  2151.     SOMClass *classObject;
  2152.     somMToken wpclsQueryInstanceType;
  2153.     somMToken wpclsQueryInstanceFilter;
  2154.     somMToken wpclsQueryObjectFromPath;
  2155.     somMToken wpclsQueryAwakeObject;
  2156.     somMToken wpclsFileSysExists;
  2157. } SOMDLINK M_WPFileSystemClassData;
  2158. #define _M_WPFileSystem M_WPFileSystemClassData.classObject
  2159.  
  2160. /* The API to parentMtabs for M_WPFileSystem, and the instance data it introduces. */
  2161. SOMEXTERN struct M_WPFileSystemCClassDataStructure {
  2162.     somMethodTabs parentMtab;
  2163.     somDToken              instanceDataToken;
  2164. } SOMDLINK M_WPFileSystemCClassData;
  2165.  
  2166. /*
  2167.  * -- Typedefs for M_WPFileSystem Method Procedures
  2168.  */
  2169. SOMEXTERN {
  2170. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryAwakeObject)(M_WPFileSystem *somSelf,
  2171.         PSZ pszInputPath);
  2172. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsFileSysExists)(M_WPFileSystem *somSelf,
  2173.         SOMObject* Folder,
  2174.         PSZ pszFilename,
  2175.         ULONG attrFile);
  2176. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryObjectFromPath)(M_WPFileSystem *somSelf,
  2177.         PSZ pszFQPath);
  2178. typedef PSZ   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryInstanceType)(M_WPFileSystem *somSelf);
  2179. typedef PSZ   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryInstanceFilter)(M_WPFileSystem *somSelf);
  2180.  
  2181. /*
  2182.  * -- Typedefs for Reintroduced Wrapper Methods
  2183.  */
  2184. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsCreateDefaultTemplates)(M_WPFileSystem *somSelf,
  2185.         WPObject* Folder);
  2186. typedef void   (SOMLINK * somTD_M_WPFileSystem_wpclsInitData)(M_WPFileSystem *somSelf);
  2187. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsMakeAwake)(M_WPFileSystem *somSelf,
  2188.         PSZ pszTitle,
  2189.         ULONG ulStyle,
  2190.         HPOINTER hptrIcon,
  2191.         POBJDATA pObjData,
  2192.         WPFolder* Folder,
  2193.         ULONG ulUser);
  2194. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsNew)(M_WPFileSystem *somSelf,
  2195.         PSZ pszTitle,
  2196.         PSZ pszSetupEnv,
  2197.         WPFolder* Folder,
  2198.         BOOL fLock);
  2199. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryDefaultHelp)(M_WPFileSystem *somSelf,
  2200.         PULONG pHelpPanelId,
  2201.         PSZ pszHelpLibrary);
  2202. typedef ULONG   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryDefaultView)(M_WPFileSystem *somSelf);
  2203. typedef PCLASSDETAILS   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryDetails)(M_WPFileSystem *somSelf);
  2204. typedef ULONG   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryDetailsInfo)(M_WPFileSystem *somSelf,
  2205.         PCLASSFIELDINFO* ppClassFieldInfo,
  2206.         PULONG pSize);
  2207. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryExtendedCriteria)(M_WPFileSystem *somSelf,
  2208.         PSZ pszName,
  2209.         ULONG ulSearchType,
  2210.         PVOID pvoidExtendedCriteria);
  2211. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryFolder)(M_WPFileSystem *somSelf,
  2212.         PSZ pszLocation,
  2213.         BOOL fLock);
  2214. typedef HPOINTER   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryIcon)(M_WPFileSystem *somSelf);
  2215. typedef void   (SOMLINK * somTD_M_WPFileSystem_wpclsQuerySearchInfo)(M_WPFileSystem *somSelf,
  2216.         M_WPObject** ClassExtended,
  2217.         M_WPObject** ClassCreate,
  2218.         PULONG pulClassCriteriaSize);
  2219. typedef ULONG   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryStyle)(M_WPFileSystem *somSelf);
  2220. typedef PSZ   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryTitle)(M_WPFileSystem *somSelf);
  2221. typedef void   (SOMLINK * somTD_M_WPFileSystem_wpclsUnInitData)(M_WPFileSystem *somSelf);
  2222. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsFindObjectFirst)(M_WPFileSystem *somSelf,
  2223.         PCLASS pClassList,
  2224.         PHFIND phFind,
  2225.         PSZ pszTitle,
  2226.         WPFolder* Folder,
  2227.         BOOL fSubfolders,
  2228.         PVOID pExtendedCriteria,
  2229.         POBJECT pBuffer,
  2230.         PULONG pCount);
  2231. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsFindObjectNext)(M_WPFileSystem *somSelf,
  2232.         HFIND hFind,
  2233.         POBJECT pBuffer,
  2234.         PULONG pCount);
  2235. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsFindObjectEnd)(M_WPFileSystem *somSelf,
  2236.         HFIND hFind);
  2237. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsSetError)(M_WPFileSystem *somSelf,
  2238.         ULONG ulErrorId);
  2239. typedef ULONG   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryError)(M_WPFileSystem *somSelf);
  2240. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsQuerySettingsPageSize)(M_WPFileSystem *somSelf,
  2241.         PSIZEL pSizl);
  2242. typedef ULONG   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryIconData)(M_WPFileSystem *somSelf,
  2243.         PICONINFO pIconInfo);
  2244. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryObject)(M_WPFileSystem *somSelf,
  2245.         HOBJECT hObject);
  2246. typedef ULONG   (SOMLINK * somTD_M_WPFileSystem_wpclsQueryButtonAppearance)(M_WPFileSystem *somSelf);
  2247. typedef void   (SOMLINK * somTD_M_WPFileSystem_wpclsDecUsage)(M_WPFileSystem *somSelf);
  2248. typedef void   (SOMLINK * somTD_M_WPFileSystem_wpclsIncUsage)(M_WPFileSystem *somSelf);
  2249. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsInsertMultipleObjects)(M_WPFileSystem *somSelf,
  2250.         HWND hwndCnr,
  2251.         PPOINTL pptlIcon,
  2252.         PVOID* pObjectArray,
  2253.         PVOID pRecordParent,
  2254.         ULONG NumRecords);
  2255. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsFindOneObject)(M_WPFileSystem *somSelf,
  2256.         HWND hwndOwner,
  2257.         PSZ pszFindParams);
  2258. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsSetSettingsPageSize)(M_WPFileSystem *somSelf,
  2259.         PSIZEL pSizl);
  2260. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsSetIconData)(M_WPFileSystem *somSelf,
  2261.         PICONINFO pIconInfo);
  2262. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsSetIcon)(M_WPFileSystem *somSelf,
  2263.         HPOINTER hptrNewIcon);
  2264. typedef WPObject*   (SOMLINK * somTD_M_WPFileSystem_wpclsObjectFromHandle)(M_WPFileSystem *somSelf,
  2265.         HOBJECT hObject);
  2266. typedef BOOL   (SOMLINK * somTD_M_WPFileSystem_wpclsRemoveObjects)(M_WPFileSystem *somSelf,
  2267.         HWND hwndCnr,
  2268.         PVOID* pRecordArray,
  2269.         ULONG NumRecords,
  2270.         BOOL RemoveAll);
  2271. typedef void   (SOMLINK * somTD_M_WPFileSystem_somUninit)(M_WPFileSystem *somSelf);
  2272. typedef void   (SOMLINK * somTD_M_WPFileSystem_somClassReady)(M_WPFileSystem *somSelf);
  2273. typedef WPFileSystem*   (SOMLINK * somTD_M_WPFileSystem_somNew)(M_WPFileSystem *somSelf);
  2274. typedef SOMObject*   (SOMLINK * somTD_M_WPFileSystem_somRenew)(M_WPFileSystem *somSelf,
  2275.         void* obj);
  2276. typedef long   (SOMLINK * somTD_M_WPFileSystem__get_somDataAlignment)(M_WPFileSystem *somSelf);
  2277. typedef SOMClass_somOffsets   (SOMLINK * somTD_M_WPFileSystem__get_somInstanceDataOffsets)(M_WPFileSystem *somSelf);
  2278. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPFileSystem__get_somDirectInitClasses)(M_WPFileSystem *somSelf);
  2279. typedef void   (SOMLINK * somTD_M_WPFileSystem__set_somDirectInitClasses)(M_WPFileSystem *somSelf,
  2280.         SOMClass_SOMClassSequence* somDirectInitClasses);
  2281. typedef SOMObject*   (SOMLINK * somTD_M_WPFileSystem_somNewNoInit)(M_WPFileSystem *somSelf);
  2282. typedef SOMObject*   (SOMLINK * somTD_M_WPFileSystem_somRenewNoInit)(M_WPFileSystem *somSelf,
  2283.         void* obj);
  2284. typedef SOMObject*   (SOMLINK * somTD_M_WPFileSystem_somRenewNoZero)(M_WPFileSystem *somSelf,
  2285.         void* obj);
  2286. typedef SOMObject*   (SOMLINK * somTD_M_WPFileSystem_somRenewNoInitNoZero)(M_WPFileSystem *somSelf,
  2287.         void* obj);
  2288. typedef string   (SOMLINK * somTD_M_WPFileSystem_somAllocate)(M_WPFileSystem *somSelf,
  2289.         long size);
  2290. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDeallocate)(M_WPFileSystem *somSelf,
  2291.         string memptr);
  2292. typedef somBooleanVector   (SOMLINK * somTD_M_WPFileSystem_somGetInstanceInitMask)(M_WPFileSystem *somSelf,
  2293.         somInitCtrl* ctrl);
  2294. typedef somBooleanVector   (SOMLINK * somTD_M_WPFileSystem_somGetInstanceDestructionMask)(M_WPFileSystem *somSelf,
  2295.         somDestructCtrl* ctrl);
  2296. typedef somBooleanVector   (SOMLINK * somTD_M_WPFileSystem_somGetInstanceAssignmentMask)(M_WPFileSystem *somSelf,
  2297.         somAssignCtrl* ctrl);
  2298. typedef void   (SOMLINK * somTD_M_WPFileSystem_somInitClass)(M_WPFileSystem *somSelf,
  2299.         string className,
  2300.         SOMClass* parentClass,
  2301.         long dataSize,
  2302.         long maxStaticMethods,
  2303.         long majorVersion,
  2304.         long minorVersion);
  2305. typedef void   (SOMLINK * somTD_M_WPFileSystem_somInitMIClass)(M_WPFileSystem *somSelf,
  2306.         long inherit_vars,
  2307.         string className,
  2308.         SOMClass_SOMClassSequence* parentClasses,
  2309.         long dataSize,
  2310.         long dataAlignment,
  2311.         long maxStaticMethods,
  2312.         long majorVersion,
  2313.         long minorVersion);
  2314. typedef somMToken   (SOMLINK * somTD_M_WPFileSystem_somAddStaticMethod)(M_WPFileSystem *somSelf,
  2315.         somId methodId,
  2316.         somId methodDescriptor,
  2317.         somMethodPtr method,
  2318.         somMethodPtr redispatchStub,
  2319.         somMethodPtr applyStub);
  2320. typedef void   (SOMLINK * somTD_M_WPFileSystem_somAddDynamicMethod)(M_WPFileSystem *somSelf,
  2321.         somId methodId,
  2322.         somId methodDescriptor,
  2323.         somMethodPtr method,
  2324.         somMethodPtr applyStub);
  2325. typedef void   (SOMLINK * somTD_M_WPFileSystem_somOverrideSMethod)(M_WPFileSystem *somSelf,
  2326.         somId methodId,
  2327.         somMethodPtr method);
  2328. typedef somMethodPtr   (SOMLINK * somTD_M_WPFileSystem_somGetApplyStub)(M_WPFileSystem *somSelf,
  2329.         somId methodId);
  2330. typedef somClassDataStructure*   (SOMLINK * somTD_M_WPFileSystem_somGetClassData)(M_WPFileSystem *somSelf);
  2331. typedef void   (SOMLINK * somTD_M_WPFileSystem_somSetClassData)(M_WPFileSystem *somSelf,
  2332.         somClassDataStructure* cds);
  2333. typedef somMethodTab*   (SOMLINK * somTD_M_WPFileSystem_somGetClassMtab)(M_WPFileSystem *somSelf);
  2334. typedef long   (SOMLINK * somTD_M_WPFileSystem_somGetInstanceOffset)(M_WPFileSystem *somSelf);
  2335. typedef long   (SOMLINK * somTD_M_WPFileSystem_somGetInstancePartSize)(M_WPFileSystem *somSelf);
  2336. typedef long   (SOMLINK * somTD_M_WPFileSystem_somGetInstanceSize)(M_WPFileSystem *somSelf);
  2337. typedef somDToken   (SOMLINK * somTD_M_WPFileSystem_somGetInstanceToken)(M_WPFileSystem *somSelf);
  2338. typedef somDToken   (SOMLINK * somTD_M_WPFileSystem_somGetMemberToken)(M_WPFileSystem *somSelf,
  2339.         long memberOffset,
  2340.         somDToken instanceToken);
  2341. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somGetMethodData)(M_WPFileSystem *somSelf,
  2342.         somId methodId,
  2343.         somMethodData* md);
  2344. typedef somMethodProc*   (SOMLINK * somTD_M_WPFileSystem_somGetRdStub)(M_WPFileSystem *somSelf,
  2345.         somId methodId);
  2346. typedef somId   (SOMLINK * somTD_M_WPFileSystem_somGetMethodDescriptor)(M_WPFileSystem *somSelf,
  2347.         somId methodId);
  2348. typedef long   (SOMLINK * somTD_M_WPFileSystem_somGetMethodIndex)(M_WPFileSystem *somSelf,
  2349.         somId id);
  2350. typedef somMToken   (SOMLINK * somTD_M_WPFileSystem_somGetMethodToken)(M_WPFileSystem *somSelf,
  2351.         somId methodId);
  2352. typedef string   (SOMLINK * somTD_M_WPFileSystem_somGetName)(M_WPFileSystem *somSelf);
  2353. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somGetNthMethodData)(M_WPFileSystem *somSelf,
  2354.         long n,
  2355.         somMethodData* md);
  2356. typedef somId   (SOMLINK * somTD_M_WPFileSystem_somGetNthMethodInfo)(M_WPFileSystem *somSelf,
  2357.         long n,
  2358.         somId* descriptor);
  2359. typedef long   (SOMLINK * somTD_M_WPFileSystem_somGetNumMethods)(M_WPFileSystem *somSelf);
  2360. typedef long   (SOMLINK * somTD_M_WPFileSystem_somGetNumStaticMethods)(M_WPFileSystem *somSelf);
  2361. typedef SOMClass*   (SOMLINK * somTD_M_WPFileSystem_somGetParent)(M_WPFileSystem *somSelf);
  2362. typedef SOMClass_SOMClassSequence   (SOMLINK * somTD_M_WPFileSystem_somGetParents)(M_WPFileSystem *somSelf);
  2363. typedef somMethodTabs   (SOMLINK * somTD_M_WPFileSystem_somGetPClsMtab)(M_WPFileSystem *somSelf);
  2364. typedef somMethodTabs   (SOMLINK * somTD_M_WPFileSystem_somGetPClsMtabs)(M_WPFileSystem *somSelf);
  2365. typedef void   (SOMLINK * somTD_M_WPFileSystem_somGetVersionNumbers)(M_WPFileSystem *somSelf,
  2366.         long* majorVersion,
  2367.         long* minorVersion);
  2368. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somSetMethodDescriptor)(M_WPFileSystem *somSelf,
  2369.         somId methodId,
  2370.         somId descriptor);
  2371. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somFindMethod)(M_WPFileSystem *somSelf,
  2372.         somId methodId,
  2373.         somMethodPtr* m);
  2374. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somFindMethodOk)(M_WPFileSystem *somSelf,
  2375.         somId methodId,
  2376.         somMethodPtr* m);
  2377. typedef somMethodPtr   (SOMLINK * somTD_M_WPFileSystem_somFindSMethod)(M_WPFileSystem *somSelf,
  2378.         somId methodId);
  2379. typedef somMethodPtr   (SOMLINK * somTD_M_WPFileSystem_somFindSMethodOk)(M_WPFileSystem *somSelf,
  2380.         somId methodId);
  2381. typedef somMethodPtr   (SOMLINK * somTD_M_WPFileSystem_somLookupMethod)(M_WPFileSystem *somSelf,
  2382.         somId methodId);
  2383. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somCheckVersion)(M_WPFileSystem *somSelf,
  2384.         long majorVersion,
  2385.         long minorVersion);
  2386. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somDescendedFrom)(M_WPFileSystem *somSelf,
  2387.         SOMClass* aClassObj);
  2388. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somSupportsMethod)(M_WPFileSystem *somSelf,
  2389.         somId mId);
  2390. typedef somMethodPtr   (SOMLINK * somTD_M_WPFileSystem_somDefinedMethod)(M_WPFileSystem *somSelf,
  2391.         somMToken method);
  2392. typedef void   (SOMLINK * somTD_M_WPFileSystem_somOverrideMtab)(M_WPFileSystem *somSelf);
  2393. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDefaultInit)(M_WPFileSystem *somSelf,
  2394.         somInitCtrl* ctrl);
  2395. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDestruct)(M_WPFileSystem *somSelf,
  2396.         octet doFree,
  2397.         somDestructCtrl* ctrl);
  2398. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDefaultCopyInit)(M_WPFileSystem *somSelf,
  2399.         somInitCtrl* ctrl,
  2400.         SOMObject* fromObj);
  2401. typedef M_WPFileSystem*   (SOMLINK * somTD_M_WPFileSystem_somDefaultAssign)(M_WPFileSystem *somSelf,
  2402.         somAssignCtrl* ctrl,
  2403.         SOMObject* fromObj);
  2404. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDefaultConstCopyInit)(M_WPFileSystem *somSelf,
  2405.         somInitCtrl* ctrl,
  2406.         SOMObject* fromObj);
  2407. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDefaultVCopyInit)(M_WPFileSystem *somSelf,
  2408.         somInitCtrl* ctrl,
  2409.         SOMObject* fromObj);
  2410. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDefaultConstVCopyInit)(M_WPFileSystem *somSelf,
  2411.         somInitCtrl* ctrl,
  2412.         SOMObject* fromObj);
  2413. typedef M_WPFileSystem*   (SOMLINK * somTD_M_WPFileSystem_somDefaultConstAssign)(M_WPFileSystem *somSelf,
  2414.         somAssignCtrl* ctrl,
  2415.         SOMObject* fromObj);
  2416. typedef M_WPFileSystem*   (SOMLINK * somTD_M_WPFileSystem_somDefaultVAssign)(M_WPFileSystem *somSelf,
  2417.         somAssignCtrl* ctrl,
  2418.         SOMObject* fromObj);
  2419. typedef M_WPFileSystem*   (SOMLINK * somTD_M_WPFileSystem_somDefaultConstVAssign)(M_WPFileSystem *somSelf,
  2420.         somAssignCtrl* ctrl,
  2421.         SOMObject* fromObj);
  2422. typedef void   (SOMLINK * somTD_M_WPFileSystem_somInit)(M_WPFileSystem *somSelf);
  2423. typedef void   (SOMLINK * somTD_M_WPFileSystem_somFree)(M_WPFileSystem *somSelf);
  2424. typedef SOMClass*   (SOMLINK * somTD_M_WPFileSystem_somGetClass)(M_WPFileSystem *somSelf);
  2425. typedef string   (SOMLINK * somTD_M_WPFileSystem_somGetClassName)(M_WPFileSystem *somSelf);
  2426. typedef long   (SOMLINK * somTD_M_WPFileSystem_somGetSize)(M_WPFileSystem *somSelf);
  2427. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somIsA)(M_WPFileSystem *somSelf,
  2428.         SOMClass* aClassObj);
  2429. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somIsInstanceOf)(M_WPFileSystem *somSelf,
  2430.         SOMClass* aClassObj);
  2431. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somRespondsTo)(M_WPFileSystem *somSelf,
  2432.         somId mId);
  2433. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somDispatch)(M_WPFileSystem *somSelf,
  2434.         somToken* retValue,
  2435.         somId methodId,
  2436.         va_list ap);
  2437. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somClassDispatch)(M_WPFileSystem *somSelf,
  2438.         SOMClass* clsObj,
  2439.         somToken* retValue,
  2440.         somId methodId,
  2441.         va_list ap);
  2442. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somCastObj)(M_WPFileSystem *somSelf,
  2443.         SOMClass* cls);
  2444. typedef boolean   (SOMLINK * somTD_M_WPFileSystem_somResetObj)(M_WPFileSystem *somSelf);
  2445. typedef SOMObject*   (SOMLINK * somTD_M_WPFileSystem_somPrintSelf)(M_WPFileSystem *somSelf);
  2446. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDumpSelf)(M_WPFileSystem *somSelf,
  2447.         long level);
  2448. typedef void   (SOMLINK * somTD_M_WPFileSystem_somDumpSelfInt)(M_WPFileSystem *somSelf,
  2449.         long level);
  2450. }
  2451.  
  2452. #endif /* M_WPFileSystem_API */
  2453.  
  2454.  
  2455. /*
  2456.  * -- This emitter treats Method Tokens as Thunks by default.
  2457.  * -- Use the sc modifier "nothunks" to change this default
  2458.  */
  2459. #undef somresolve_
  2460. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  2461.  
  2462. /*
  2463.  * -- The C++ Wrapper Class for M_WPFileSystem
  2464.  */
  2465. class M_WPFileSystem : public M_WPObject
  2466. {
  2467. public:
  2468.  
  2469. // M_WPFileSystem::new creates the class object if necessary, and then uses somNewNoInit
  2470. // to allocate memory and create the object. Initialization is in ctors.
  2471. void *operator new(size_t size)
  2472. {
  2473.    SOM_IgnoreWarning(size);
  2474.    if (!_M_WPFileSystem) M_WPFileSystemNewClass(M_WPFileSystem_MajorVersion,M_WPFileSystem_MinorVersion);
  2475.    return (void*)
  2476.       SOM_Resolve(_M_WPFileSystem,SOMClass,somNewNoInit)
  2477.          ((SOMClass *)((void*)_M_WPFileSystem));
  2478. }
  2479.  
  2480. // M_WPFileSystem::delete uses the default deallocator for the object's class.
  2481. void operator delete(void * obj)
  2482. {
  2483.    somToken objCls = obj ? *(void**)obj : (somToken) NULL;
  2484.    if (somIsObj(objCls)) {
  2485.       SOM_Resolve(objCls,SOMClass,somDeallocate)
  2486.          ((SOMClass*)objCls, (string)obj);
  2487.    }
  2488. }
  2489.  
  2490. M_WPFileSystem()
  2491. {
  2492.    if (*(void**)this != 
  2493.        ((somParentMtabStructPtr)
  2494.         (M_WPFileSystemCClassData.parentMtab))->mtab)
  2495.       return;
  2496.    somDefaultInit(0);
  2497. }
  2498.  
  2499. M_WPFileSystem(M_WPFileSystem* fromObj)
  2500. {
  2501.    if (*(void**)this != 
  2502.        ((somParentMtabStructPtr)
  2503.         (M_WPFileSystemCClassData.parentMtab))->mtab)
  2504.       return;
  2505.    somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
  2506. }
  2507.  
  2508. M_WPFileSystem(const M_WPFileSystem* fromObj)
  2509. {
  2510.    if (*(void**)this != 
  2511.        ((somParentMtabStructPtr)
  2512.         (M_WPFileSystemCClassData.parentMtab))->mtab)
  2513.       return;
  2514.    somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
  2515. }
  2516.  
  2517. ~M_WPFileSystem()
  2518. {
  2519.    if (!somIsObj(this)) return;
  2520.    somDestruct(0,0);
  2521.    *(void**)this = **(void***)this;
  2522. }
  2523.  
  2524.  
  2525. /* method: wpclsQueryAwakeObject */
  2526. WPObject*   wpclsQueryAwakeObject(PSZ pszInputPath)
  2527. {
  2528.    return SOM_ResolveD(this,M_WPFileSystem,M_WPFileSystem,wpclsQueryAwakeObject)
  2529.     (this,pszInputPath);
  2530. }
  2531.  
  2532.  
  2533. /* method: wpclsFileSysExists */
  2534. WPObject*   wpclsFileSysExists(SOMObject* Folder,
  2535.         PSZ pszFilename,
  2536.         ULONG attrFile)
  2537. {
  2538.    return SOM_ResolveD(this,M_WPFileSystem,M_WPFileSystem,wpclsFileSysExists)
  2539.     (this,Folder,pszFilename,attrFile);
  2540. }
  2541.  
  2542.  
  2543. /* method: wpclsQueryObjectFromPath */
  2544. WPObject*   wpclsQueryObjectFromPath(PSZ pszFQPath)
  2545. {
  2546.    return SOM_ResolveD(this,M_WPFileSystem,M_WPFileSystem,wpclsQueryObjectFromPath)
  2547.     (this,pszFQPath);
  2548. }
  2549.  
  2550.  
  2551. /* method: wpclsQueryInstanceType */
  2552. PSZ   wpclsQueryInstanceType()
  2553. {
  2554.    return SOM_ResolveD(this,M_WPFileSystem,M_WPFileSystem,wpclsQueryInstanceType)
  2555.     (this);
  2556. }
  2557.  
  2558.  
  2559. /* method: wpclsQueryInstanceFilter */
  2560. PSZ   wpclsQueryInstanceFilter()
  2561. {
  2562.    return SOM_ResolveD(this,M_WPFileSystem,M_WPFileSystem,wpclsQueryInstanceFilter)
  2563.     (this);
  2564. }
  2565.  
  2566.  
  2567. /*
  2568.  * Reintroduce inherited methods
  2569.  */
  2570.  
  2571. /* method: wpclsCreateDefaultTemplates */
  2572. BOOL   wpclsCreateDefaultTemplates(WPObject* Folder)
  2573. {
  2574.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsCreateDefaultTemplates)
  2575.     (this,Folder);
  2576. }
  2577.  
  2578.  
  2579. /* method: wpclsInitData */
  2580. void   wpclsInitData()
  2581. {
  2582.    SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsInitData)
  2583.     (this);
  2584. }
  2585.  
  2586.  
  2587. /* method: wpclsMakeAwake */
  2588. WPObject*   wpclsMakeAwake(PSZ pszTitle,
  2589.         ULONG ulStyle,
  2590.         HPOINTER hptrIcon,
  2591.         POBJDATA pObjData,
  2592.         WPFolder* Folder,
  2593.         ULONG ulUser)
  2594. {
  2595.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsMakeAwake)
  2596.     (this,pszTitle,ulStyle,hptrIcon,pObjData,Folder,ulUser);
  2597. }
  2598.  
  2599.  
  2600. /* method: wpclsNew */
  2601. WPObject*   wpclsNew(PSZ pszTitle,
  2602.         PSZ pszSetupEnv,
  2603.         WPFolder* Folder,
  2604.         BOOL fLock)
  2605. {
  2606.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsNew)
  2607.     (this,pszTitle,pszSetupEnv,Folder,fLock);
  2608. }
  2609.  
  2610.  
  2611. /* method: wpclsQueryDefaultHelp */
  2612. BOOL   wpclsQueryDefaultHelp(PULONG pHelpPanelId,
  2613.         PSZ pszHelpLibrary)
  2614. {
  2615.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryDefaultHelp)
  2616.     (this,pHelpPanelId,pszHelpLibrary);
  2617. }
  2618.  
  2619.  
  2620. /* method: wpclsQueryDefaultView */
  2621. ULONG   wpclsQueryDefaultView()
  2622. {
  2623.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryDefaultView)
  2624.     (this);
  2625. }
  2626.  
  2627.  
  2628. /* method: wpclsQueryDetails */
  2629. PCLASSDETAILS   wpclsQueryDetails()
  2630. {
  2631.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryDetails)
  2632.     (this);
  2633. }
  2634.  
  2635.  
  2636. /* method: wpclsQueryDetailsInfo */
  2637. ULONG   wpclsQueryDetailsInfo(PCLASSFIELDINFO* ppClassFieldInfo,
  2638.         PULONG pSize)
  2639. {
  2640.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryDetailsInfo)
  2641.     (this,ppClassFieldInfo,pSize);
  2642. }
  2643.  
  2644.  
  2645. /* method: wpclsQueryExtendedCriteria */
  2646. BOOL   wpclsQueryExtendedCriteria(PSZ pszName,
  2647.         ULONG ulSearchType,
  2648.         PVOID pvoidExtendedCriteria)
  2649. {
  2650.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryExtendedCriteria)
  2651.     (this,pszName,ulSearchType,pvoidExtendedCriteria);
  2652. }
  2653.  
  2654.  
  2655. /* method: wpclsQueryFolder */
  2656. WPObject*   wpclsQueryFolder(PSZ pszLocation,
  2657.         BOOL fLock)
  2658. {
  2659.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryFolder)
  2660.     (this,pszLocation,fLock);
  2661. }
  2662.  
  2663.  
  2664. /* method: wpclsQueryIcon */
  2665. HPOINTER   wpclsQueryIcon()
  2666. {
  2667.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryIcon)
  2668.     (this);
  2669. }
  2670.  
  2671.  
  2672. /* method: wpclsQuerySearchInfo */
  2673. void   wpclsQuerySearchInfo(M_WPObject** ClassExtended,
  2674.         M_WPObject** ClassCreate,
  2675.         PULONG pulClassCriteriaSize)
  2676. {
  2677.    SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQuerySearchInfo)
  2678.     (this,ClassExtended,ClassCreate,pulClassCriteriaSize);
  2679. }
  2680.  
  2681.  
  2682. /* method: wpclsQueryStyle */
  2683. ULONG   wpclsQueryStyle()
  2684. {
  2685.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryStyle)
  2686.     (this);
  2687. }
  2688.  
  2689.  
  2690. /* method: wpclsQueryTitle */
  2691. PSZ   wpclsQueryTitle()
  2692. {
  2693.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryTitle)
  2694.     (this);
  2695. }
  2696.  
  2697.  
  2698. /* method: wpclsUnInitData */
  2699. void   wpclsUnInitData()
  2700. {
  2701.    SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsUnInitData)
  2702.     (this);
  2703. }
  2704.  
  2705.  
  2706. /* method: wpclsFindObjectFirst */
  2707. BOOL   wpclsFindObjectFirst(PCLASS pClassList,
  2708.         PHFIND phFind,
  2709.         PSZ pszTitle,
  2710.         WPFolder* Folder,
  2711.         BOOL fSubfolders,
  2712.         PVOID pExtendedCriteria,
  2713.         POBJECT pBuffer,
  2714.         PULONG pCount)
  2715. {
  2716.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsFindObjectFirst)
  2717.     (this,pClassList,phFind,pszTitle,Folder,fSubfolders,pExtendedCriteria,pBuffer,pCount);
  2718. }
  2719.  
  2720.  
  2721. /* method: wpclsFindObjectNext */
  2722. BOOL   wpclsFindObjectNext(HFIND hFind,
  2723.         POBJECT pBuffer,
  2724.         PULONG pCount)
  2725. {
  2726.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsFindObjectNext)
  2727.     (this,hFind,pBuffer,pCount);
  2728. }
  2729.  
  2730.  
  2731. /* method: wpclsFindObjectEnd */
  2732. BOOL   wpclsFindObjectEnd(HFIND hFind)
  2733. {
  2734.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsFindObjectEnd)
  2735.     (this,hFind);
  2736. }
  2737.  
  2738.  
  2739. /* method: wpclsSetError */
  2740. BOOL   wpclsSetError(ULONG ulErrorId)
  2741. {
  2742.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsSetError)
  2743.     (this,ulErrorId);
  2744. }
  2745.  
  2746.  
  2747. /* method: wpclsQueryError */
  2748. ULONG   wpclsQueryError()
  2749. {
  2750.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryError)
  2751.     (this);
  2752. }
  2753.  
  2754.  
  2755. /* method: wpclsQuerySettingsPageSize */
  2756. BOOL   wpclsQuerySettingsPageSize(PSIZEL pSizl)
  2757. {
  2758.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQuerySettingsPageSize)
  2759.     (this,pSizl);
  2760. }
  2761.  
  2762.  
  2763. /* method: wpclsQueryIconData */
  2764. ULONG   wpclsQueryIconData(PICONINFO pIconInfo)
  2765. {
  2766.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryIconData)
  2767.     (this,pIconInfo);
  2768. }
  2769.  
  2770.  
  2771. /* method: wpclsQueryObject */
  2772. WPObject*   wpclsQueryObject(HOBJECT hObject)
  2773. {
  2774.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryObject)
  2775.     (this,hObject);
  2776. }
  2777.  
  2778.  
  2779. /* method: wpclsQueryButtonAppearance */
  2780. ULONG   wpclsQueryButtonAppearance()
  2781. {
  2782.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsQueryButtonAppearance)
  2783.     (this);
  2784. }
  2785.  
  2786.  
  2787. /* method: wpclsDecUsage */
  2788. void   wpclsDecUsage()
  2789. {
  2790.    SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsDecUsage)
  2791.     (this);
  2792. }
  2793.  
  2794.  
  2795. /* method: wpclsIncUsage */
  2796. void   wpclsIncUsage()
  2797. {
  2798.    SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsIncUsage)
  2799.     (this);
  2800. }
  2801.  
  2802.  
  2803. /* method: wpclsInsertMultipleObjects */
  2804. BOOL   wpclsInsertMultipleObjects(HWND hwndCnr,
  2805.         PPOINTL pptlIcon,
  2806.         PVOID* pObjectArray,
  2807.         PVOID pRecordParent,
  2808.         ULONG NumRecords)
  2809. {
  2810.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsInsertMultipleObjects)
  2811.     (this,hwndCnr,pptlIcon,pObjectArray,pRecordParent,NumRecords);
  2812. }
  2813.  
  2814.  
  2815. /* method: wpclsFindOneObject */
  2816. WPObject*   wpclsFindOneObject(HWND hwndOwner,
  2817.         PSZ pszFindParams)
  2818. {
  2819.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsFindOneObject)
  2820.     (this,hwndOwner,pszFindParams);
  2821. }
  2822.  
  2823.  
  2824. /* method: wpclsSetSettingsPageSize */
  2825. BOOL   wpclsSetSettingsPageSize(PSIZEL pSizl)
  2826. {
  2827.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsSetSettingsPageSize)
  2828.     (this,pSizl);
  2829. }
  2830.  
  2831.  
  2832. /* method: wpclsSetIconData */
  2833. BOOL   wpclsSetIconData(PICONINFO pIconInfo)
  2834. {
  2835.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsSetIconData)
  2836.     (this,pIconInfo);
  2837. }
  2838.  
  2839.  
  2840. /* method: wpclsSetIcon */
  2841. BOOL   wpclsSetIcon(HPOINTER hptrNewIcon)
  2842. {
  2843.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsSetIcon)
  2844.     (this,hptrNewIcon);
  2845. }
  2846.  
  2847.  
  2848. /* method: wpclsObjectFromHandle */
  2849. WPObject*   wpclsObjectFromHandle(HOBJECT hObject)
  2850. {
  2851.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsObjectFromHandle)
  2852.     (this,hObject);
  2853. }
  2854.  
  2855.  
  2856. /* method: wpclsRemoveObjects */
  2857. BOOL   wpclsRemoveObjects(HWND hwndCnr,
  2858.         PVOID* pRecordArray,
  2859.         ULONG NumRecords,
  2860.         BOOL RemoveAll)
  2861. {
  2862.    return SOM_ResolveD(this,M_WPFileSystem,M_WPObject,wpclsRemoveObjects)
  2863.     (this,hwndCnr,pRecordArray,NumRecords,RemoveAll);
  2864. }
  2865.  
  2866.  
  2867. /* method: somUninit */
  2868. void   somUninit()
  2869. {
  2870.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somUninit)
  2871.     (this);
  2872. }
  2873.  
  2874.  
  2875. /* method: somClassReady */
  2876. void   somClassReady()
  2877. {
  2878.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somClassReady)
  2879.     (this);
  2880. }
  2881.  
  2882.  
  2883. /* method: somNew */
  2884. WPFileSystem*  somNew()
  2885. {
  2886.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somNew)
  2887.     (this);
  2888. }
  2889.  
  2890.  
  2891. /* method: somRenew */
  2892. SOMObject*   somRenew(void* obj)
  2893. {
  2894.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somRenew)
  2895.     (this,obj);
  2896. }
  2897.  
  2898.  
  2899. /* method: _get_somDataAlignment */
  2900. long   _get_somDataAlignment()
  2901. {
  2902.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,_get_somDataAlignment)
  2903.     (this);
  2904. }
  2905.  
  2906.  
  2907. /* method: _get_somInstanceDataOffsets */
  2908. SOMClass_somOffsets   _get_somInstanceDataOffsets()
  2909. {
  2910.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,_get_somInstanceDataOffsets)
  2911.     (this);
  2912. }
  2913.  
  2914.  
  2915. /* method: _get_somDirectInitClasses */
  2916. SOMClass_SOMClassSequence   _get_somDirectInitClasses()
  2917. {
  2918.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,_get_somDirectInitClasses)
  2919.     (this);
  2920. }
  2921.  
  2922.  
  2923. /* method: _set_somDirectInitClasses */
  2924. void   _set_somDirectInitClasses(SOMClass_SOMClassSequence* somDirectInitClasses)
  2925. {
  2926.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,_set_somDirectInitClasses)
  2927.     (this,somDirectInitClasses);
  2928. }
  2929.  
  2930.  
  2931. /* method: somNewNoInit */
  2932. SOMObject*   somNewNoInit()
  2933. {
  2934.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somNewNoInit)
  2935.     (this);
  2936. }
  2937.  
  2938.  
  2939. /* method: somRenewNoInit */
  2940. SOMObject*   somRenewNoInit(void* obj)
  2941. {
  2942.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somRenewNoInit)
  2943.     (this,obj);
  2944. }
  2945.  
  2946.  
  2947. /* method: somRenewNoZero */
  2948. SOMObject*   somRenewNoZero(void* obj)
  2949. {
  2950.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somRenewNoZero)
  2951.     (this,obj);
  2952. }
  2953.  
  2954.  
  2955. /* method: somRenewNoInitNoZero */
  2956. SOMObject*   somRenewNoInitNoZero(void* obj)
  2957. {
  2958.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somRenewNoInitNoZero)
  2959.     (this,obj);
  2960. }
  2961.  
  2962.  
  2963. /* nonstatic method: somAllocate */
  2964. string   somAllocate(long size)
  2965. {
  2966.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somAllocate)
  2967.     (this,size);
  2968. }
  2969.  
  2970.  
  2971. /* nonstatic method: somDeallocate */
  2972. void   somDeallocate(string memptr)
  2973. {
  2974.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somDeallocate)
  2975.     (this,memptr);
  2976. }
  2977.  
  2978.  
  2979. /* method: somGetInstanceInitMask */
  2980. somBooleanVector   somGetInstanceInitMask(somInitCtrl* ctrl)
  2981. {
  2982.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetInstanceInitMask)
  2983.     (this,ctrl);
  2984. }
  2985.  
  2986.  
  2987. /* method: somGetInstanceDestructionMask */
  2988. somBooleanVector   somGetInstanceDestructionMask(somDestructCtrl* ctrl)
  2989. {
  2990.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetInstanceDestructionMask)
  2991.     (this,ctrl);
  2992. }
  2993.  
  2994.  
  2995. /* method: somGetInstanceAssignmentMask */
  2996. somBooleanVector   somGetInstanceAssignmentMask(somAssignCtrl* ctrl)
  2997. {
  2998.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetInstanceAssignmentMask)
  2999.     (this,ctrl);
  3000. }
  3001.  
  3002.  
  3003. /* method: somInitClass */
  3004. void   somInitClass(string className,
  3005.         SOMClass* parentClass,
  3006.         long dataSize,
  3007.         long maxStaticMethods,
  3008.         long majorVersion,
  3009.         long minorVersion)
  3010. {
  3011.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somInitClass)
  3012.     (this,className,parentClass,dataSize,maxStaticMethods,majorVersion,minorVersion);
  3013. }
  3014.  
  3015.  
  3016. /* method: somInitMIClass */
  3017. void   somInitMIClass(long inherit_vars,
  3018.         string className,
  3019.         SOMClass_SOMClassSequence* parentClasses,
  3020.         long dataSize,
  3021.         long dataAlignment,
  3022.         long maxStaticMethods,
  3023.         long majorVersion,
  3024.         long minorVersion)
  3025. {
  3026.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somInitMIClass)
  3027.     (this,inherit_vars,className,parentClasses,dataSize,dataAlignment,maxStaticMethods,majorVersion,minorVersion);
  3028. }
  3029.  
  3030.  
  3031. /* method: somAddStaticMethod */
  3032. somMToken   somAddStaticMethod(somId methodId,
  3033.         somId methodDescriptor,
  3034.         somMethodPtr method,
  3035.         somMethodPtr redispatchStub,
  3036.         somMethodPtr applyStub)
  3037. {
  3038.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somAddStaticMethod)
  3039.     (this,methodId,methodDescriptor,method,redispatchStub,applyStub);
  3040. }
  3041.  
  3042.  
  3043. /* method: somAddDynamicMethod */
  3044. void   somAddDynamicMethod(somId methodId,
  3045.         somId methodDescriptor,
  3046.         somMethodPtr method,
  3047.         somMethodPtr applyStub)
  3048. {
  3049.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somAddDynamicMethod)
  3050.     (this,methodId,methodDescriptor,method,applyStub);
  3051. }
  3052.  
  3053.  
  3054. /* method: somOverrideSMethod */
  3055. void   somOverrideSMethod(somId methodId,
  3056.         somMethodPtr method)
  3057. {
  3058.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somOverrideSMethod)
  3059.     (this,methodId,method);
  3060. }
  3061.  
  3062.  
  3063. /* method: somGetApplyStub */
  3064. somMethodPtr   somGetApplyStub(somId methodId)
  3065. {
  3066.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetApplyStub)
  3067.     (this,methodId);
  3068. }
  3069.  
  3070.  
  3071. /* method: somGetClassData */
  3072. somClassDataStructure*   somGetClassData()
  3073. {
  3074.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetClassData)
  3075.     (this);
  3076. }
  3077.  
  3078.  
  3079. /* method: somSetClassData */
  3080. void   somSetClassData(somClassDataStructure* cds)
  3081. {
  3082.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somSetClassData)
  3083.     (this,cds);
  3084. }
  3085.  
  3086.  
  3087. /* method: somGetClassMtab */
  3088. somMethodTab*   somGetClassMtab()
  3089. {
  3090.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetClassMtab)
  3091.     (this);
  3092. }
  3093.  
  3094.  
  3095. /* method: somGetInstanceOffset */
  3096. long   somGetInstanceOffset()
  3097. {
  3098.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetInstanceOffset)
  3099.     (this);
  3100. }
  3101.  
  3102.  
  3103. /* method: somGetInstancePartSize */
  3104. long   somGetInstancePartSize()
  3105. {
  3106.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetInstancePartSize)
  3107.     (this);
  3108. }
  3109.  
  3110.  
  3111. /* method: somGetInstanceSize */
  3112. long   somGetInstanceSize()
  3113. {
  3114.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetInstanceSize)
  3115.     (this);
  3116. }
  3117.  
  3118.  
  3119. /* method: somGetInstanceToken */
  3120. somDToken   somGetInstanceToken()
  3121. {
  3122.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetInstanceToken)
  3123.     (this);
  3124. }
  3125.  
  3126.  
  3127. /* method: somGetMemberToken */
  3128. somDToken   somGetMemberToken(long memberOffset,
  3129.         somDToken instanceToken)
  3130. {
  3131.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetMemberToken)
  3132.     (this,memberOffset,instanceToken);
  3133. }
  3134.  
  3135.  
  3136. /* method: somGetMethodData */
  3137. boolean   somGetMethodData(somId methodId,
  3138.         somMethodData* md)
  3139. {
  3140.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetMethodData)
  3141.     (this,methodId,md);
  3142. }
  3143.  
  3144.  
  3145. /* method: somGetRdStub */
  3146. somMethodProc*   somGetRdStub(somId methodId)
  3147. {
  3148.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetRdStub)
  3149.     (this,methodId);
  3150. }
  3151.  
  3152.  
  3153. /* method: somGetMethodDescriptor */
  3154. somId   somGetMethodDescriptor(somId methodId)
  3155. {
  3156.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetMethodDescriptor)
  3157.     (this,methodId);
  3158. }
  3159.  
  3160.  
  3161. /* method: somGetMethodIndex */
  3162. long   somGetMethodIndex(somId id)
  3163. {
  3164.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetMethodIndex)
  3165.     (this,id);
  3166. }
  3167.  
  3168.  
  3169. /* method: somGetMethodToken */
  3170. somMToken   somGetMethodToken(somId methodId)
  3171. {
  3172.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetMethodToken)
  3173.     (this,methodId);
  3174. }
  3175.  
  3176.  
  3177. /* method: somGetName */
  3178. string   somGetName()
  3179. {
  3180.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetName)
  3181.     (this);
  3182. }
  3183.  
  3184.  
  3185. /* method: somGetNthMethodData */
  3186. boolean   somGetNthMethodData(long n,
  3187.         somMethodData* md)
  3188. {
  3189.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetNthMethodData)
  3190.     (this,n,md);
  3191. }
  3192.  
  3193.  
  3194. /* method: somGetNthMethodInfo */
  3195. somId   somGetNthMethodInfo(long n,
  3196.         somId* descriptor)
  3197. {
  3198.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetNthMethodInfo)
  3199.     (this,n,descriptor);
  3200. }
  3201.  
  3202.  
  3203. /* method: somGetNumMethods */
  3204. long   somGetNumMethods()
  3205. {
  3206.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetNumMethods)
  3207.     (this);
  3208. }
  3209.  
  3210.  
  3211. /* method: somGetNumStaticMethods */
  3212. long   somGetNumStaticMethods()
  3213. {
  3214.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetNumStaticMethods)
  3215.     (this);
  3216. }
  3217.  
  3218.  
  3219. /* method: somGetParent */
  3220. SOMClass*   somGetParent()
  3221. {
  3222.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetParent)
  3223.     (this);
  3224. }
  3225.  
  3226.  
  3227. /* method: somGetParents */
  3228. SOMClass_SOMClassSequence   somGetParents()
  3229. {
  3230.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetParents)
  3231.     (this);
  3232. }
  3233.  
  3234.  
  3235. /* method: somGetPClsMtab */
  3236. somMethodTabs   somGetPClsMtab()
  3237. {
  3238.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetPClsMtab)
  3239.     (this);
  3240. }
  3241.  
  3242.  
  3243. /* method: somGetPClsMtabs */
  3244. somMethodTabs   somGetPClsMtabs()
  3245. {
  3246.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetPClsMtabs)
  3247.     (this);
  3248. }
  3249.  
  3250.  
  3251. /* method: somGetVersionNumbers */
  3252. void   somGetVersionNumbers(long* majorVersion,
  3253.         long* minorVersion)
  3254. {
  3255.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somGetVersionNumbers)
  3256.     (this,majorVersion,minorVersion);
  3257. }
  3258.  
  3259.  
  3260. /* method: somSetMethodDescriptor */
  3261. boolean   somSetMethodDescriptor(somId methodId,
  3262.         somId descriptor)
  3263. {
  3264.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somSetMethodDescriptor)
  3265.     (this,methodId,descriptor);
  3266. }
  3267.  
  3268.  
  3269. /* method: somFindMethod */
  3270. boolean   somFindMethod(somId methodId,
  3271.         somMethodPtr* m)
  3272. {
  3273.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somFindMethod)
  3274.     (this,methodId,m);
  3275. }
  3276.  
  3277.  
  3278. /* method: somFindMethodOk */
  3279. boolean   somFindMethodOk(somId methodId,
  3280.         somMethodPtr* m)
  3281. {
  3282.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somFindMethodOk)
  3283.     (this,methodId,m);
  3284. }
  3285.  
  3286.  
  3287. /* method: somFindSMethod */
  3288. somMethodPtr   somFindSMethod(somId methodId)
  3289. {
  3290.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somFindSMethod)
  3291.     (this,methodId);
  3292. }
  3293.  
  3294.  
  3295. /* method: somFindSMethodOk */
  3296. somMethodPtr   somFindSMethodOk(somId methodId)
  3297. {
  3298.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somFindSMethodOk)
  3299.     (this,methodId);
  3300. }
  3301.  
  3302.  
  3303. /* method: somLookupMethod */
  3304. somMethodPtr   somLookupMethod(somId methodId)
  3305. {
  3306.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somLookupMethod)
  3307.     (this,methodId);
  3308. }
  3309.  
  3310.  
  3311. /* method: somCheckVersion */
  3312. boolean   somCheckVersion(long majorVersion,
  3313.         long minorVersion)
  3314. {
  3315.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somCheckVersion)
  3316.     (this,majorVersion,minorVersion);
  3317. }
  3318.  
  3319.  
  3320. /* method: somDescendedFrom */
  3321. boolean   somDescendedFrom(SOMClass* aClassObj)
  3322. {
  3323.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somDescendedFrom)
  3324.     (this,aClassObj);
  3325. }
  3326.  
  3327.  
  3328. /* method: somSupportsMethod */
  3329. boolean   somSupportsMethod(somId mId)
  3330. {
  3331.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somSupportsMethod)
  3332.     (this,mId);
  3333. }
  3334.  
  3335.  
  3336. /* method: somDefinedMethod */
  3337. somMethodPtr   somDefinedMethod(somMToken method)
  3338. {
  3339.    return SOM_ResolveD(this,M_WPFileSystem,SOMClass,somDefinedMethod)
  3340.     (this,method);
  3341. }
  3342.  
  3343.  
  3344. /* method: somOverrideMtab */
  3345. void   somOverrideMtab()
  3346. {
  3347.    SOM_ResolveD(this,M_WPFileSystem,SOMClass,somOverrideMtab)
  3348.     (this);
  3349. }
  3350.  
  3351.  
  3352. /* initializer method: somDefaultInit */
  3353. void   somDefaultInit(somInitCtrl* ctrl)
  3354. {
  3355.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultInit)
  3356.     (this,ctrl);
  3357. }
  3358.  
  3359.  
  3360. /* method: somDestruct */
  3361. void   somDestruct(octet doFree,
  3362.         somDestructCtrl* ctrl)
  3363. {
  3364.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDestruct)
  3365.     (this,doFree,ctrl);
  3366. }
  3367.  
  3368.  
  3369. /* method: somDefaultCopyInit */
  3370. void   somDefaultCopyInit(somInitCtrl* ctrl,
  3371.         SOMObject* fromObj)
  3372. {
  3373.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultCopyInit)
  3374.     (this,ctrl,fromObj);
  3375. }
  3376.  
  3377.  
  3378. /* method: somDefaultAssign */
  3379. M_WPFileSystem*  somDefaultAssign(somAssignCtrl* ctrl,
  3380.         SOMObject* fromObj)
  3381. {
  3382.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultAssign)
  3383.     (this,ctrl,fromObj);
  3384. }
  3385.  
  3386.  
  3387. /* method: somDefaultConstCopyInit */
  3388. void   somDefaultConstCopyInit(somInitCtrl* ctrl,
  3389.         SOMObject* fromObj)
  3390. {
  3391.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultConstCopyInit)
  3392.     (this,ctrl,fromObj);
  3393. }
  3394.  
  3395.  
  3396. /* method: somDefaultVCopyInit */
  3397. void   somDefaultVCopyInit(somInitCtrl* ctrl,
  3398.         SOMObject* fromObj)
  3399. {
  3400.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultVCopyInit)
  3401.     (this,ctrl,fromObj);
  3402. }
  3403.  
  3404.  
  3405. /* method: somDefaultConstVCopyInit */
  3406. void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
  3407.         SOMObject* fromObj)
  3408. {
  3409.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultConstVCopyInit)
  3410.     (this,ctrl,fromObj);
  3411. }
  3412.  
  3413.  
  3414. /* method: somDefaultConstAssign */
  3415. M_WPFileSystem*  somDefaultConstAssign(somAssignCtrl* ctrl,
  3416.         SOMObject* fromObj)
  3417. {
  3418.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultConstAssign)
  3419.     (this,ctrl,fromObj);
  3420. }
  3421.  
  3422.  
  3423. /* method: somDefaultVAssign */
  3424. M_WPFileSystem*  somDefaultVAssign(somAssignCtrl* ctrl,
  3425.         SOMObject* fromObj)
  3426. {
  3427.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultVAssign)
  3428.     (this,ctrl,fromObj);
  3429. }
  3430.  
  3431.  
  3432. /* method: somDefaultConstVAssign */
  3433. M_WPFileSystem*  somDefaultConstVAssign(somAssignCtrl* ctrl,
  3434.         SOMObject* fromObj)
  3435. {
  3436.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDefaultConstVAssign)
  3437.     (this,ctrl,fromObj);
  3438. }
  3439.  
  3440.  
  3441. /* method: somInit */
  3442. void   somInit()
  3443. {
  3444.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somInit)
  3445.     (this);
  3446. }
  3447.  
  3448.  
  3449. /* method: somFree */
  3450. void   somFree()
  3451. {
  3452.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somFree)
  3453.     (this);
  3454. }
  3455.  
  3456.  
  3457. /* method: somGetClass */
  3458. SOMClass*   somGetClass()
  3459. {
  3460.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somGetClass)
  3461.     (this);
  3462. }
  3463.  
  3464.  
  3465. /* method: somGetClassName */
  3466. string   somGetClassName()
  3467. {
  3468.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somGetClassName)
  3469.     (this);
  3470. }
  3471.  
  3472.  
  3473. /* method: somGetSize */
  3474. long   somGetSize()
  3475. {
  3476.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somGetSize)
  3477.     (this);
  3478. }
  3479.  
  3480.  
  3481. /* method: somIsA */
  3482. boolean   somIsA(SOMClass* aClassObj)
  3483. {
  3484.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somIsA)
  3485.     (this,aClassObj);
  3486. }
  3487.  
  3488.  
  3489. /* method: somIsInstanceOf */
  3490. boolean   somIsInstanceOf(SOMClass* aClassObj)
  3491. {
  3492.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somIsInstanceOf)
  3493.     (this,aClassObj);
  3494. }
  3495.  
  3496.  
  3497. /* method: somRespondsTo */
  3498. boolean   somRespondsTo(somId mId)
  3499. {
  3500.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somRespondsTo)
  3501.     (this,mId);
  3502. }
  3503.  
  3504.  
  3505. /* va_list method: somDispatch */
  3506. /* the va_list invocation form */
  3507. boolean   M_WPFileSystem_somDispatch(somToken* retValue,
  3508.         somId methodId,
  3509.         va_list ap)
  3510. {
  3511. return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDispatch)
  3512.     (this,retValue,methodId,ap);
  3513. }
  3514.  
  3515. /* the varargs invocation form */
  3516. boolean   somDispatch(somToken* retValue,
  3517.         somId methodId,
  3518.         ...)
  3519. {
  3520.    va_list ap;
  3521.    va_start(ap, methodId);
  3522.    boolean __somResult = 
  3523.       SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDispatch)
  3524.     (this,retValue,methodId,ap);
  3525.    va_end(ap);
  3526.    return __somResult;
  3527. }
  3528.  
  3529.  
  3530. /* va_list method: somClassDispatch */
  3531. /* the va_list invocation form */
  3532. boolean   M_WPFileSystem_somClassDispatch(SOMClass* clsObj,
  3533.         somToken* retValue,
  3534.         somId methodId,
  3535.         va_list ap)
  3536. {
  3537. return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somClassDispatch)
  3538.     (this,clsObj,retValue,methodId,ap);
  3539. }
  3540.  
  3541. /* the varargs invocation form */
  3542. boolean   somClassDispatch(SOMClass* clsObj,
  3543.         somToken* retValue,
  3544.         somId methodId,
  3545.         ...)
  3546. {
  3547.    va_list ap;
  3548.    va_start(ap, methodId);
  3549.    boolean __somResult = 
  3550.       SOM_ResolveD(this,M_WPFileSystem,SOMObject,somClassDispatch)
  3551.     (this,clsObj,retValue,methodId,ap);
  3552.    va_end(ap);
  3553.    return __somResult;
  3554. }
  3555.  
  3556.  
  3557. /* method: somCastObj */
  3558. boolean   somCastObj(SOMClass* cls)
  3559. {
  3560.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somCastObj)
  3561.     (this,cls);
  3562. }
  3563.  
  3564.  
  3565. /* method: somResetObj */
  3566. boolean   somResetObj()
  3567. {
  3568.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somResetObj)
  3569.     (this);
  3570. }
  3571.  
  3572.  
  3573. /* method: somPrintSelf */
  3574. SOMObject*   somPrintSelf()
  3575. {
  3576.    return SOM_ResolveD(this,M_WPFileSystem,SOMObject,somPrintSelf)
  3577.     (this);
  3578. }
  3579.  
  3580.  
  3581. /* method: somDumpSelf */
  3582. void   somDumpSelf(long level)
  3583. {
  3584.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDumpSelf)
  3585.     (this,level);
  3586. }
  3587.  
  3588.  
  3589. /* method: somDumpSelfInt */
  3590. void   somDumpSelfInt(long level)
  3591. {
  3592.    SOM_ResolveD(this,M_WPFileSystem,SOMObject,somDumpSelfInt)
  3593.     (this,level);
  3594. }
  3595.  
  3596.  
  3597.  
  3598. };   /* M_WPFileSystem */
  3599.  
  3600.  
  3601.  
  3602. #endif       /* SOM_M_WPFileSystem_xh */
  3603.