home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / wpfolder.h < prev    next >
C/C++ Source or Header  |  1999-03-15  |  91KB  |  2,251 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpfolder.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.14
  7.  *     SOM Emitter emith: 2.43
  8.  */
  9.  
  10. /*
  11.  *   Module Header
  12.  * 
  13.  *   Module Name: WPOBJECT
  14.  * 
  15.  *   OS/2 Presentation Manager Workplace class definitions
  16.  * 
  17.  *   Copyright (c) International Business Machines Corporation 1991, 1992
  18.  * 
  19.  */
  20.  
  21.  
  22. #ifndef SOM_WPFolder_h
  23. #define SOM_WPFolder_h
  24.  
  25.  
  26. #include <som.h>
  27.  
  28. /*
  29.  * -- This emitter treats Method Tokens as Thunks by default.
  30.  * -- Use the sc modifier "nothunks" to change this default
  31.  */
  32. #undef somresolve_
  33. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  34.  
  35. /*
  36.  * Define the class name as an object type
  37.  */
  38. #ifndef WPFolder
  39. #define WPFolder SOMObject
  40. #endif
  41. #include <wpfsys.h>
  42.  
  43. /*
  44.  * Start of bindings for IDL types
  45.  */
  46.  
  47. #ifndef SOMClass
  48.     #define SOMClass SOMObject
  49. #endif /* SOMClass */
  50. #ifndef WPFolder
  51.     #define WPFolder SOMObject
  52. #endif /* WPFolder */
  53. #ifndef M_WPObject
  54.     #define M_WPObject SOMObject
  55. #endif /* M_WPObject */
  56. #ifndef WPObject
  57.     #define WPObject SOMObject
  58. #endif /* WPObject */
  59. #ifndef WPImageFile
  60.     #define WPImageFile SOMObject
  61. #endif /* WPImageFile */
  62. #ifndef M_WPFileSystem
  63.     #define M_WPFileSystem SOMObject
  64. #endif /* M_WPFileSystem */
  65. #ifndef M_WPFolder
  66.     #define M_WPFolder SOMObject
  67. #endif /* M_WPFolder */
  68.  
  69. /*
  70.  * End of bindings for IDL types.
  71.  */
  72.  
  73. /*
  74.  * Passthru lines: File: "C.h", "after"
  75.  */
  76.  
  77.       /* Folder flags */
  78.  
  79.       #define FOI_POPULATEDWITHALL      0x0001
  80.       #define FOI_POPULATEDWITHFOLDERS  0x0002
  81.       #define FOI_WORKAREA              0x0004
  82.       #define FOI_CHANGEFONT            0x0008
  83.       #define FOI_WAMINIMIZED           0x0020
  84.       #define FOI_WASTARTONRESTORE      0x0040
  85.       #define FOI_NOREFRESHVIEWS        0x0080
  86.       #define FOI_ASYNCREFRESHONOPEN    0x0100
  87.       #define FOI_TREEPOPULATED         0x0200
  88.       #define FOI_POPULATEINPROGRESS    0x0400
  89.       #define FOI_REFRESHINPROGRESS     0x0800
  90.       #define FOI_FIRSTPOPULATE         0x1000
  91.       #define FOI_WAMCRINPROGRESS       0x2000
  92.       #define FOI_CNRBKGNDOLDFORMAT     0x4000
  93.       #define FOI_CHANGEICONBGNDCOLOR   0x8000
  94.       #define FOI_CHANGEICONTEXTCOLOR   0x00010000
  95.       #define FOI_DELETEINPROGRESS      0x00020000
  96.       #define FOI_CHANGESHADOWTEXTCOLOR 0x00040000
  97.  
  98.       /* Open views for the wpOpen() method */
  99.  
  100.       #define OPEN_TREE          101
  101.       #define OPEN_DETAILS       102
  102.  
  103.       /* State constants for OpenDoc attributes */
  104.  
  105.       #define MENUBAR_ON         1
  106.       #define MENUBAR_OFF        0
  107.       #define MENUBAR_DEFAULT    2
  108.  
  109.       #define TITLEBARICONS_ON   1
  110.       #define TITLEBARICONS_OFF  0
  111.       #define TITLEBARICONS_DEFAULT 2
  112.  
  113.       /* Folder save-restore keys */
  114.  
  115.       #define IDKEY_FDRCONTENTATTR     2900
  116.       #define IDKEY_FDRTREEATTR        2901
  117.       #define IDKEY_FDRCVLFONT         2902
  118.       #define IDKEY_FDRCVNFONT         2903
  119.       #define IDKEY_FDRCVIFONT         2904
  120.       #define IDKEY_FDRTVLFONT         2905
  121.       #define IDKEY_FDRTVNFONT         2906
  122.       #define IDKEY_FDRDETAILSATTR     2907
  123.       #define IDKEY_FDRDVFONT          2908
  124.       #define IDKEY_FDRDETAILSCLASS    2909
  125.       #define IDKEY_FDRICONPOS         2910
  126.       #define IDKEY_FDRINVISCOLUMNS    2914
  127.       #define IDKEY_FDRINCCLASS        2920
  128.       #define IDKEY_FDRINCNAME         2921
  129.       #define IDKEY_FDRFSYSSEARCHINFO  2922
  130.       #define IDKEY_FILTERCONTENT      2923
  131.       #define IDKEY_CNRBACKGROUND      2924
  132.       #define IDKEY_FDRINCCRITERIA     2925
  133.       #define IDKEY_FDRICONVIEWPOS     2926
  134.       #define IDKEY_FDRSORTCLASS       2927
  135.       #define IDKEY_FDRSORTATTRIBS     2928
  136.       #define IDKEY_FDRSORTINFO        2929
  137.       #define IDKEY_FDRSNEAKYCOUNT     2930
  138.       #define IDKEY_FDRLONGARRAY       2931
  139.       #define IDKEY_FDRSTRARRAY        2932
  140.       #define IDKEY_FDRCNRBACKGROUND   2933
  141.       #define IDKEY_FDRBKGNDIMAGEFILE  2934
  142.       #define IDKEY_FDRBACKGROUND      2935
  143.       #define IDKEY_FDRSELFCLOSE       2936
  144.  
  145.       #define IDKEY_FDRODMENUBARON     2937
  146.       #define IDKEY_FDRGRIDINFO        2938
  147.       #define IDKEY_FDRTREEVIEWCONTENTS 2939
  148.  
  149.       /* Constant for wpSetIconTextBackgroundColor */
  150.  
  151.       #define USE_GLOBAL_COLOR         0x40000000
  152.  
  153.       /* Constants for wpSetIconTextVisibility and wpQueryIconTextVisibility */
  154.  
  155.       #define ICON_TEXT_VISIBLE        0x00000001
  156.       #define USE_GLOBAL_VISIBILITY    0x40000000
  157.  
  158.       /* Constants for wpSet/QueryBackground and wpSet/QueryLockupBackground */
  159.  
  160.       #define BACKGROUND_NORMAL_IMAGE 0
  161.       #define BACKGROUND_TILED_IMAGE  1
  162.       #define BACKGROUND_SCALED_IMAGE 2
  163.       #define BACKGROUND_COLOR_ONLY   0
  164.       #define BACKGROUND_IMAGE        1
  165.  
  166.       /* Miscellaneous */
  167.  
  168.       #define PPFONTSTRSIZE 20
  169.  
  170.       #define ICONPOSSIZE(pI) ( sizeof(ICONPOS) + strlen(pI->szIdentity) )
  171.       #define PARTIAL_FILLFOLDER_SEM_TIMEOUT 5
  172.  
  173.       #define GETATTR(View) (View == OPEN_CONTENTS ? _ContentAttr : \
  174.                              (View == OPEN_TREE ? _TreeAttr : _DetailsAttr))
  175.       #define FOLDER_DEFATTRS (CV_ICON | CA_OWNERPAINTBACKGROUND     | \
  176.                                CA_MIXEDTARGETEMPH | CA_OWNERDRAW)
  177.       #define FOLDER_DEFTREEATTRS (CV_ICON | CA_OWNERPAINTBACKGROUND | \
  178.                                    CV_TREE | CA_TREELINE | CA_OWNERDRAW)
  179.       #define FOLDER_DEFDETAILS (CV_DETAIL | CA_OWNERPAINTBACKGROUND | \
  180.                        CV_MINI | CA_DETAILSVIEWTITLES | CA_MIXEDTARGETEMPH)
  181.       #define FOLDER_DEFSORT NULL
  182.  
  183.       /* wpSearchFolder structures */
  184.        typedef struct _SEARCH_INFO {
  185.           M_WPObject *ClassToBeFound;
  186.           BOOL   fSkipExtendedSearchCriteria;
  187.           PVOID  pvoidExtendedCriteria;
  188.        } SEARCH_INFO;
  189.        typedef SEARCH_INFO *PSEARCH_INFO;
  190.  
  191.  
  192.  
  193. #define WPFolder_MajorVersion 1
  194. #define WPFolder_MinorVersion 2
  195.  
  196. /*
  197.  * External name shortening if required
  198.  */
  199. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  200. #define WPFolderNewClass wpfdrc
  201. #pragma linkage(wpfdrc, system)
  202. #define WPFolderClassData wpfdrd
  203. #define WPFolderCClassData wpfdrx
  204. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  205.  
  206. /*
  207.  * Include the meta class file
  208.  */
  209. #include <wpfolder.h>
  210. /*--------------Migration------------*/
  211. #define WPFolder_classObj WPFolderClassData.classObject
  212. #define _WPFolder WPFolder_classObj
  213.  
  214. /*
  215.  * Declare the class creation procedure
  216.  */
  217. SOMEXTERN SOMClass * SOMLINK WPFolderNewClass(integer4 somtmajorVersion,
  218.         integer4 somtminorVersion);
  219. #pragma linkage(WPFolderNewClass, system)
  220.  
  221. /*
  222.  * Declare the class data structure
  223.  */
  224. SOMEXTERN struct WPFolderClassDataStructure {
  225.     SOMClass *classObject;
  226.     somMToken wpSetFldrFlags;
  227.     somMToken wpQueryFldrFlags;
  228.     somMToken wpSetFldrFont;
  229.     somMToken wpQueryFldrFont;
  230.     somMToken wpSetNextIconPos;
  231.     somMToken wpQueryNextIconPos;
  232.     somMToken wpPopulate;
  233.     somMToken wpAddToContent;
  234.     somMToken wpQueryContent;
  235.     somMToken wpAddFolderView1Page;
  236.     somMToken wpAddFolderView2Page;
  237.     somMToken wpAddFolderView3Page;
  238.     somMToken wpAddFolderIncludePage;
  239.     somMToken wpAddFolderSortPage;
  240.     somMToken wpAddFolderBackgroundPage;
  241.     somMToken wpInitIconPosData;
  242.     somMToken wpFreeIconPosData;
  243.     somMToken wpQueryIconPosition;
  244.     somMToken wpStoreIconPosData;
  245.     somMToken wpDeleteFromContent;
  246.     somMToken wpSetFldrAttr;
  247.     somMToken wpQueryFldrAttr;
  248.     somMToken wpSetFldrSort;
  249.     somMToken wpQueryFldrSort;
  250.     somMToken wpRestoreFldrRunObjs;
  251.     somMToken wpStoreFldrRunObjs;
  252.     somMToken withdrawn30;
  253.     somMToken withdrawn31;
  254.     somMToken wpDeleteContents;
  255.     somMToken wpQueryOpenFolders;
  256.     somMToken wpFolderPrivate1;
  257.     somMToken wpSearchFolder;
  258.     somMToken wpSetFldrDetailsClass;
  259.     somMToken wpQueryFldrDetailsClass;
  260.     somMToken wpRefresh;
  261.     somMToken wpSetDetailsColumnVisibility;
  262.     somMToken wpIsDetailsColumnVisible;
  263.     somMToken wpFolderPrivate2;
  264.     somMToken wpFolderPrivate3;
  265.     somMToken wpFolderPrivate4;
  266.     somMToken wpFolderPrivate5;
  267.     somMToken wpSetFldrSortClass;
  268.     somMToken wpQueryFldrSortClass;
  269.     somMToken wpSetSortAttribAvailable;
  270.     somMToken wpIsSortAttribAvailable;
  271.     somMToken wpFolderPrivate6;
  272.     somMToken wpContainsFolders;
  273.     somMToken wpFolderPrivate7;
  274.     somMToken wpQueryIconViewPos;
  275.     somMToken wpQueryDefaultView;
  276.     somMToken wpAddFirstChild;
  277.     somMToken wpFolderPrivate8;
  278.     somMToken wpHideFldrRunObjs;
  279.     somMToken wpFolderPrivate9;
  280.     somMToken wpFolderPrivate10;
  281.     somMToken wpFolderPrivate11;
  282.     somMToken wpFolderPrivate12;
  283.     somMToken wpFolderPrivate13;
  284.     somMToken wpFolderPrivate14;
  285.     somMToken wpFolderPrivate15;
  286.     somMToken wpFolderPrivate16;
  287.     somMToken wpFolderPrivate17;
  288.     somMToken wpFolderPrivate18;
  289.     somMToken wpFolderPrivate19;
  290.     somMToken wpFolderPrivate20;
  291.     somMToken wpFolderPrivate21;
  292.     somMToken wpFolderPrivate22;
  293.     somMToken wpFolderPrivate23;
  294.     somMToken wpModifyFldrFlags;
  295.     somMToken wpFolderPrivate24;
  296.     somMToken wpFolderPrivate25;
  297.     somMToken wpFolderPrivate26;
  298.     somMToken wpFolderPrivate27;
  299.     somMToken wpFolderPrivate28;
  300.     somMToken wpQueryIconTextBackgroundColor;
  301.     somMToken wpSetIconTextBackgroundColor;
  302.     somMToken wpFolderPrivate29;
  303.     somMToken wpFolderPrivate30;
  304.     somMToken wpFolderPrivate31;
  305.     somMToken wpQueryIconTextColor;
  306.     somMToken wpSetIconTextColor;
  307.     somMToken wpQueryIconTextVisibility;
  308.     somMToken wpSetIconTextVisibility;
  309.     somMToken wpAddFolderSelfClosePage;
  310.     somMToken wpFolderPrivate32;
  311.     somMToken wpFolderPrivate33;
  312.     somMToken wpFolderPrivate34;
  313.     somMToken wpFolderPrivate35;
  314.     somMToken wpFolderPrivate36;
  315.     somMToken wpFolderPrivate37;
  316.     somMToken wpFolderPrivate38;
  317.     somMToken wpFolderPrivate39;
  318.     somMToken wpFolderPrivate40;
  319.     somMToken wpFolderPrivate41;
  320.     somMToken wpFolderPrivate42;
  321.     somMToken wpAddFolderMenu2Page;
  322.     somMToken wpSetMenuBarVisibility;
  323.     somMToken wpQueryMenuBarVisibility;
  324.     somMToken wpFolderPrivate43;
  325.     somMToken wpFolderPrivate44;
  326.     somMToken wpFolderPrivate45;
  327.     somMToken wpFlushNotifications;
  328.     somMToken wpSetShadowTextColor;
  329.     somMToken wpQueryShadowTextColor;
  330.     somMToken wpSetFldrBackground;
  331.     somMToken wpQueryFldrBackground;
  332.     somMToken wpSetFldrGrid;
  333.     somMToken wpQueryFldrGrid;
  334. } SOMDLINK WPFolderClassData;
  335.  
  336. /*
  337.  * Declare the C specific class data structure
  338.  */
  339. SOMEXTERN struct WPFolderCClassDataStructure {
  340.     somMethodTabs parentMtab;
  341.     somDToken instanceDataToken;
  342. } SOMDLINK WPFolderCClassData;
  343.  
  344. /*
  345.  * New and Renew macros for WPFolder
  346.  */
  347. #define WPFolderNew() \
  348.    ( _WPFolder ? \
  349.     _somNew(_WPFolder) \
  350.     : ( WPFolderNewClass(\
  351.         WPFolder_MajorVersion, \
  352.         WPFolder_MinorVersion),\
  353.        _somNew(_WPFolder)))
  354. #define WPFolderRenew(buf) \
  355.    ( _WPFolder ? \
  356.     _somRenew(_WPFolder, buf) \
  357.     : ( WPFolderNewClass(\
  358.         WPFolder_MajorVersion, \
  359.         WPFolder_MinorVersion),\
  360.        _somRenew(_WPFolder, buf)))
  361.  
  362. /*
  363.  * Override method: wpInitData
  364.  */
  365. #define WPFolder_wpInitData(somSelf) \
  366.     WPObject_wpInitData(somSelf)
  367.  
  368. /*
  369.  * Override method: wpUnInitData
  370.  */
  371. #define WPFolder_wpUnInitData(somSelf) \
  372.     WPObject_wpUnInitData(somSelf)
  373.  
  374. /*
  375.  * Override method: wpFree
  376.  */
  377. #define WPFolder_wpFree(somSelf) \
  378.     WPObject_wpFree(somSelf)
  379.  
  380. /*
  381.  * Override method: wpDelete
  382.  */
  383. #define WPFolder_wpDelete(somSelf,fConfirmations) \
  384.     WPObject_wpDelete(somSelf,fConfirmations)
  385.  
  386. /*
  387.  * Override method: wpConfirmDelete
  388.  */
  389. #define WPFolder_wpConfirmDelete(somSelf,fConfirmations) \
  390.     WPObject_wpConfirmDelete(somSelf,fConfirmations)
  391.  
  392. /*
  393.  * Override method: wpSaveState
  394.  */
  395. #define WPFolder_wpSaveState(somSelf) \
  396.     WPObject_wpSaveState(somSelf)
  397.  
  398. /*
  399.  * Override method: wpRestoreState
  400.  */
  401. #define WPFolder_wpRestoreState(somSelf,ulReserved) \
  402.     WPObject_wpRestoreState(somSelf,ulReserved)
  403.  
  404. /*
  405.  * Override method: wpMenuItemSelected
  406.  */
  407. #define WPFolder_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
  408.     WPObject_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId)
  409.  
  410. /*
  411.  * Override method: wpAddSettingsPages
  412.  */
  413. #define WPFolder_wpAddSettingsPages(somSelf,hwndNotebook) \
  414.     WPObject_wpAddSettingsPages(somSelf,hwndNotebook)
  415.  
  416. /*
  417.  * Override method: wpOpen
  418.  */
  419. #define WPFolder_wpOpen(somSelf,hwndCnr,ulView,param) \
  420.     WPObject_wpOpen(somSelf,hwndCnr,ulView,param)
  421.  
  422. /*
  423.  * Override method: wpSetup
  424.  */
  425. #define WPFolder_wpSetup(somSelf,pszSetupString) \
  426.     WPObject_wpSetup(somSelf,pszSetupString)
  427.  
  428. /*
  429.  * Override method: wpMoveObject
  430.  */
  431. #define WPFolder_wpMoveObject(somSelf,Folder) \
  432.     WPObject_wpMoveObject(somSelf,Folder)
  433.  
  434. /*
  435.  * Override method: wpDrop
  436.  */
  437. #define WPFolder_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem) \
  438.     WPObject_wpDrop(somSelf,hwndCnr,pdrgInfo,pdrgItem)
  439.  
  440. /*
  441.  * Override method: wpDragOver
  442.  */
  443. #define WPFolder_wpDragOver(somSelf,hwndCnr,pdrgInfo) \
  444.     WPObject_wpDragOver(somSelf,hwndCnr,pdrgInfo)
  445.  
  446. /*
  447.  * Override method: wpMenuItemHelpSelected
  448.  */
  449. #define WPFolder_wpMenuItemHelpSelected(somSelf,MenuId) \
  450.     WPObject_wpMenuItemHelpSelected(somSelf,MenuId)
  451.  
  452. /*
  453.  * Override method: wpAddFile3Page
  454.  */
  455. #define WPFolder_wpAddFile3Page(somSelf,hwndNotebook) \
  456.     WPFileSystem_wpAddFile3Page(somSelf,hwndNotebook)
  457.  
  458. /*
  459.  * Override method: wpAddFile2Page
  460.  */
  461. #define WPFolder_wpAddFile2Page(somSelf,hwndNotebook) \
  462.     WPFileSystem_wpAddFile2Page(somSelf,hwndNotebook)
  463.  
  464. /*
  465.  * Override method: wpFormatDragItem
  466.  */
  467. #define WPFolder_wpFormatDragItem(somSelf,pdrgItem) \
  468.     WPObject_wpFormatDragItem(somSelf,pdrgItem)
  469.  
  470. /*
  471.  * Override method: wpRender
  472.  */
  473. #define WPFolder_wpRender(somSelf,pdxfer) \
  474.     WPObject_wpRender(somSelf,pdxfer)
  475.  
  476. /*
  477.  * Override method: wpRefresh
  478.  */
  479. #define WPFolder_wpRefresh(somSelf,ulView,pReserved) \
  480.     WPFileSystem_wpRefresh(somSelf,ulView,pReserved)
  481.  
  482. /*
  483.  * Override method: wpQueryDefaultView
  484.  */
  485. #define WPFolder_wpQueryDefaultView(somSelf) \
  486.     WPObject_wpQueryDefaultView(somSelf)
  487.  
  488. /*
  489.  * Override method: wpRenderComplete
  490.  */
  491. #define WPFolder_wpRenderComplete(somSelf,pdxfer,ulResult) \
  492.     WPObject_wpRenderComplete(somSelf,pdxfer,ulResult)
  493.  
  494. /*
  495.  * Override method: wpAddFileMenuPage
  496.  */
  497. #define WPFolder_wpAddFileMenuPage(somSelf,hwndNotebook) \
  498.     WPFileSystem_wpAddFileMenuPage(somSelf,hwndNotebook)
  499.  
  500. /*
  501.  * Override method: wpQueryDefaultHelp
  502.  */
  503. #define WPFolder_wpQueryDefaultHelp(somSelf,pHelpPanelId,HelpLibrary) \
  504.     WPObject_wpQueryDefaultHelp(somSelf,pHelpPanelId,HelpLibrary)
  505.  
  506. /*
  507.  * Override method: wpObjectReady
  508.  */
  509. #define WPFolder_wpObjectReady(somSelf,ulCode,refObject) \
  510.     WPObject_wpObjectReady(somSelf,ulCode,refObject)
  511.  
  512. /*
  513.  * Override method: wpAddObjectWindowPage
  514.  */
  515. #define WPFolder_wpAddObjectWindowPage(somSelf,hwndNotebook) \
  516.     WPObject_wpAddObjectWindowPage(somSelf,hwndNotebook)
  517.  
  518. /*
  519.  * Override method: wpModifyMenu
  520.  */
  521. #define WPFolder_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved) \
  522.     WPObject_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved)
  523.  
  524. /*
  525.  * Override method: wpFilterMenu
  526.  */
  527. #define WPFolder_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved) \
  528.     WPObject_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved)
  529.  
  530. /*
  531.  * Override method: wpDisplayMenu
  532.  */
  533. #define WPFolder_wpDisplayMenu(somSelf,hwndOwner,hwndClient,ptlPopupPt,ulMenuType,ulReserved) \
  534.     WPObject_wpDisplayMenu(somSelf,hwndOwner,hwndClient,ptlPopupPt,ulMenuType,ulReserved)
  535.  
  536. /*
  537.  * Override method: somDefaultInit
  538.  */
  539. #define WPFolder_somDefaultInit(somSelf,ctrl) \
  540.     SOMObject_somDefaultInit(somSelf,ctrl)
  541.  
  542. /*
  543.  * Override method: somDestruct
  544.  */
  545. #define WPFolder_somDestruct(somSelf,doFree,ctrl) \
  546.     SOMObject_somDestruct(somSelf,doFree,ctrl)
  547.  
  548. /*
  549.  * Override method: wpSetIconData
  550.  */
  551. #define WPFolder_wpSetIconData(somSelf,pIconInfo) \
  552.     WPObject_wpSetIconData(somSelf,pIconInfo)
  553.  
  554. /*
  555.  * New Method: wpSetFldrFlags
  556.  */
  557. typedef BOOL   SOMLINK somTP_WPFolder_wpSetFldrFlags(WPFolder *somSelf, 
  558.         ULONG ulFlags);
  559. #pragma linkage(somTP_WPFolder_wpSetFldrFlags, system)
  560. typedef somTP_WPFolder_wpSetFldrFlags *somTD_WPFolder_wpSetFldrFlags;
  561. #define somMD_WPFolder_wpSetFldrFlags "::WPFolder::wpSetFldrFlags"
  562. #define WPFolder_wpSetFldrFlags(somSelf,ulFlags) \
  563.     (SOM_Resolve(somSelf, WPFolder, wpSetFldrFlags) \
  564.     (somSelf,ulFlags))
  565. #ifndef SOMGD_wpSetFldrFlags
  566.     #if (defined(_wpSetFldrFlags) || defined(__wpSetFldrFlags))
  567.         #undef _wpSetFldrFlags
  568.         #undef __wpSetFldrFlags
  569.         #define SOMGD_wpSetFldrFlags 1
  570.     #else
  571.         #define _wpSetFldrFlags WPFolder_wpSetFldrFlags
  572.     #endif /* _wpSetFldrFlags */
  573. #endif /* SOMGD_wpSetFldrFlags */
  574.  
  575. /*
  576.  * New Method: wpQueryFldrFlags
  577.  */
  578. typedef ULONG   SOMLINK somTP_WPFolder_wpQueryFldrFlags(WPFolder *somSelf);
  579. #pragma linkage(somTP_WPFolder_wpQueryFldrFlags, system)
  580. typedef somTP_WPFolder_wpQueryFldrFlags *somTD_WPFolder_wpQueryFldrFlags;
  581. #define somMD_WPFolder_wpQueryFldrFlags "::WPFolder::wpQueryFldrFlags"
  582. #define WPFolder_wpQueryFldrFlags(somSelf) \
  583.     (SOM_Resolve(somSelf, WPFolder, wpQueryFldrFlags) \
  584.     (somSelf))
  585. #ifndef SOMGD_wpQueryFldrFlags
  586.     #if (defined(_wpQueryFldrFlags) || defined(__wpQueryFldrFlags))
  587.         #undef _wpQueryFldrFlags
  588.         #undef __wpQueryFldrFlags
  589.         #define SOMGD_wpQueryFldrFlags 1
  590.     #else
  591.         #define _wpQueryFldrFlags WPFolder_wpQueryFldrFlags
  592.     #endif /* _wpQueryFldrFlags */
  593. #endif /* SOMGD_wpQueryFldrFlags */
  594.  
  595. /*
  596.  * New Method: wpSetFldrFont
  597.  */
  598. typedef BOOL   SOMLINK somTP_WPFolder_wpSetFldrFont(WPFolder *somSelf, 
  599.         PSZ pszFont, 
  600.         ULONG ulView);
  601. #pragma linkage(somTP_WPFolder_wpSetFldrFont, system)
  602. typedef somTP_WPFolder_wpSetFldrFont *somTD_WPFolder_wpSetFldrFont;
  603. #define somMD_WPFolder_wpSetFldrFont "::WPFolder::wpSetFldrFont"
  604. #define WPFolder_wpSetFldrFont(somSelf,pszFont,ulView) \
  605.     (SOM_Resolve(somSelf, WPFolder, wpSetFldrFont) \
  606.     (somSelf,pszFont,ulView))
  607. #ifndef SOMGD_wpSetFldrFont
  608.     #if (defined(_wpSetFldrFont) || defined(__wpSetFldrFont))
  609.         #undef _wpSetFldrFont
  610.         #undef __wpSetFldrFont
  611.         #define SOMGD_wpSetFldrFont 1
  612.     #else
  613.         #define _wpSetFldrFont WPFolder_wpSetFldrFont
  614.     #endif /* _wpSetFldrFont */
  615. #endif /* SOMGD_wpSetFldrFont */
  616.  
  617. /*
  618.  * New Method: wpQueryFldrFont
  619.  */
  620. typedef PSZ   SOMLINK somTP_WPFolder_wpQueryFldrFont(WPFolder *somSelf, 
  621.         ULONG ulView);
  622. #pragma linkage(somTP_WPFolder_wpQueryFldrFont, system)
  623. typedef somTP_WPFolder_wpQueryFldrFont *somTD_WPFolder_wpQueryFldrFont;
  624. #define somMD_WPFolder_wpQueryFldrFont "::WPFolder::wpQueryFldrFont"
  625. #define WPFolder_wpQueryFldrFont(somSelf,ulView) \
  626.     (SOM_Resolve(somSelf, WPFolder, wpQueryFldrFont) \
  627.     (somSelf,ulView))
  628. #ifndef SOMGD_wpQueryFldrFont
  629.     #if (defined(_wpQueryFldrFont) || defined(__wpQueryFldrFont))
  630.         #undef _wpQueryFldrFont
  631.         #undef __wpQueryFldrFont
  632.         #define SOMGD_wpQueryFldrFont 1
  633.     #else
  634.         #define _wpQueryFldrFont WPFolder_wpQueryFldrFont
  635.     #endif /* _wpQueryFldrFont */
  636. #endif /* SOMGD_wpQueryFldrFont */
  637.  
  638. /*
  639.  * New Method: wpSetFldrAttr
  640.  */
  641. typedef BOOL   SOMLINK somTP_WPFolder_wpSetFldrAttr(WPFolder *somSelf, 
  642.         ULONG Attr, 
  643.         ULONG ulView);
  644. #pragma linkage(somTP_WPFolder_wpSetFldrAttr, system)
  645. typedef somTP_WPFolder_wpSetFldrAttr *somTD_WPFolder_wpSetFldrAttr;
  646. #define somMD_WPFolder_wpSetFldrAttr "::WPFolder::wpSetFldrAttr"
  647. #define WPFolder_wpSetFldrAttr(somSelf,Attr,ulView) \
  648.     (SOM_Resolve(somSelf, WPFolder, wpSetFldrAttr) \
  649.     (somSelf,Attr,ulView))
  650. #ifndef SOMGD_wpSetFldrAttr
  651.     #if (defined(_wpSetFldrAttr) || defined(__wpSetFldrAttr))
  652.         #undef _wpSetFldrAttr
  653.         #undef __wpSetFldrAttr
  654.         #define SOMGD_wpSetFldrAttr 1
  655.     #else
  656.         #define _wpSetFldrAttr WPFolder_wpSetFldrAttr
  657.     #endif /* _wpSetFldrAttr */
  658. #endif /* SOMGD_wpSetFldrAttr */
  659.  
  660. /*
  661.  * New Method: wpQueryFldrAttr
  662.  */
  663. typedef ULONG   SOMLINK somTP_WPFolder_wpQueryFldrAttr(WPFolder *somSelf, 
  664.         ULONG ulView);
  665. #pragma linkage(somTP_WPFolder_wpQueryFldrAttr, system)
  666. typedef somTP_WPFolder_wpQueryFldrAttr *somTD_WPFolder_wpQueryFldrAttr;
  667. #define somMD_WPFolder_wpQueryFldrAttr "::WPFolder::wpQueryFldrAttr"
  668. #define WPFolder_wpQueryFldrAttr(somSelf,ulView) \
  669.     (SOM_Resolve(somSelf, WPFolder, wpQueryFldrAttr) \
  670.     (somSelf,ulView))
  671. #ifndef SOMGD_wpQueryFldrAttr
  672.     #if (defined(_wpQueryFldrAttr) || defined(__wpQueryFldrAttr))
  673.         #undef _wpQueryFldrAttr
  674.         #undef __wpQueryFldrAttr
  675.         #define SOMGD_wpQueryFldrAttr 1
  676.     #else
  677.         #define _wpQueryFldrAttr WPFolder_wpQueryFldrAttr
  678.     #endif /* _wpQueryFldrAttr */
  679. #endif /* SOMGD_wpQueryFldrAttr */
  680.  
  681. /*
  682.  * New Method: wpSetNextIconPos
  683.  */
  684. typedef BOOL   SOMLINK somTP_WPFolder_wpSetNextIconPos(WPFolder *somSelf, 
  685.         PPOINTL pptl);
  686. #pragma linkage(somTP_WPFolder_wpSetNextIconPos, system)
  687. typedef somTP_WPFolder_wpSetNextIconPos *somTD_WPFolder_wpSetNextIconPos;
  688. #define somMD_WPFolder_wpSetNextIconPos "::WPFolder::wpSetNextIconPos"
  689. #define WPFolder_wpSetNextIconPos(somSelf,pptl) \
  690.     (SOM_Resolve(somSelf, WPFolder, wpSetNextIconPos) \
  691.     (somSelf,pptl))
  692. #ifndef SOMGD_wpSetNextIconPos
  693.     #if (defined(_wpSetNextIconPos) || defined(__wpSetNextIconPos))
  694.         #undef _wpSetNextIconPos
  695.         #undef __wpSetNextIconPos
  696.         #define SOMGD_wpSetNextIconPos 1
  697.     #else
  698.         #define _wpSetNextIconPos WPFolder_wpSetNextIconPos
  699.     #endif /* _wpSetNextIconPos */
  700. #endif /* SOMGD_wpSetNextIconPos */
  701.  
  702. /*
  703.  * New Method: wpQueryNextIconPos
  704.  */
  705. typedef PPOINTL   SOMLINK somTP_WPFolder_wpQueryNextIconPos(WPFolder *somSelf);
  706. #pragma linkage(somTP_WPFolder_wpQueryNextIconPos, system)
  707. typedef somTP_WPFolder_wpQueryNextIconPos *somTD_WPFolder_wpQueryNextIconPos;
  708. #define somMD_WPFolder_wpQueryNextIconPos "::WPFolder::wpQueryNextIconPos"
  709. #define WPFolder_wpQueryNextIconPos(somSelf) \
  710.     (SOM_Resolve(somSelf, WPFolder, wpQueryNextIconPos) \
  711.     (somSelf))
  712. #ifndef SOMGD_wpQueryNextIconPos
  713.     #if (defined(_wpQueryNextIconPos) || defined(__wpQueryNextIconPos))
  714.         #undef _wpQueryNextIconPos
  715.         #undef __wpQueryNextIconPos
  716.         #define SOMGD_wpQueryNextIconPos 1
  717.     #else
  718.         #define _wpQueryNextIconPos WPFolder_wpQueryNextIconPos
  719.     #endif /* _wpQueryNextIconPos */
  720. #endif /* SOMGD_wpQueryNextIconPos */
  721.  
  722. /*
  723.  * New Method: wpPopulate
  724.  */
  725. typedef BOOL   SOMLINK somTP_WPFolder_wpPopulate(WPFolder *somSelf, 
  726.         ULONG ulReserved, 
  727.         PSZ pszPath, 
  728.         BOOL fFoldersOnly);
  729. #pragma linkage(somTP_WPFolder_wpPopulate, system)
  730. typedef somTP_WPFolder_wpPopulate *somTD_WPFolder_wpPopulate;
  731. #define somMD_WPFolder_wpPopulate "::WPFolder::wpPopulate"
  732. #define WPFolder_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly) \
  733.     (SOM_Resolve(somSelf, WPFolder, wpPopulate) \
  734.     (somSelf,ulReserved,pszPath,fFoldersOnly))
  735. #ifndef SOMGD_wpPopulate
  736.     #if (defined(_wpPopulate) || defined(__wpPopulate))
  737.         #undef _wpPopulate
  738.         #undef __wpPopulate
  739.         #define SOMGD_wpPopulate 1
  740.     #else
  741.         #define _wpPopulate WPFolder_wpPopulate
  742.     #endif /* _wpPopulate */
  743. #endif /* SOMGD_wpPopulate */
  744.  
  745. /*
  746.  * New Method: wpQueryContent
  747.  */
  748. typedef WPObject*   SOMLINK somTP_WPFolder_wpQueryContent(WPFolder *somSelf, 
  749.         WPObject* Object, 
  750.         ULONG ulOption);
  751. #pragma linkage(somTP_WPFolder_wpQueryContent, system)
  752. typedef somTP_WPFolder_wpQueryContent *somTD_WPFolder_wpQueryContent;
  753. #define somMD_WPFolder_wpQueryContent "::WPFolder::wpQueryContent"
  754. #define WPFolder_wpQueryContent(somSelf,Object,ulOption) \
  755.     (SOM_Resolve(somSelf, WPFolder, wpQueryContent) \
  756.     (somSelf,Object,ulOption))
  757. #ifndef SOMGD_wpQueryContent
  758.     #if (defined(_wpQueryContent) || defined(__wpQueryContent))
  759.         #undef _wpQueryContent
  760.         #undef __wpQueryContent
  761.         #define SOMGD_wpQueryContent 1
  762.     #else
  763.         #define _wpQueryContent WPFolder_wpQueryContent
  764.     #endif /* _wpQueryContent */
  765. #endif /* SOMGD_wpQueryContent */
  766.  
  767. /*
  768.  * New Method: wpAddFolderView1Page
  769.  */
  770. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderView1Page(WPFolder *somSelf, 
  771.         HWND hwndNotebook);
  772. #pragma linkage(somTP_WPFolder_wpAddFolderView1Page, system)
  773. typedef somTP_WPFolder_wpAddFolderView1Page *somTD_WPFolder_wpAddFolderView1Page;
  774. #define somMD_WPFolder_wpAddFolderView1Page "::WPFolder::wpAddFolderView1Page"
  775. #define WPFolder_wpAddFolderView1Page(somSelf,hwndNotebook) \
  776.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderView1Page) \
  777.     (somSelf,hwndNotebook))
  778. #ifndef SOMGD_wpAddFolderView1Page
  779.     #if (defined(_wpAddFolderView1Page) || defined(__wpAddFolderView1Page))
  780.         #undef _wpAddFolderView1Page
  781.         #undef __wpAddFolderView1Page
  782.         #define SOMGD_wpAddFolderView1Page 1
  783.     #else
  784.         #define _wpAddFolderView1Page WPFolder_wpAddFolderView1Page
  785.     #endif /* _wpAddFolderView1Page */
  786. #endif /* SOMGD_wpAddFolderView1Page */
  787.  
  788. /*
  789.  * New Method: wpAddFolderView2Page
  790.  */
  791. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderView2Page(WPFolder *somSelf, 
  792.         HWND hwndNotebook);
  793. #pragma linkage(somTP_WPFolder_wpAddFolderView2Page, system)
  794. typedef somTP_WPFolder_wpAddFolderView2Page *somTD_WPFolder_wpAddFolderView2Page;
  795. #define somMD_WPFolder_wpAddFolderView2Page "::WPFolder::wpAddFolderView2Page"
  796. #define WPFolder_wpAddFolderView2Page(somSelf,hwndNotebook) \
  797.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderView2Page) \
  798.     (somSelf,hwndNotebook))
  799. #ifndef SOMGD_wpAddFolderView2Page
  800.     #if (defined(_wpAddFolderView2Page) || defined(__wpAddFolderView2Page))
  801.         #undef _wpAddFolderView2Page
  802.         #undef __wpAddFolderView2Page
  803.         #define SOMGD_wpAddFolderView2Page 1
  804.     #else
  805.         #define _wpAddFolderView2Page WPFolder_wpAddFolderView2Page
  806.     #endif /* _wpAddFolderView2Page */
  807. #endif /* SOMGD_wpAddFolderView2Page */
  808.  
  809. /*
  810.  * New Method: wpAddFolderView3Page
  811.  */
  812. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderView3Page(WPFolder *somSelf, 
  813.         HWND hwndNotebook);
  814. #pragma linkage(somTP_WPFolder_wpAddFolderView3Page, system)
  815. typedef somTP_WPFolder_wpAddFolderView3Page *somTD_WPFolder_wpAddFolderView3Page;
  816. #define somMD_WPFolder_wpAddFolderView3Page "::WPFolder::wpAddFolderView3Page"
  817. #define WPFolder_wpAddFolderView3Page(somSelf,hwndNotebook) \
  818.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderView3Page) \
  819.     (somSelf,hwndNotebook))
  820. #ifndef SOMGD_wpAddFolderView3Page
  821.     #if (defined(_wpAddFolderView3Page) || defined(__wpAddFolderView3Page))
  822.         #undef _wpAddFolderView3Page
  823.         #undef __wpAddFolderView3Page
  824.         #define SOMGD_wpAddFolderView3Page 1
  825.     #else
  826.         #define _wpAddFolderView3Page WPFolder_wpAddFolderView3Page
  827.     #endif /* _wpAddFolderView3Page */
  828. #endif /* SOMGD_wpAddFolderView3Page */
  829.  
  830. /*
  831.  * New Method: wpAddFolderIncludePage
  832.  */
  833. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderIncludePage(WPFolder *somSelf, 
  834.         HWND hwndNotebook);
  835. #pragma linkage(somTP_WPFolder_wpAddFolderIncludePage, system)
  836. typedef somTP_WPFolder_wpAddFolderIncludePage *somTD_WPFolder_wpAddFolderIncludePage;
  837. #define somMD_WPFolder_wpAddFolderIncludePage "::WPFolder::wpAddFolderIncludePage"
  838. #define WPFolder_wpAddFolderIncludePage(somSelf,hwndNotebook) \
  839.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderIncludePage) \
  840.     (somSelf,hwndNotebook))
  841. #ifndef SOMGD_wpAddFolderIncludePage
  842.     #if (defined(_wpAddFolderIncludePage) || defined(__wpAddFolderIncludePage))
  843.         #undef _wpAddFolderIncludePage
  844.         #undef __wpAddFolderIncludePage
  845.         #define SOMGD_wpAddFolderIncludePage 1
  846.     #else
  847.         #define _wpAddFolderIncludePage WPFolder_wpAddFolderIncludePage
  848.     #endif /* _wpAddFolderIncludePage */
  849. #endif /* SOMGD_wpAddFolderIncludePage */
  850.  
  851. /*
  852.  * New Method: wpAddFolderSortPage
  853.  */
  854. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderSortPage(WPFolder *somSelf, 
  855.         HWND hwndNotebook);
  856. #pragma linkage(somTP_WPFolder_wpAddFolderSortPage, system)
  857. typedef somTP_WPFolder_wpAddFolderSortPage *somTD_WPFolder_wpAddFolderSortPage;
  858. #define somMD_WPFolder_wpAddFolderSortPage "::WPFolder::wpAddFolderSortPage"
  859. #define WPFolder_wpAddFolderSortPage(somSelf,hwndNotebook) \
  860.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderSortPage) \
  861.     (somSelf,hwndNotebook))
  862. #ifndef SOMGD_wpAddFolderSortPage
  863.     #if (defined(_wpAddFolderSortPage) || defined(__wpAddFolderSortPage))
  864.         #undef _wpAddFolderSortPage
  865.         #undef __wpAddFolderSortPage
  866.         #define SOMGD_wpAddFolderSortPage 1
  867.     #else
  868.         #define _wpAddFolderSortPage WPFolder_wpAddFolderSortPage
  869.     #endif /* _wpAddFolderSortPage */
  870. #endif /* SOMGD_wpAddFolderSortPage */
  871.  
  872. /*
  873.  * New Method: wpAddFolderBackgroundPage
  874.  */
  875. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderBackgroundPage(WPFolder *somSelf, 
  876.         HWND hwndNotebook);
  877. #pragma linkage(somTP_WPFolder_wpAddFolderBackgroundPage, system)
  878. typedef somTP_WPFolder_wpAddFolderBackgroundPage *somTD_WPFolder_wpAddFolderBackgroundPage;
  879. #define somMD_WPFolder_wpAddFolderBackgroundPage "::WPFolder::wpAddFolderBackgroundPage"
  880. #define WPFolder_wpAddFolderBackgroundPage(somSelf,hwndNotebook) \
  881.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderBackgroundPage) \
  882.     (somSelf,hwndNotebook))
  883. #ifndef SOMGD_wpAddFolderBackgroundPage
  884.     #if (defined(_wpAddFolderBackgroundPage) || defined(__wpAddFolderBackgroundPage))
  885.         #undef _wpAddFolderBackgroundPage
  886.         #undef __wpAddFolderBackgroundPage
  887.         #define SOMGD_wpAddFolderBackgroundPage 1
  888.     #else
  889.         #define _wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
  890.     #endif /* _wpAddFolderBackgroundPage */
  891. #endif /* SOMGD_wpAddFolderBackgroundPage */
  892.  
  893. /*
  894.  * New Method: wpAddFolderMenu2Page
  895.  */
  896. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderMenu2Page(WPFolder *somSelf, 
  897.         HWND hwndNotebook);
  898. #pragma linkage(somTP_WPFolder_wpAddFolderMenu2Page, system)
  899. typedef somTP_WPFolder_wpAddFolderMenu2Page *somTD_WPFolder_wpAddFolderMenu2Page;
  900. #define somMD_WPFolder_wpAddFolderMenu2Page "::WPFolder::wpAddFolderMenu2Page"
  901. #define WPFolder_wpAddFolderMenu2Page(somSelf,hwndNotebook) \
  902.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderMenu2Page) \
  903.     (somSelf,hwndNotebook))
  904. #ifndef SOMGD_wpAddFolderMenu2Page
  905.     #if (defined(_wpAddFolderMenu2Page) || defined(__wpAddFolderMenu2Page))
  906.         #undef _wpAddFolderMenu2Page
  907.         #undef __wpAddFolderMenu2Page
  908.         #define SOMGD_wpAddFolderMenu2Page 1
  909.     #else
  910.         #define _wpAddFolderMenu2Page WPFolder_wpAddFolderMenu2Page
  911.     #endif /* _wpAddFolderMenu2Page */
  912. #endif /* SOMGD_wpAddFolderMenu2Page */
  913.  
  914. /*
  915.  * New Method: wpAddFolderSelfClosePage
  916.  */
  917. typedef ULONG   SOMLINK somTP_WPFolder_wpAddFolderSelfClosePage(WPFolder *somSelf, 
  918.         HWND hwndNotebook);
  919. #pragma linkage(somTP_WPFolder_wpAddFolderSelfClosePage, system)
  920. typedef somTP_WPFolder_wpAddFolderSelfClosePage *somTD_WPFolder_wpAddFolderSelfClosePage;
  921. #define somMD_WPFolder_wpAddFolderSelfClosePage "::WPFolder::wpAddFolderSelfClosePage"
  922. #define WPFolder_wpAddFolderSelfClosePage(somSelf,hwndNotebook) \
  923.     (SOM_Resolve(somSelf, WPFolder, wpAddFolderSelfClosePage) \
  924.     (somSelf,hwndNotebook))
  925. #ifndef SOMGD_wpAddFolderSelfClosePage
  926.     #if (defined(_wpAddFolderSelfClosePage) || defined(__wpAddFolderSelfClosePage))
  927.         #undef _wpAddFolderSelfClosePage
  928.         #undef __wpAddFolderSelfClosePage
  929.         #define SOMGD_wpAddFolderSelfClosePage 1
  930.     #else
  931.         #define _wpAddFolderSelfClosePage WPFolder_wpAddFolderSelfClosePage
  932.     #endif /* _wpAddFolderSelfClosePage */
  933. #endif /* SOMGD_wpAddFolderSelfClosePage */
  934.  
  935. /*
  936.  * New Method: wpInitIconPosData
  937.  */
  938. typedef BOOL   SOMLINK somTP_WPFolder_wpInitIconPosData(WPFolder *somSelf);
  939. #pragma linkage(somTP_WPFolder_wpInitIconPosData, system)
  940. typedef somTP_WPFolder_wpInitIconPosData *somTD_WPFolder_wpInitIconPosData;
  941. #define somMD_WPFolder_wpInitIconPosData "::WPFolder::wpInitIconPosData"
  942. #define WPFolder_wpInitIconPosData(somSelf) \
  943.     (SOM_Resolve(somSelf, WPFolder, wpInitIconPosData) \
  944.     (somSelf))
  945. #ifndef SOMGD_wpInitIconPosData
  946.     #if (defined(_wpInitIconPosData) || defined(__wpInitIconPosData))
  947.         #undef _wpInitIconPosData
  948.         #undef __wpInitIconPosData
  949.         #define SOMGD_wpInitIconPosData 1
  950.     #else
  951.         #define _wpInitIconPosData WPFolder_wpInitIconPosData
  952.     #endif /* _wpInitIconPosData */
  953. #endif /* SOMGD_wpInitIconPosData */
  954.  
  955. /*
  956.  * New Method: wpFreeIconPosData
  957.  */
  958. typedef void   SOMLINK somTP_WPFolder_wpFreeIconPosData(WPFolder *somSelf);
  959. #pragma linkage(somTP_WPFolder_wpFreeIconPosData, system)
  960. typedef somTP_WPFolder_wpFreeIconPosData *somTD_WPFolder_wpFreeIconPosData;
  961. #define somMD_WPFolder_wpFreeIconPosData "::WPFolder::wpFreeIconPosData"
  962. #define WPFolder_wpFreeIconPosData(somSelf) \
  963.     (SOM_Resolve(somSelf, WPFolder, wpFreeIconPosData) \
  964.     (somSelf))
  965. #ifndef SOMGD_wpFreeIconPosData
  966.     #if (defined(_wpFreeIconPosData) || defined(__wpFreeIconPosData))
  967.         #undef _wpFreeIconPosData
  968.         #undef __wpFreeIconPosData
  969.         #define SOMGD_wpFreeIconPosData 1
  970.     #else
  971.         #define _wpFreeIconPosData WPFolder_wpFreeIconPosData
  972.     #endif /* _wpFreeIconPosData */
  973. #endif /* SOMGD_wpFreeIconPosData */
  974.  
  975. /*
  976.  * New Method: wpStoreIconPosData
  977.  */
  978. typedef BOOL   SOMLINK somTP_WPFolder_wpStoreIconPosData(WPFolder *somSelf, 
  979.         PICONPOS pIconPos, 
  980.         ULONG cbSize);
  981. #pragma linkage(somTP_WPFolder_wpStoreIconPosData, system)
  982. typedef somTP_WPFolder_wpStoreIconPosData *somTD_WPFolder_wpStoreIconPosData;
  983. #define somMD_WPFolder_wpStoreIconPosData "::WPFolder::wpStoreIconPosData"
  984. #define WPFolder_wpStoreIconPosData(somSelf,pIconPos,cbSize) \
  985.     (SOM_Resolve(somSelf, WPFolder, wpStoreIconPosData) \
  986.     (somSelf,pIconPos,cbSize))
  987. #ifndef SOMGD_wpStoreIconPosData
  988.     #if (defined(_wpStoreIconPosData) || defined(__wpStoreIconPosData))
  989.         #undef _wpStoreIconPosData
  990.         #undef __wpStoreIconPosData
  991.         #define SOMGD_wpStoreIconPosData 1
  992.     #else
  993.         #define _wpStoreIconPosData WPFolder_wpStoreIconPosData
  994.     #endif /* _wpStoreIconPosData */
  995. #endif /* SOMGD_wpStoreIconPosData */
  996.  
  997. /*
  998.  * New Method: wpQueryIconPosition
  999.  */
  1000. typedef BOOL   SOMLINK somTP_WPFolder_wpQueryIconPosition(WPFolder *somSelf, 
  1001.         PSZ pszIdentity, 
  1002.         PPOINTL pptl, 
  1003.         PULONG pIndex);
  1004. #pragma linkage(somTP_WPFolder_wpQueryIconPosition, system)
  1005. typedef somTP_WPFolder_wpQueryIconPosition *somTD_WPFolder_wpQueryIconPosition;
  1006. #define somMD_WPFolder_wpQueryIconPosition "::WPFolder::wpQueryIconPosition"
  1007. #define WPFolder_wpQueryIconPosition(somSelf,pszIdentity,pptl,pIndex) \
  1008.     (SOM_Resolve(somSelf, WPFolder, wpQueryIconPosition) \
  1009.     (somSelf,pszIdentity,pptl,pIndex))
  1010. #ifndef SOMGD_wpQueryIconPosition
  1011.     #if (defined(_wpQueryIconPosition) || defined(__wpQueryIconPosition))
  1012.         #undef _wpQueryIconPosition
  1013.         #undef __wpQueryIconPosition
  1014.         #define SOMGD_wpQueryIconPosition 1
  1015.     #else
  1016.         #define _wpQueryIconPosition WPFolder_wpQueryIconPosition
  1017.     #endif /* _wpQueryIconPosition */
  1018. #endif /* SOMGD_wpQueryIconPosition */
  1019.  
  1020. /*
  1021.  * New Method: wpSetFldrSort
  1022.  */
  1023. typedef BOOL   SOMLINK somTP_WPFolder_wpSetFldrSort(WPFolder *somSelf, 
  1024.         PVOID pSortRecord, 
  1025.         ULONG ulView, 
  1026.         ULONG ulType);
  1027. #pragma linkage(somTP_WPFolder_wpSetFldrSort, system)
  1028. typedef somTP_WPFolder_wpSetFldrSort *somTD_WPFolder_wpSetFldrSort;
  1029. #define somMD_WPFolder_wpSetFldrSort "::WPFolder::wpSetFldrSort"
  1030. #define WPFolder_wpSetFldrSort(somSelf,pSortRecord,ulView,ulType) \
  1031.     (SOM_Resolve(somSelf, WPFolder, wpSetFldrSort) \
  1032.     (somSelf,pSortRecord,ulView,ulType))
  1033. #ifndef SOMGD_wpSetFldrSort
  1034.     #if (defined(_wpSetFldrSort) || defined(__wpSetFldrSort))
  1035.         #undef _wpSetFldrSort
  1036.         #undef __wpSetFldrSort
  1037.         #define SOMGD_wpSetFldrSort 1
  1038.     #else
  1039.         #define _wpSetFldrSort WPFolder_wpSetFldrSort
  1040.     #endif /* _wpSetFldrSort */
  1041. #endif /* SOMGD_wpSetFldrSort */
  1042.  
  1043. /*
  1044.  * New Method: wpQueryFldrSort
  1045.  */
  1046. typedef PVOID   SOMLINK somTP_WPFolder_wpQueryFldrSort(WPFolder *somSelf, 
  1047.         ULONG ulView, 
  1048.         ULONG ulType);
  1049. #pragma linkage(somTP_WPFolder_wpQueryFldrSort, system)
  1050. typedef somTP_WPFolder_wpQueryFldrSort *somTD_WPFolder_wpQueryFldrSort;
  1051. #define somMD_WPFolder_wpQueryFldrSort "::WPFolder::wpQueryFldrSort"
  1052. #define WPFolder_wpQueryFldrSort(somSelf,ulView,ulType) \
  1053.     (SOM_Resolve(somSelf, WPFolder, wpQueryFldrSort) \
  1054.     (somSelf,ulView,ulType))
  1055. #ifndef SOMGD_wpQueryFldrSort
  1056.     #if (defined(_wpQueryFldrSort) || defined(__wpQueryFldrSort))
  1057.         #undef _wpQueryFldrSort
  1058.         #undef __wpQueryFldrSort
  1059.         #define SOMGD_wpQueryFldrSort 1
  1060.     #else
  1061.         #define _wpQueryFldrSort WPFolder_wpQueryFldrSort
  1062.     #endif /* _wpQueryFldrSort */
  1063. #endif /* SOMGD_wpQueryFldrSort */
  1064.  
  1065. /*
  1066.  * New Method: wpRestoreFldrRunObjs
  1067.  */
  1068. typedef BOOL   SOMLINK somTP_WPFolder_wpRestoreFldrRunObjs(WPFolder *somSelf);
  1069. #pragma linkage(somTP_WPFolder_wpRestoreFldrRunObjs, system)
  1070. typedef somTP_WPFolder_wpRestoreFldrRunObjs *somTD_WPFolder_wpRestoreFldrRunObjs;
  1071. #define somMD_WPFolder_wpRestoreFldrRunObjs "::WPFolder::wpRestoreFldrRunObjs"
  1072. #define WPFolder_wpRestoreFldrRunObjs(somSelf) \
  1073.     (SOM_Resolve(somSelf, WPFolder, wpRestoreFldrRunObjs) \
  1074.     (somSelf))
  1075. #ifndef SOMGD_wpRestoreFldrRunObjs
  1076.     #if (defined(_wpRestoreFldrRunObjs) || defined(__wpRestoreFldrRunObjs))
  1077.         #undef _wpRestoreFldrRunObjs
  1078.         #undef __wpRestoreFldrRunObjs
  1079.         #define SOMGD_wpRestoreFldrRunObjs 1
  1080.     #else
  1081.         #define _wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
  1082.     #endif /* _wpRestoreFldrRunObjs */
  1083. #endif /* SOMGD_wpRestoreFldrRunObjs */
  1084.  
  1085. /*
  1086.  * New Method: wpStoreFldrRunObjs
  1087.  */
  1088. typedef BOOL   SOMLINK somTP_WPFolder_wpStoreFldrRunObjs(WPFolder *somSelf, 
  1089.         ULONG ulType);
  1090. #pragma linkage(somTP_WPFolder_wpStoreFldrRunObjs, system)
  1091. typedef somTP_WPFolder_wpStoreFldrRunObjs *somTD_WPFolder_wpStoreFldrRunObjs;
  1092. #define somMD_WPFolder_wpStoreFldrRunObjs "::WPFolder::wpStoreFldrRunObjs"
  1093. #define WPFolder_wpStoreFldrRunObjs(somSelf,ulType) \
  1094.     (SOM_Resolve(somSelf, WPFolder, wpStoreFldrRunObjs) \
  1095.     (somSelf,ulType))
  1096. #ifndef SOMGD_wpStoreFldrRunObjs
  1097.     #if (defined(_wpStoreFldrRunObjs) || defined(__wpStoreFldrRunObjs))
  1098.         #undef _wpStoreFldrRunObjs
  1099.         #undef __wpStoreFldrRunObjs
  1100.         #define SOMGD_wpStoreFldrRunObjs 1
  1101.     #else
  1102.         #define _wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
  1103.     #endif /* _wpStoreFldrRunObjs */
  1104. #endif /* SOMGD_wpStoreFldrRunObjs */
  1105.  
  1106. /*
  1107.  * New Method: wpHideFldrRunObjs
  1108.  */
  1109. typedef BOOL   SOMLINK somTP_WPFolder_wpHideFldrRunObjs(WPFolder *somSelf, 
  1110.         BOOL fHide);
  1111. #pragma linkage(somTP_WPFolder_wpHideFldrRunObjs, system)
  1112. typedef somTP_WPFolder_wpHideFldrRunObjs *somTD_WPFolder_wpHideFldrRunObjs;
  1113. #define somMD_WPFolder_wpHideFldrRunObjs "::WPFolder::wpHideFldrRunObjs"
  1114. #define WPFolder_wpHideFldrRunObjs(somSelf,fHide) \
  1115.     (SOM_Resolve(somSelf, WPFolder, wpHideFldrRunObjs) \
  1116.     (somSelf,fHide))
  1117. #ifndef SOMGD_wpHideFldrRunObjs
  1118.     #if (defined(_wpHideFldrRunObjs) || defined(__wpHideFldrRunObjs))
  1119.         #undef _wpHideFldrRunObjs
  1120.         #undef __wpHideFldrRunObjs
  1121.         #define SOMGD_wpHideFldrRunObjs 1
  1122.     #else
  1123.         #define _wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
  1124.     #endif /* _wpHideFldrRunObjs */
  1125. #endif /* SOMGD_wpHideFldrRunObjs */
  1126.  
  1127. /*
  1128.  * New Method: wpDeleteContents
  1129.  */
  1130. typedef ULONG   SOMLINK somTP_WPFolder_wpDeleteContents(WPFolder *somSelf, 
  1131.         ULONG fConfirmations);
  1132. #pragma linkage(somTP_WPFolder_wpDeleteContents, system)
  1133. typedef somTP_WPFolder_wpDeleteContents *somTD_WPFolder_wpDeleteContents;
  1134. #define somMD_WPFolder_wpDeleteContents "::WPFolder::wpDeleteContents"
  1135. #define WPFolder_wpDeleteContents(somSelf,fConfirmations) \
  1136.     (SOM_Resolve(somSelf, WPFolder, wpDeleteContents) \
  1137.     (somSelf,fConfirmations))
  1138. #ifndef SOMGD_wpDeleteContents
  1139.     #if (defined(_wpDeleteContents) || defined(__wpDeleteContents))
  1140.         #undef _wpDeleteContents
  1141.         #undef __wpDeleteContents
  1142.         #define SOMGD_wpDeleteContents 1
  1143.     #else
  1144.         #define _wpDeleteContents WPFolder_wpDeleteContents
  1145.     #endif /* _wpDeleteContents */
  1146. #endif /* SOMGD_wpDeleteContents */
  1147.  
  1148. /*
  1149.  * New Method: wpSetFldrDetailsClass
  1150.  */
  1151. typedef BOOL   SOMLINK somTP_WPFolder_wpSetFldrDetailsClass(WPFolder *somSelf, 
  1152.         M_WPObject* Class);
  1153. #pragma linkage(somTP_WPFolder_wpSetFldrDetailsClass, system)
  1154. typedef somTP_WPFolder_wpSetFldrDetailsClass *somTD_WPFolder_wpSetFldrDetailsClass;
  1155. #define somMD_WPFolder_wpSetFldrDetailsClass "::WPFolder::wpSetFldrDetailsClass"
  1156. #define WPFolder_wpSetFldrDetailsClass(somSelf,Class) \
  1157.     (SOM_Resolve(somSelf, WPFolder, wpSetFldrDetailsClass) \
  1158.     (somSelf,Class))
  1159. #ifndef SOMGD_wpSetFldrDetailsClass
  1160.     #if (defined(_wpSetFldrDetailsClass) || defined(__wpSetFldrDetailsClass))
  1161.         #undef _wpSetFldrDetailsClass
  1162.         #undef __wpSetFldrDetailsClass
  1163.         #define SOMGD_wpSetFldrDetailsClass 1
  1164.     #else
  1165.         #define _wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
  1166.     #endif /* _wpSetFldrDetailsClass */
  1167. #endif /* SOMGD_wpSetFldrDetailsClass */
  1168.  
  1169. /*
  1170.  * New Method: wpQueryFldrDetailsClass
  1171.  */
  1172. typedef M_WPObject*   SOMLINK somTP_WPFolder_wpQueryFldrDetailsClass(WPFolder *somSelf);
  1173. #pragma linkage(somTP_WPFolder_wpQueryFldrDetailsClass, system)
  1174. typedef somTP_WPFolder_wpQueryFldrDetailsClass *somTD_WPFolder_wpQueryFldrDetailsClass;
  1175. #define somMD_WPFolder_wpQueryFldrDetailsClass "::WPFolder::wpQueryFldrDetailsClass"
  1176. #define WPFolder_wpQueryFldrDetailsClass(somSelf) \
  1177.     (SOM_Resolve(somSelf, WPFolder, wpQueryFldrDetailsClass) \
  1178.     (somSelf))
  1179. #ifndef SOMGD_wpQueryFldrDetailsClass
  1180.     #if (defined(_wpQueryFldrDetailsClass) || defined(__wpQueryFldrDetailsClass))
  1181.         #undef _wpQueryFldrDetailsClass
  1182.         #undef __wpQueryFldrDetailsClass
  1183.         #define SOMGD_wpQueryFldrDetailsClass 1
  1184.     #else
  1185.         #define _wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
  1186.     #endif /* _wpQueryFldrDetailsClass */
  1187. #endif /* SOMGD_wpQueryFldrDetailsClass */
  1188.  
  1189. /*
  1190.  * New Method: wpSearchFolder
  1191.  */
  1192. typedef BOOL   SOMLINK somTP_WPFolder_wpSearchFolder(WPFolder *somSelf, 
  1193.         PSZ pszName, 
  1194.         ULONG ulSearchType, 
  1195.         ULONG ulLen, 
  1196.         PSEARCH_INFO pInfo, 
  1197.         WPFolder* ResultFolder);
  1198. #pragma linkage(somTP_WPFolder_wpSearchFolder, system)
  1199. typedef somTP_WPFolder_wpSearchFolder *somTD_WPFolder_wpSearchFolder;
  1200. #define somMD_WPFolder_wpSearchFolder "::WPFolder::wpSearchFolder"
  1201. #define WPFolder_wpSearchFolder(somSelf,pszName,ulSearchType,ulLen,pInfo,ResultFolder) \
  1202.     (SOM_Resolve(somSelf, WPFolder, wpSearchFolder) \
  1203.     (somSelf,pszName,ulSearchType,ulLen,pInfo,ResultFolder))
  1204. #ifndef SOMGD_wpSearchFolder
  1205.     #if (defined(_wpSearchFolder) || defined(__wpSearchFolder))
  1206.         #undef _wpSearchFolder
  1207.         #undef __wpSearchFolder
  1208.         #define SOMGD_wpSearchFolder 1
  1209.     #else
  1210.         #define _wpSearchFolder WPFolder_wpSearchFolder
  1211.     #endif /* _wpSearchFolder */
  1212. #endif /* SOMGD_wpSearchFolder */
  1213.  
  1214. /*
  1215.  * New Method: wpContainsFolders
  1216.  */
  1217. typedef BOOL   SOMLINK somTP_WPFolder_wpContainsFolders(WPFolder *somSelf, 
  1218.         BOOL* pfSubFolders);
  1219. #pragma linkage(somTP_WPFolder_wpContainsFolders, system)
  1220. typedef somTP_WPFolder_wpContainsFolders *somTD_WPFolder_wpContainsFolders;
  1221. #define somMD_WPFolder_wpContainsFolders "::WPFolder::wpContainsFolders"
  1222. #define WPFolder_wpContainsFolders(somSelf,pfSubFolders) \
  1223.     (SOM_Resolve(somSelf, WPFolder, wpContainsFolders) \
  1224.     (somSelf,pfSubFolders))
  1225. #ifndef SOMGD_wpContainsFolders
  1226.     #if (defined(_wpContainsFolders) || defined(__wpContainsFolders))
  1227.         #undef _wpContainsFolders
  1228.         #undef __wpContainsFolders
  1229.         #define SOMGD_wpContainsFolders 1
  1230.     #else
  1231.         #define _wpContainsFolders WPFolder_wpContainsFolders
  1232.     #endif /* _wpContainsFolders */
  1233. #endif /* SOMGD_wpContainsFolders */
  1234.  
  1235. /*
  1236.  * New Method: wpQueryOpenFolders
  1237.  */
  1238. typedef WPObject*   SOMLINK somTP_WPFolder_wpQueryOpenFolders(WPFolder *somSelf, 
  1239.         ULONG ulOption);
  1240. #pragma linkage(somTP_WPFolder_wpQueryOpenFolders, system)
  1241. typedef somTP_WPFolder_wpQueryOpenFolders *somTD_WPFolder_wpQueryOpenFolders;
  1242. #define somMD_WPFolder_wpQueryOpenFolders "::WPFolder::wpQueryOpenFolders"
  1243. #define WPFolder_wpQueryOpenFolders(somSelf,ulOption) \
  1244.     (SOM_Resolve(somSelf, WPFolder, wpQueryOpenFolders) \
  1245.     (somSelf,ulOption))
  1246. #ifndef SOMGD_wpQueryOpenFolders
  1247.     #if (defined(_wpQueryOpenFolders) || defined(__wpQueryOpenFolders))
  1248.         #undef _wpQueryOpenFolders
  1249.         #undef __wpQueryOpenFolders
  1250.         #define SOMGD_wpQueryOpenFolders 1
  1251.     #else
  1252.         #define _wpQueryOpenFolders WPFolder_wpQueryOpenFolders
  1253.     #endif /* _wpQueryOpenFolders */
  1254. #endif /* SOMGD_wpQueryOpenFolders */
  1255.  
  1256. /*
  1257.  * New Method: wpModifyFldrFlags
  1258.  */
  1259. typedef BOOL   SOMLINK somTP_WPFolder_wpModifyFldrFlags(WPFolder *somSelf, 
  1260.         ULONG ulFlags, 
  1261.         ULONG ulFlagMask);
  1262. #pragma linkage(somTP_WPFolder_wpModifyFldrFlags, system)
  1263. typedef somTP_WPFolder_wpModifyFldrFlags *somTD_WPFolder_wpModifyFldrFlags;
  1264. #define somMD_WPFolder_wpModifyFldrFlags "::WPFolder::wpModifyFldrFlags"
  1265. #define WPFolder_wpModifyFldrFlags(somSelf,ulFlags,ulFlagMask) \
  1266.     (SOM_Resolve(somSelf, WPFolder, wpModifyFldrFlags) \
  1267.     (somSelf,ulFlags,ulFlagMask))
  1268. #ifndef SOMGD_wpModifyFldrFlags
  1269.     #if (defined(_wpModifyFldrFlags) || defined(__wpModifyFldrFlags))
  1270.         #undef _wpModifyFldrFlags
  1271.         #undef __wpModifyFldrFlags
  1272.         #define SOMGD_wpModifyFldrFlags 1
  1273.     #else
  1274.         #define _wpModifyFldrFlags WPFolder_wpModifyFldrFlags
  1275.     #endif /* _wpModifyFldrFlags */
  1276. #endif /* SOMGD_wpModifyFldrFlags */
  1277.  
  1278. /*
  1279.  * New Method: wpAddToContent
  1280.  */
  1281. typedef BOOL   SOMLINK somTP_WPFolder_wpAddToContent(WPFolder *somSelf, 
  1282.         WPObject* Object);
  1283. #pragma linkage(somTP_WPFolder_wpAddToContent, system)
  1284. typedef somTP_WPFolder_wpAddToContent *somTD_WPFolder_wpAddToContent;
  1285. #define somMD_WPFolder_wpAddToContent "::WPFolder::wpAddToContent"
  1286. #define WPFolder_wpAddToContent(somSelf,Object) \
  1287.     (SOM_Resolve(somSelf, WPFolder, wpAddToContent) \
  1288.     (somSelf,Object))
  1289. #ifndef SOMGD_wpAddToContent
  1290.     #if (defined(_wpAddToContent) || defined(__wpAddToContent))
  1291.         #undef _wpAddToContent
  1292.         #undef __wpAddToContent
  1293.         #define SOMGD_wpAddToContent 1
  1294.     #else
  1295.         #define _wpAddToContent WPFolder_wpAddToContent
  1296.     #endif /* _wpAddToContent */
  1297. #endif /* SOMGD_wpAddToContent */
  1298.  
  1299. /*
  1300.  * New Method: wpDeleteFromContent
  1301.  */
  1302. typedef BOOL   SOMLINK somTP_WPFolder_wpDeleteFromContent(WPFolder *somSelf, 
  1303.         WPObject* Object);
  1304. #pragma linkage(somTP_WPFolder_wpDeleteFromContent, system)
  1305. typedef somTP_WPFolder_wpDeleteFromContent *somTD_WPFolder_wpDeleteFromContent;
  1306. #define somMD_WPFolder_wpDeleteFromContent "::WPFolder::wpDeleteFromContent"
  1307. #define WPFolder_wpDeleteFromContent(somSelf,Object) \
  1308.     (SOM_Resolve(somSelf, WPFolder, wpDeleteFromContent) \
  1309.     (somSelf,Object))
  1310. #ifndef SOMGD_wpDeleteFromContent
  1311.     #if (defined(_wpDeleteFromContent) || defined(__wpDeleteFromContent))
  1312.         #undef _wpDeleteFromContent
  1313.         #undef __wpDeleteFromContent
  1314.         #define SOMGD_wpDeleteFromContent 1
  1315.     #else
  1316.         #define _wpDeleteFromContent WPFolder_wpDeleteFromContent
  1317.     #endif /* _wpDeleteFromContent */
  1318. #endif /* SOMGD_wpDeleteFromContent */
  1319.  
  1320. /*
  1321.  * New Method: wpSetDetailsColumnVisibility
  1322.  */
  1323. typedef BOOL   SOMLINK somTP_WPFolder_wpSetDetailsColumnVisibility(WPFolder *somSelf, 
  1324.         ULONG index, 
  1325.         BOOL Visible);
  1326. #pragma linkage(somTP_WPFolder_wpSetDetailsColumnVisibility, system)
  1327. typedef somTP_WPFolder_wpSetDetailsColumnVisibility *somTD_WPFolder_wpSetDetailsColumnVisibility;
  1328. #define somMD_WPFolder_wpSetDetailsColumnVisibility "::WPFolder::wpSetDetailsColumnVisibility"
  1329. #define WPFolder_wpSetDetailsColumnVisibility(somSelf,index,Visible) \
  1330.     (SOM_Resolve(somSelf, WPFolder, wpSetDetailsColumnVisibility) \
  1331.     (somSelf,index,Visible))
  1332. #ifndef SOMGD_wpSetDetailsColumnVisibility
  1333.     #if (defined(_wpSetDetailsColumnVisibility) || defined(__wpSetDetailsColumnVisibility))
  1334.         #undef _wpSetDetailsColumnVisibility
  1335.         #undef __wpSetDetailsColumnVisibility
  1336.         #define SOMGD_wpSetDetailsColumnVisibility 1
  1337.     #else
  1338.         #define _wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
  1339.     #endif /* _wpSetDetailsColumnVisibility */
  1340. #endif /* SOMGD_wpSetDetailsColumnVisibility */
  1341.  
  1342. /*
  1343.  * New Method: wpIsDetailsColumnVisible
  1344.  */
  1345. typedef BOOL   SOMLINK somTP_WPFolder_wpIsDetailsColumnVisible(WPFolder *somSelf, 
  1346.         ULONG index);
  1347. #pragma linkage(somTP_WPFolder_wpIsDetailsColumnVisible, system)
  1348. typedef somTP_WPFolder_wpIsDetailsColumnVisible *somTD_WPFolder_wpIsDetailsColumnVisible;
  1349. #define somMD_WPFolder_wpIsDetailsColumnVisible "::WPFolder::wpIsDetailsColumnVisible"
  1350. #define WPFolder_wpIsDetailsColumnVisible(somSelf,index) \
  1351.     (SOM_Resolve(somSelf, WPFolder, wpIsDetailsColumnVisible) \
  1352.     (somSelf,index))
  1353. #ifndef SOMGD_wpIsDetailsColumnVisible
  1354.     #if (defined(_wpIsDetailsColumnVisible) || defined(__wpIsDetailsColumnVisible))
  1355.         #undef _wpIsDetailsColumnVisible
  1356.         #undef __wpIsDetailsColumnVisible
  1357.         #define SOMGD_wpIsDetailsColumnVisible 1
  1358.     #else
  1359.         #define _wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
  1360.     #endif /* _wpIsDetailsColumnVisible */
  1361. #endif /* SOMGD_wpIsDetailsColumnVisible */
  1362.  
  1363. /*
  1364.  * New Method: wpSetFldrSortClass
  1365.  */
  1366. typedef BOOL   SOMLINK somTP_WPFolder_wpSetFldrSortClass(WPFolder *somSelf, 
  1367.         M_WPObject* Class);
  1368. #pragma linkage(somTP_WPFolder_wpSetFldrSortClass, system)
  1369. typedef somTP_WPFolder_wpSetFldrSortClass *somTD_WPFolder_wpSetFldrSortClass;
  1370. #define somMD_WPFolder_wpSetFldrSortClass "::WPFolder::wpSetFldrSortClass"
  1371. #define WPFolder_wpSetFldrSortClass(somSelf,Class) \
  1372.     (SOM_Resolve(somSelf, WPFolder, wpSetFldrSortClass) \
  1373.     (somSelf,Class))
  1374. #ifndef SOMGD_wpSetFldrSortClass
  1375.     #if (defined(_wpSetFldrSortClass) || defined(__wpSetFldrSortClass))
  1376.         #undef _wpSetFldrSortClass
  1377.         #undef __wpSetFldrSortClass
  1378.         #define SOMGD_wpSetFldrSortClass 1
  1379.     #else
  1380.         #define _wpSetFldrSortClass WPFolder_wpSetFldrSortClass
  1381.     #endif /* _wpSetFldrSortClass */
  1382. #endif /* SOMGD_wpSetFldrSortClass */
  1383.  
  1384. /*
  1385.  * New Method: wpQueryFldrSortClass
  1386.  */
  1387. typedef M_WPObject*   SOMLINK somTP_WPFolder_wpQueryFldrSortClass(WPFolder *somSelf);
  1388. #pragma linkage(somTP_WPFolder_wpQueryFldrSortClass, system)
  1389. typedef somTP_WPFolder_wpQueryFldrSortClass *somTD_WPFolder_wpQueryFldrSortClass;
  1390. #define somMD_WPFolder_wpQueryFldrSortClass "::WPFolder::wpQueryFldrSortClass"
  1391. #define WPFolder_wpQueryFldrSortClass(somSelf) \
  1392.     (SOM_Resolve(somSelf, WPFolder, wpQueryFldrSortClass) \
  1393.     (somSelf))
  1394. #ifndef SOMGD_wpQueryFldrSortClass
  1395.     #if (defined(_wpQueryFldrSortClass) || defined(__wpQueryFldrSortClass))
  1396.         #undef _wpQueryFldrSortClass
  1397.         #undef __wpQueryFldrSortClass
  1398.         #define SOMGD_wpQueryFldrSortClass 1
  1399.     #else
  1400.         #define _wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
  1401.     #endif /* _wpQueryFldrSortClass */
  1402. #endif /* SOMGD_wpQueryFldrSortClass */
  1403.  
  1404. /*
  1405.  * New Method: wpSetSortAttribAvailable
  1406.  */
  1407. typedef BOOL   SOMLINK somTP_WPFolder_wpSetSortAttribAvailable(WPFolder *somSelf, 
  1408.         ULONG index, 
  1409.         BOOL Available);
  1410. #pragma linkage(somTP_WPFolder_wpSetSortAttribAvailable, system)
  1411. typedef somTP_WPFolder_wpSetSortAttribAvailable *somTD_WPFolder_wpSetSortAttribAvailable;
  1412. #define somMD_WPFolder_wpSetSortAttribAvailable "::WPFolder::wpSetSortAttribAvailable"
  1413. #define WPFolder_wpSetSortAttribAvailable(somSelf,index,Available) \
  1414.     (SOM_Resolve(somSelf, WPFolder, wpSetSortAttribAvailable) \
  1415.     (somSelf,index,Available))
  1416. #ifndef SOMGD_wpSetSortAttribAvailable
  1417.     #if (defined(_wpSetSortAttribAvailable) || defined(__wpSetSortAttribAvailable))
  1418.         #undef _wpSetSortAttribAvailable
  1419.         #undef __wpSetSortAttribAvailable
  1420.         #define SOMGD_wpSetSortAttribAvailable 1
  1421.     #else
  1422.         #define _wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
  1423.     #endif /* _wpSetSortAttribAvailable */
  1424. #endif /* SOMGD_wpSetSortAttribAvailable */
  1425.  
  1426. /*
  1427.  * New Method: wpIsSortAttribAvailable
  1428.  */
  1429. typedef BOOL   SOMLINK somTP_WPFolder_wpIsSortAttribAvailable(WPFolder *somSelf, 
  1430.         ULONG index);
  1431. #pragma linkage(somTP_WPFolder_wpIsSortAttribAvailable, system)
  1432. typedef somTP_WPFolder_wpIsSortAttribAvailable *somTD_WPFolder_wpIsSortAttribAvailable;
  1433. #define somMD_WPFolder_wpIsSortAttribAvailable "::WPFolder::wpIsSortAttribAvailable"
  1434. #define WPFolder_wpIsSortAttribAvailable(somSelf,index) \
  1435.     (SOM_Resolve(somSelf, WPFolder, wpIsSortAttribAvailable) \
  1436.     (somSelf,index))
  1437. #ifndef SOMGD_wpIsSortAttribAvailable
  1438.     #if (defined(_wpIsSortAttribAvailable) || defined(__wpIsSortAttribAvailable))
  1439.         #undef _wpIsSortAttribAvailable
  1440.         #undef __wpIsSortAttribAvailable
  1441.         #define SOMGD_wpIsSortAttribAvailable 1
  1442.     #else
  1443.         #define _wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
  1444.     #endif /* _wpIsSortAttribAvailable */
  1445. #endif /* SOMGD_wpIsSortAttribAvailable */
  1446.  
  1447. /*
  1448.  * New Method: wpQueryIconViewPos
  1449.  */
  1450. typedef char*   SOMLINK somTP_WPFolder_wpQueryIconViewPos(WPFolder *somSelf);
  1451. #pragma linkage(somTP_WPFolder_wpQueryIconViewPos, system)
  1452. typedef somTP_WPFolder_wpQueryIconViewPos *somTD_WPFolder_wpQueryIconViewPos;
  1453. #define somMD_WPFolder_wpQueryIconViewPos "::WPFolder::wpQueryIconViewPos"
  1454. #define WPFolder_wpQueryIconViewPos(somSelf) \
  1455.     (SOM_Resolve(somSelf, WPFolder, wpQueryIconViewPos) \
  1456.     (somSelf))
  1457. #ifndef SOMGD_wpQueryIconViewPos
  1458.     #if (defined(_wpQueryIconViewPos) || defined(__wpQueryIconViewPos))
  1459.         #undef _wpQueryIconViewPos
  1460.         #undef __wpQueryIconViewPos
  1461.         #define SOMGD_wpQueryIconViewPos 1
  1462.     #else
  1463.         #define _wpQueryIconViewPos WPFolder_wpQueryIconViewPos
  1464.     #endif /* _wpQueryIconViewPos */
  1465. #endif /* SOMGD_wpQueryIconViewPos */
  1466.  
  1467. /*
  1468.  * New Method: wpAddFirstChild
  1469.  */
  1470. typedef WPObject*   SOMLINK somTP_WPFolder_wpAddFirstChild(WPFolder *somSelf);
  1471. #pragma linkage(somTP_WPFolder_wpAddFirstChild, system)
  1472. typedef somTP_WPFolder_wpAddFirstChild *somTD_WPFolder_wpAddFirstChild;
  1473. #define somMD_WPFolder_wpAddFirstChild "::WPFolder::wpAddFirstChild"
  1474. #define WPFolder_wpAddFirstChild(somSelf) \
  1475.     (SOM_Resolve(somSelf, WPFolder, wpAddFirstChild) \
  1476.     (somSelf))
  1477. #ifndef SOMGD_wpAddFirstChild
  1478.     #if (defined(_wpAddFirstChild) || defined(__wpAddFirstChild))
  1479.         #undef _wpAddFirstChild
  1480.         #undef __wpAddFirstChild
  1481.         #define SOMGD_wpAddFirstChild 1
  1482.     #else
  1483.         #define _wpAddFirstChild WPFolder_wpAddFirstChild
  1484.     #endif /* _wpAddFirstChild */
  1485. #endif /* SOMGD_wpAddFirstChild */
  1486.  
  1487. /*
  1488.  * New Method: wpFlushNotifications
  1489.  */
  1490. typedef BOOL   SOMLINK somTP_WPFolder_wpFlushNotifications(WPFolder *somSelf);
  1491. #pragma linkage(somTP_WPFolder_wpFlushNotifications, system)
  1492. typedef somTP_WPFolder_wpFlushNotifications *somTD_WPFolder_wpFlushNotifications;
  1493. #define somMD_WPFolder_wpFlushNotifications "::WPFolder::wpFlushNotifications"
  1494. #define WPFolder_wpFlushNotifications(somSelf) \
  1495.     (SOM_Resolve(somSelf, WPFolder, wpFlushNotifications) \
  1496.     (somSelf))
  1497. #ifndef SOMGD_wpFlushNotifications
  1498.     #if (defined(_wpFlushNotifications) || defined(__wpFlushNotifications))
  1499.         #undef _wpFlushNotifications
  1500.         #undef __wpFlushNotifications
  1501.         #define SOMGD_wpFlushNotifications 1
  1502.     #else
  1503.         #define _wpFlushNotifications WPFolder_wpFlushNotifications
  1504.     #endif /* _wpFlushNotifications */
  1505. #endif /* SOMGD_wpFlushNotifications */
  1506.  
  1507. /*
  1508.  * New Method: wpSetMenuBarVisibility
  1509.  */
  1510. typedef BOOL   SOMLINK somTP_WPFolder_wpSetMenuBarVisibility(WPFolder *somSelf, 
  1511.         ULONG ulVisibility);
  1512. #pragma linkage(somTP_WPFolder_wpSetMenuBarVisibility, system)
  1513. typedef somTP_WPFolder_wpSetMenuBarVisibility *somTD_WPFolder_wpSetMenuBarVisibility;
  1514. #define somMD_WPFolder_wpSetMenuBarVisibility "::WPFolder::wpSetMenuBarVisibility"
  1515. #define WPFolder_wpSetMenuBarVisibility(somSelf,ulVisibility) \
  1516.     (SOM_Resolve(somSelf, WPFolder, wpSetMenuBarVisibility) \
  1517.     (somSelf,ulVisibility))
  1518. #ifndef SOMGD_wpSetMenuBarVisibility
  1519.     #if (defined(_wpSetMenuBarVisibility) || defined(__wpSetMenuBarVisibility))
  1520.         #undef _wpSetMenuBarVisibility
  1521.         #undef __wpSetMenuBarVisibility
  1522.         #define SOMGD_wpSetMenuBarVisibility 1
  1523.     #else
  1524.         #define _wpSetMenuBarVisibility WPFolder_wpSetMenuBarVisibility
  1525.     #endif /* _wpSetMenuBarVisibility */
  1526. #endif /* SOMGD_wpSetMenuBarVisibility */
  1527.  
  1528. /*
  1529.  * New Method: wpQueryMenuBarVisibility
  1530.  */
  1531. typedef ULONG   SOMLINK somTP_WPFolder_wpQueryMenuBarVisibility(WPFolder *somSelf);
  1532. #pragma linkage(somTP_WPFolder_wpQueryMenuBarVisibility, system)
  1533. typedef somTP_WPFolder_wpQueryMenuBarVisibility *somTD_WPFolder_wpQueryMenuBarVisibility;
  1534. #define somMD_WPFolder_wpQueryMenuBarVisibility "::WPFolder::wpQueryMenuBarVisibility"
  1535. #define WPFolder_wpQueryMenuBarVisibility(somSelf) \
  1536.     (SOM_Resolve(somSelf, WPFolder, wpQueryMenuBarVisibility) \
  1537.     (somSelf))
  1538. #ifndef SOMGD_wpQueryMenuBarVisibility
  1539.     #if (defined(_wpQueryMenuBarVisibility) || defined(__wpQueryMenuBarVisibility))
  1540.         #undef _wpQueryMenuBarVisibility
  1541.         #undef __wpQueryMenuBarVisibility
  1542.         #define SOMGD_wpQueryMenuBarVisibility 1
  1543.     #else
  1544.         #define _wpQueryMenuBarVisibility WPFolder_wpQueryMenuBarVisibility
  1545.     #endif /* _wpQueryMenuBarVisibility */
  1546. #endif /* SOMGD_wpQueryMenuBarVisibility */
  1547.  
  1548. /*
  1549.  * New Method: wpQueryIconTextBackgroundColor
  1550.  */
  1551. typedef ULONG   SOMLINK somTP_WPFolder_wpQueryIconTextBackgroundColor(WPFolder *somSelf);
  1552. #pragma linkage(somTP_WPFolder_wpQueryIconTextBackgroundColor, system)
  1553. typedef somTP_WPFolder_wpQueryIconTextBackgroundColor *somTD_WPFolder_wpQueryIconTextBackgroundColor;
  1554. #define somMD_WPFolder_wpQueryIconTextBackgroundColor "::WPFolder::wpQueryIconTextBackgroundColor"
  1555. #define WPFolder_wpQueryIconTextBackgroundColor(somSelf) \
  1556.     (SOM_Resolve(somSelf, WPFolder, wpQueryIconTextBackgroundColor) \
  1557.     (somSelf))
  1558. #ifndef SOMGD_wpQueryIconTextBackgroundColor
  1559.     #if (defined(_wpQueryIconTextBackgroundColor) || defined(__wpQueryIconTextBackgroundColor))
  1560.         #undef _wpQueryIconTextBackgroundColor
  1561.         #undef __wpQueryIconTextBackgroundColor
  1562.         #define SOMGD_wpQueryIconTextBackgroundColor 1
  1563.     #else
  1564.         #define _wpQueryIconTextBackgroundColor WPFolder_wpQueryIconTextBackgroundColor
  1565.     #endif /* _wpQueryIconTextBackgroundColor */
  1566. #endif /* SOMGD_wpQueryIconTextBackgroundColor */
  1567.  
  1568. /*
  1569.  * New Method: wpSetIconTextBackgroundColor
  1570.  */
  1571. typedef void   SOMLINK somTP_WPFolder_wpSetIconTextBackgroundColor(WPFolder *somSelf, 
  1572.         ULONG ulColor, 
  1573.         BOOL fRefreshViews);
  1574. #pragma linkage(somTP_WPFolder_wpSetIconTextBackgroundColor, system)
  1575. typedef somTP_WPFolder_wpSetIconTextBackgroundColor *somTD_WPFolder_wpSetIconTextBackgroundColor;
  1576. #define somMD_WPFolder_wpSetIconTextBackgroundColor "::WPFolder::wpSetIconTextBackgroundColor"
  1577. #define WPFolder_wpSetIconTextBackgroundColor(somSelf,ulColor,fRefreshViews) \
  1578.     (SOM_Resolve(somSelf, WPFolder, wpSetIconTextBackgroundColor) \
  1579.     (somSelf,ulColor,fRefreshViews))
  1580. #ifndef SOMGD_wpSetIconTextBackgroundColor
  1581.     #if (defined(_wpSetIconTextBackgroundColor) || defined(__wpSetIconTextBackgroundColor))
  1582.         #undef _wpSetIconTextBackgroundColor
  1583.         #undef __wpSetIconTextBackgroundColor
  1584.         #define SOMGD_wpSetIconTextBackgroundColor 1
  1585.     #else
  1586.         #define _wpSetIconTextBackgroundColor WPFolder_wpSetIconTextBackgroundColor
  1587.     #endif /* _wpSetIconTextBackgroundColor */
  1588. #endif /* SOMGD_wpSetIconTextBackgroundColor */
  1589.  
  1590. /*
  1591.  * New Method: wpQueryIconTextColor
  1592.  */
  1593. typedef ULONG   SOMLINK somTP_WPFolder_wpQueryIconTextColor(WPFolder *somSelf, 
  1594.         ULONG ulView);
  1595. #pragma linkage(somTP_WPFolder_wpQueryIconTextColor, system)
  1596. typedef somTP_WPFolder_wpQueryIconTextColor *somTD_WPFolder_wpQueryIconTextColor;
  1597. #define somMD_WPFolder_wpQueryIconTextColor "::WPFolder::wpQueryIconTextColor"
  1598. #define WPFolder_wpQueryIconTextColor(somSelf,ulView) \
  1599.     (SOM_Resolve(somSelf, WPFolder, wpQueryIconTextColor) \
  1600.     (somSelf,ulView))
  1601. #ifndef SOMGD_wpQueryIconTextColor
  1602.     #if (defined(_wpQueryIconTextColor) || defined(__wpQueryIconTextColor))
  1603.         #undef _wpQueryIconTextColor
  1604.         #undef __wpQueryIconTextColor
  1605.         #define SOMGD_wpQueryIconTextColor 1
  1606.     #else
  1607.         #define _wpQueryIconTextColor WPFolder_wpQueryIconTextColor
  1608.     #endif /* _wpQueryIconTextColor */
  1609. #endif /* SOMGD_wpQueryIconTextColor */
  1610.  
  1611. /*
  1612.  * New Method: wpSetIconTextColor
  1613.  */
  1614. typedef void   SOMLINK somTP_WPFolder_wpSetIconTextColor(WPFolder *somSelf, 
  1615.         ULONG ulColor, 
  1616.         ULONG ulView, 
  1617.         BOOL fRefreshViews);
  1618. #pragma linkage(somTP_WPFolder_wpSetIconTextColor, system)
  1619. typedef somTP_WPFolder_wpSetIconTextColor *somTD_WPFolder_wpSetIconTextColor;
  1620. #define somMD_WPFolder_wpSetIconTextColor "::WPFolder::wpSetIconTextColor"
  1621. #define WPFolder_wpSetIconTextColor(somSelf,ulColor,ulView,fRefreshViews) \
  1622.     (SOM_Resolve(somSelf, WPFolder, wpSetIconTextColor) \
  1623.     (somSelf,ulColor,ulView,fRefreshViews))
  1624. #ifndef SOMGD_wpSetIconTextColor
  1625.     #if (defined(_wpSetIconTextColor) || defined(__wpSetIconTextColor))
  1626.         #undef _wpSetIconTextColor
  1627.         #undef __wpSetIconTextColor
  1628.         #define SOMGD_wpSetIconTextColor 1
  1629.     #else
  1630.         #define _wpSetIconTextColor WPFolder_wpSetIconTextColor
  1631.     #endif /* _wpSetIconTextColor */
  1632. #endif /* SOMGD_wpSetIconTextColor */
  1633.  
  1634. /*
  1635.  * New Method: wpQueryShadowTextColor
  1636.  */
  1637. typedef ULONG   SOMLINK somTP_WPFolder_wpQueryShadowTextColor(WPFolder *somSelf, 
  1638.         ULONG ulView);
  1639. #pragma linkage(somTP_WPFolder_wpQueryShadowTextColor, system)
  1640. typedef somTP_WPFolder_wpQueryShadowTextColor *somTD_WPFolder_wpQueryShadowTextColor;
  1641. #define somMD_WPFolder_wpQueryShadowTextColor "::WPFolder::wpQueryShadowTextColor"
  1642. #define WPFolder_wpQueryShadowTextColor(somSelf,ulView) \
  1643.     (SOM_Resolve(somSelf, WPFolder, wpQueryShadowTextColor) \
  1644.     (somSelf,ulView))
  1645. #ifndef SOMGD_wpQueryShadowTextColor
  1646.     #if (defined(_wpQueryShadowTextColor) || defined(__wpQueryShadowTextColor))
  1647.         #undef _wpQueryShadowTextColor
  1648.         #undef __wpQueryShadowTextColor
  1649.         #define SOMGD_wpQueryShadowTextColor 1
  1650.     #else
  1651.         #define _wpQueryShadowTextColor WPFolder_wpQueryShadowTextColor
  1652.     #endif /* _wpQueryShadowTextColor */
  1653. #endif /* SOMGD_wpQueryShadowTextColor */
  1654.  
  1655. /*
  1656.  * New Method: wpSetShadowTextColor
  1657.  */
  1658. typedef void   SOMLINK somTP_WPFolder_wpSetShadowTextColor(WPFolder *somSelf, 
  1659.         ULONG ulColor, 
  1660.         ULONG ulView, 
  1661.         BOOL fRefreshViews);
  1662. #pragma linkage(somTP_WPFolder_wpSetShadowTextColor, system)
  1663. typedef somTP_WPFolder_wpSetShadowTextColor *somTD_WPFolder_wpSetShadowTextColor;
  1664. #define somMD_WPFolder_wpSetShadowTextColor "::WPFolder::wpSetShadowTextColor"
  1665. #define WPFolder_wpSetShadowTextColor(somSelf,ulColor,ulView,fRefreshViews) \
  1666.     (SOM_Resolve(somSelf, WPFolder, wpSetShadowTextColor) \
  1667.     (somSelf,ulColor,ulView,fRefreshViews))
  1668. #ifndef SOMGD_wpSetShadowTextColor
  1669.     #if (defined(_wpSetShadowTextColor) || defined(__wpSetShadowTextColor))
  1670.         #undef _wpSetShadowTextColor
  1671.         #undef __wpSetShadowTextColor
  1672.         #define SOMGD_wpSetShadowTextColor 1
  1673.     #else
  1674.         #define _wpSetShadowTextColor WPFolder_wpSetShadowTextColor
  1675.     #endif /* _wpSetShadowTextColor */
  1676. #endif /* SOMGD_wpSetShadowTextColor */
  1677.  
  1678. /*
  1679.  * New Method: wpQueryIconTextVisibility
  1680.  */
  1681. typedef ULONG   SOMLINK somTP_WPFolder_wpQueryIconTextVisibility(WPFolder *somSelf, 
  1682.         ULONG ulView);
  1683. #pragma linkage(somTP_WPFolder_wpQueryIconTextVisibility, system)
  1684. typedef somTP_WPFolder_wpQueryIconTextVisibility *somTD_WPFolder_wpQueryIconTextVisibility;
  1685. #define somMD_WPFolder_wpQueryIconTextVisibility "::WPFolder::wpQueryIconTextVisibility"
  1686. #define WPFolder_wpQueryIconTextVisibility(somSelf,ulView) \
  1687.     (SOM_Resolve(somSelf, WPFolder, wpQueryIconTextVisibility) \
  1688.     (somSelf,ulView))
  1689. #ifndef SOMGD_wpQueryIconTextVisibility
  1690.     #if (defined(_wpQueryIconTextVisibility) || defined(__wpQueryIconTextVisibility))
  1691.         #undef _wpQueryIconTextVisibility
  1692.         #undef __wpQueryIconTextVisibility
  1693.         #define SOMGD_wpQueryIconTextVisibility 1
  1694.     #else
  1695.         #define _wpQueryIconTextVisibility WPFolder_wpQueryIconTextVisibility
  1696.     #endif /* _wpQueryIconTextVisibility */
  1697. #endif /* SOMGD_wpQueryIconTextVisibility */
  1698.  
  1699. /*
  1700.  * New Method: wpSetIconTextVisibility
  1701.  */
  1702. typedef void   SOMLINK somTP_WPFolder_wpSetIconTextVisibility(WPFolder *somSelf, 
  1703.         ULONG ulOption, 
  1704.         ULONG ulView, 
  1705.         BOOL fRefreshViews);
  1706. #pragma linkage(somTP_WPFolder_wpSetIconTextVisibility, system)
  1707. typedef somTP_WPFolder_wpSetIconTextVisibility *somTD_WPFolder_wpSetIconTextVisibility;
  1708. #define somMD_WPFolder_wpSetIconTextVisibility "::WPFolder::wpSetIconTextVisibility"
  1709. #define WPFolder_wpSetIconTextVisibility(somSelf,ulOption,ulView,fRefreshViews) \
  1710.     (SOM_Resolve(somSelf, WPFolder, wpSetIconTextVisibility) \
  1711.     (somSelf,ulOption,ulView,fRefreshViews))
  1712. #ifndef SOMGD_wpSetIconTextVisibility
  1713.     #if (defined(_wpSetIconTextVisibility) || defined(__wpSetIconTextVisibility))
  1714.         #undef _wpSetIconTextVisibility
  1715.         #undef __wpSetIconTextVisibility
  1716.         #define SOMGD_wpSetIconTextVisibility 1
  1717.     #else
  1718.         #define _wpSetIconTextVisibility WPFolder_wpSetIconTextVisibility
  1719.     #endif /* _wpSetIconTextVisibility */
  1720. #endif /* SOMGD_wpSetIconTextVisibility */
  1721.  
  1722. /*
  1723.  * New Method: wpQueryFldrBackground
  1724.  */
  1725. typedef void   SOMLINK somTP_WPFolder_wpQueryFldrBackground(WPFolder *somSelf, 
  1726.         PSZ* ppszImageFileName, 
  1727.         ULONG* pulImageMode, 
  1728.         ULONG* pulScaleFactor, 
  1729.         ULONG* pulBackgroundType, 
  1730.         long* plBackgroundColor);
  1731. #pragma linkage(somTP_WPFolder_wpQueryFldrBackground, system)
  1732. typedef somTP_WPFolder_wpQueryFldrBackground *somTD_WPFolder_wpQueryFldrBackground;
  1733. #define somMD_WPFolder_wpQueryFldrBackground "::WPFolder::wpQueryFldrBackground"
  1734. #define WPFolder_wpQueryFldrBackground(somSelf,ppszImageFileName,pulImageMode,pulScaleFactor,pulBackgroundType,plBackgroundColor) \
  1735.     (SOM_Resolve(somSelf, WPFolder, wpQueryFldrBackground) \
  1736.     (somSelf,ppszImageFileName,pulImageMode,pulScaleFactor,pulBackgroundType,plBackgroundColor))
  1737. #ifndef SOMGD_wpQueryFldrBackground
  1738.     #if (defined(_wpQueryFldrBackground) || defined(__wpQueryFldrBackground))
  1739.         #undef _wpQueryFldrBackground
  1740.         #undef __wpQueryFldrBackground
  1741.         #define SOMGD_wpQueryFldrBackground 1
  1742.     #else
  1743.         #define _wpQueryFldrBackground WPFolder_wpQueryFldrBackground
  1744.     #endif /* _wpQueryFldrBackground */
  1745. #endif /* SOMGD_wpQueryFldrBackground */
  1746.  
  1747. /*
  1748.  * New Method: wpSetFldrBackground
  1749.  */
  1750. typedef void   SOMLINK somTP_WPFolder_wpSetFldrBackground(WPFolder *somSelf, 
  1751.         PSZ pszImageFileName, 
  1752.         ULONG ulImageMode, 
  1753.         ULONG ulScaleFactor, 
  1754.         ULONG ulBackgroundType, 
  1755.         long lBackgroundColor);
  1756. #pragma linkage(somTP_WPFolder_wpSetFldrBackground, system)
  1757. typedef somTP_WPFolder_wpSetFldrBackground *somTD_WPFolder_wpSetFldrBackground;
  1758. #define somMD_WPFolder_wpSetFldrBackground "::WPFolder::wpSetFldrBackground"
  1759. #define WPFolder_wpSetFldrBackground(somSelf,pszImageFileName,ulImageMode,ulScaleFactor,ulBackgroundType,lBackgroundColor) \
  1760.     (SOM_Resolve(somSelf, WPFolder, wpSetFldrBackground) \
  1761.     (somSelf,pszImageFileName,ulImageMode,ulScaleFactor,ulBackgroundType,lBackgroundColor))
  1762. #ifndef SOMGD_wpSetFldrBackground
  1763.     #if (defined(_wpSetFldrBackground) || defined(__wpSetFldrBackground))
  1764.         #undef _wpSetFldrBackground
  1765.         #undef __wpSetFldrBackground
  1766.         #define SOMGD_wpSetFldrBackground 1
  1767.     #else
  1768.         #define _wpSetFldrBackground WPFolder_wpSetFldrBackground
  1769.     #endif /* _wpSetFldrBackground */
  1770. #endif /* SOMGD_wpSetFldrBackground */
  1771. #ifndef SOM_DONT_USE_INHERITED_MACROS
  1772. #define WPFolder_wpSetRealName WPFileSystem_wpSetRealName
  1773. #define WPFolder_wpSetType WPFileSystem_wpSetType
  1774. #define WPFolder_wpQueryType WPFileSystem_wpQueryType
  1775. #define WPFolder_wpSetAttr WPFileSystem_wpSetAttr
  1776. #define WPFolder_wpQueryAttr WPFileSystem_wpQueryAttr
  1777. #define WPFolder_wpAddFile1Page WPFileSystem_wpAddFile1Page
  1778. #define WPFolder_wpQueryCreation WPFileSystem_wpQueryCreation
  1779. #define WPFolder_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
  1780. #define WPFolder_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
  1781. #define WPFolder_wpQueryFileSize WPFileSystem_wpQueryFileSize
  1782. #define WPFolder_wpQueryEASize WPFileSystem_wpQueryEASize
  1783. #define WPFolder_wpSetDateInfo WPFileSystem_wpSetDateInfo
  1784. #define WPFolder_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
  1785. #define WPFolder_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
  1786. #define WPFolder_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
  1787. #define WPFolder_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
  1788. #define WPFolder_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
  1789. #define WPFolder_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
  1790. #define WPFolder_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
  1791. #define WPFolder_wpQueryEASupport WPFileSystem_wpQueryEASupport
  1792. #define WPFolder_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
  1793. #define WPFolder_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
  1794. #define WPFolder_wpQueryRealName WPFileSystem_wpQueryRealName
  1795. #define WPFolder_wpQueryFilename WPFileSystem_wpQueryFilename
  1796. #define WPFolder_wpQueryDisk WPFileSystem_wpQueryDisk
  1797. #define WPFolder_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
  1798. #define WPFolder_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
  1799. #define WPFolder_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
  1800. #define WPFolder_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
  1801. #define WPFolder_wpQueryHandle WPObject_wpQueryHandle
  1802. #define WPFolder_wpSaveImmediate WPObject_wpSaveImmediate
  1803. #define WPFolder_wpSetTitle WPObject_wpSetTitle
  1804. #define WPFolder_wpViewObject WPObject_wpViewObject
  1805. #define WPFolder_wpSwitchTo WPObject_wpSwitchTo
  1806. #define WPFolder_wpCopyObject WPObject_wpCopyObject
  1807. #define WPFolder_wpCreateFromTemplate WPObject_wpCreateFromTemplate
  1808. #define WPFolder_wpQueryIcon WPObject_wpQueryIcon
  1809. #define WPFolder_wpQueryIconData WPObject_wpQueryIconData
  1810. #define WPFolder_wpQueryDetailsData WPObject_wpQueryDetailsData
  1811. #define WPFolder_wpDraggedOverObject WPObject_wpDraggedOverObject
  1812. #define WPFolder_wpDroppedOnObject WPObject_wpDroppedOnObject
  1813. #define WPFolder_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
  1814. #define WPFolder_wpAppendObject WPObject_wpAppendObject
  1815. #define WPFolder_wpReplaceObject WPObject_wpReplaceObject
  1816. #define WPFolder_wpQueryStyle WPObject_wpQueryStyle
  1817. #define WPFolder_wpDoesObjectMatch WPObject_wpDoesObjectMatch
  1818. #define WPFolder_wpIdentify WPObject_wpIdentify
  1819. #define WPFolder_wpIsDeleteable WPObject_wpIsDeleteable
  1820. #define WPFolder_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
  1821. #define WPFolder_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
  1822. #define WPFolder_wpAddToObjUseList WPObject_wpAddToObjUseList
  1823. #define WPFolder_wpAllocMem WPObject_wpAllocMem
  1824. #define WPFolder_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
  1825. #define WPFolder_wpClose WPObject_wpClose
  1826. #define WPFolder_wpCnrInsertObject WPObject_wpCnrInsertObject
  1827. #define WPFolder_wpCnrRemoveObject WPObject_wpCnrRemoveObject
  1828. #define WPFolder_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
  1829. #define WPFolder_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
  1830. #define WPFolder_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
  1831. #define WPFolder_wpCreateAnother WPObject_wpCreateAnother
  1832. #define WPFolder_wpCreateShadowObject WPObject_wpCreateShadowObject
  1833. #define WPFolder_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
  1834. #define WPFolder_wpDisplayHelp WPObject_wpDisplayHelp
  1835. #define WPFolder_wpEndConversation WPObject_wpEndConversation
  1836. #define WPFolder_wpFilterPopupMenu WPObject_wpFilterPopupMenu
  1837. #define WPFolder_wpFindUseItem WPObject_wpFindUseItem
  1838. #define WPFolder_wpFreeMem WPObject_wpFreeMem
  1839. #define WPFolder_wpHide WPObject_wpHide
  1840. #define WPFolder_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
  1841. #define WPFolder_wpInsertMenuItems WPObject_wpInsertMenuItems
  1842. #define WPFolder_wpInsertSettingsPage WPObject_wpInsertSettingsPage
  1843. #define WPFolder_wpModifyPopupMenu WPObject_wpModifyPopupMenu
  1844. #define WPFolder_wpPrintObject WPObject_wpPrintObject
  1845. #define WPFolder_wpQueryConcurrentView WPObject_wpQueryConcurrentView
  1846. #define WPFolder_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
  1847. #define WPFolder_wpQueryConfirmations WPObject_wpQueryConfirmations
  1848. #define WPFolder_wpQueryError WPObject_wpQueryError
  1849. #define WPFolder_wpSetFolder WPObject_wpSetFolder
  1850. #define WPFolder_wpQueryFolder WPObject_wpQueryFolder
  1851. #define WPFolder_wpQueryMinWindow WPObject_wpQueryMinWindow
  1852. #define WPFolder_wpSetTaskRec WPObject_wpSetTaskRec
  1853. #define WPFolder_wpFindTaskRec WPObject_wpFindTaskRec
  1854. #define WPFolder_wpQueryTitle WPObject_wpQueryTitle
  1855. #define WPFolder_wpRegisterView WPObject_wpRegisterView
  1856. #define WPFolder_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
  1857. #define WPFolder_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
  1858. #define WPFolder_wpRestore WPObject_wpRestore
  1859. #define WPFolder_wpRestoreData WPObject_wpRestoreData
  1860. #define WPFolder_wpRestoreLong WPObject_wpRestoreLong
  1861. #define WPFolder_wpRestoreString WPObject_wpRestoreString
  1862. #define WPFolder_wpSaveData WPObject_wpSaveData
  1863. #define WPFolder_wpSaveDeferred WPObject_wpSaveDeferred
  1864. #define WPFolder_wpSaveLong WPObject_wpSaveLong
  1865. #define WPFolder_wpSaveString WPObject_wpSaveString
  1866. #define WPFolder_wpScanSetupString WPObject_wpScanSetupString
  1867. #define WPFolder_wpSetConcurrentView WPObject_wpSetConcurrentView
  1868. #define WPFolder_wpSetButtonAppearance WPObject_wpSetButtonAppearance
  1869. #define WPFolder_wpSetDefaultHelp WPObject_wpSetDefaultHelp
  1870. #define WPFolder_wpSetDefaultView WPObject_wpSetDefaultView
  1871. #define WPFolder_wpSetError WPObject_wpSetError
  1872. #define WPFolder_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
  1873. #define WPFolder_wpSetupOnce WPObject_wpSetupOnce
  1874. #define WPFolder_wpSetIcon WPObject_wpSetIcon
  1875. #define WPFolder_wpSetMinWindow WPObject_wpSetMinWindow
  1876. #define WPFolder_wpModifyStyle WPObject_wpModifyStyle
  1877. #define WPFolder_wpQueryTrueStyle WPObject_wpQueryTrueStyle
  1878. #define WPFolder_wpUnlockObject WPObject_wpUnlockObject
  1879. #define WPFolder_wpIsObjectInitialized WPObject_wpIsObjectInitialized
  1880. #define WPFolder_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
  1881. #define WPFolder_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
  1882. #define WPFolder_wpQueryCoreRecord WPObject_wpQueryCoreRecord
  1883. #define WPFolder_wpSetObjectID WPObject_wpSetObjectID
  1884. #define WPFolder_wpQueryObjectID WPObject_wpQueryObjectID
  1885. #define WPFolder_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
  1886. #define WPFolder_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
  1887. #define WPFolder_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
  1888. #define WPFolder_wpFindViewItem WPObject_wpFindViewItem
  1889. #define WPFolder_wpLockObject WPObject_wpLockObject
  1890. #define WPFolder_wpIsLocked WPObject_wpIsLocked
  1891. #define WPFolder_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
  1892. #define WPFolder_wpWaitForClose WPObject_wpWaitForClose
  1893. #define WPFolder_wpSetMenuStyle WPObject_wpSetMenuStyle
  1894. #define WPFolder_wpQueryMenuStyle WPObject_wpQueryMenuStyle
  1895. #define WPFolder_wpSetStyle WPObject_wpSetStyle
  1896. #define WPFolder_somInit SOMObject_somInit
  1897. #define WPFolder_somUninit SOMObject_somUninit
  1898. #define WPFolder_somDefaultCopyInit SOMObject_somDefaultCopyInit
  1899. #define WPFolder_somDefaultAssign SOMObject_somDefaultAssign
  1900. #define WPFolder_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  1901. #define WPFolder_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  1902. #define WPFolder_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  1903. #define WPFolder_somDefaultConstAssign SOMObject_somDefaultConstAssign
  1904. #define WPFolder_somDefaultVAssign SOMObject_somDefaultVAssign
  1905. #define WPFolder_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  1906. #define WPFolder_somFree SOMObject_somFree
  1907. #define WPFolder_somGetClass SOMObject_somGetClass
  1908. #define WPFolder_somGetClassName SOMObject_somGetClassName
  1909. #define WPFolder_somGetSize SOMObject_somGetSize
  1910. #define WPFolder_somIsA SOMObject_somIsA
  1911. #define WPFolder_somIsInstanceOf SOMObject_somIsInstanceOf
  1912. #define WPFolder_somRespondsTo SOMObject_somRespondsTo
  1913. #define WPFolder_somDispatch SOMObject_somDispatch
  1914. #define WPFolder_somClassDispatch SOMObject_somClassDispatch
  1915. #define WPFolder_somCastObj SOMObject_somCastObj
  1916. #define WPFolder_somResetObj SOMObject_somResetObj
  1917. #define WPFolder_somDispatchV SOMObject_somDispatchV
  1918. #define WPFolder_somDispatchL SOMObject_somDispatchL
  1919. #define WPFolder_somDispatchA SOMObject_somDispatchA
  1920. #define WPFolder_somDispatchD SOMObject_somDispatchD
  1921. #define WPFolder_somPrintSelf SOMObject_somPrintSelf
  1922. #define WPFolder_somDumpSelf SOMObject_somDumpSelf
  1923. #define WPFolder_somDumpSelfInt SOMObject_somDumpSelfInt
  1924. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1925.  
  1926. #endif       /* SOM_WPFolder_h */
  1927.  
  1928. #ifndef SOM_M_WPFolder_h
  1929. #define SOM_M_WPFolder_h
  1930.  
  1931.  
  1932. #include <som.h>
  1933.  
  1934. /*
  1935.  * -- This emitter treats Method Tokens as Thunks by default.
  1936.  * -- Use the sc modifier "nothunks" to change this default
  1937.  */
  1938. #undef somresolve_
  1939. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  1940.  
  1941. /*
  1942.  * Define the class name as an object type
  1943.  */
  1944. #ifndef M_WPFolder
  1945. #define M_WPFolder SOMObject
  1946. #endif
  1947. #include <wpfsys.h>
  1948.  
  1949. /*
  1950.  * Start of bindings for IDL types
  1951.  */
  1952.  
  1953.  
  1954. /*
  1955.  * End of bindings for IDL types.
  1956.  */
  1957.  
  1958. #define M_WPFolder_MajorVersion 1
  1959. #define M_WPFolder_MinorVersion 2
  1960.  
  1961. /*
  1962.  * External name shortening if required
  1963.  */
  1964. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  1965. #define M_WPFolderNewClass wpfdrc
  1966. #pragma linkage(wpfdrc, system)
  1967. #define M_WPFolderClassData wpfdrd
  1968. #define M_WPFolderCClassData wpfdrx
  1969. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  1970. /*--------------Migration------------*/
  1971. #define M_WPFolder_classObj M_WPFolderClassData.classObject
  1972. #define _M_WPFolder M_WPFolder_classObj
  1973.  
  1974. /*
  1975.  * Declare the class creation procedure
  1976.  */
  1977. SOMEXTERN SOMClass * SOMLINK M_WPFolderNewClass(integer4 somtmajorVersion,
  1978.         integer4 somtminorVersion);
  1979. #pragma linkage(M_WPFolderNewClass, system)
  1980.  
  1981. /*
  1982.  * Declare the class data structure
  1983.  */
  1984. SOMEXTERN struct M_WPFolderClassDataStructure {
  1985.     SOMClass *classObject;
  1986.     somMToken wpclsFolderPrivate1;
  1987.     somMToken wpclsFolderPrivate2;
  1988.     somMToken wpclsQueryOpenFolders;
  1989.     somMToken wpclsFolderPrivate3;
  1990.     somMToken wpclsQueryIconDataN;
  1991.     somMToken wpclsQueryIconN;
  1992. } SOMDLINK M_WPFolderClassData;
  1993.  
  1994. /*
  1995.  * Declare the C specific class data structure
  1996.  */
  1997. SOMEXTERN struct M_WPFolderCClassDataStructure {
  1998.     somMethodTabs parentMtab;
  1999.     somDToken instanceDataToken;
  2000. } SOMDLINK M_WPFolderCClassData;
  2001.  
  2002. /*
  2003.  * New and Renew macros for M_WPFolder
  2004.  */
  2005. #define M_WPFolderNew() \
  2006.    ( _M_WPFolder ? \
  2007.     _somNew(_M_WPFolder) \
  2008.     : ( M_WPFolderNewClass(\
  2009.         M_WPFolder_MajorVersion, \
  2010.         M_WPFolder_MinorVersion),\
  2011.        _somNew(_M_WPFolder)))
  2012. #define M_WPFolderRenew(buf) \
  2013.    ( _M_WPFolder ? \
  2014.     _somRenew(_M_WPFolder, buf) \
  2015.     : ( M_WPFolderNewClass(\
  2016.         M_WPFolder_MajorVersion, \
  2017.         M_WPFolder_MinorVersion),\
  2018.        _somRenew(_M_WPFolder, buf)))
  2019.  
  2020. /*
  2021.  * Override method: wpclsInitData
  2022.  */
  2023. #define M_WPFolder_wpclsInitData(somSelf) \
  2024.     M_WPObject_wpclsInitData(somSelf)
  2025.  
  2026. /*
  2027.  * Override method: wpclsQueryDefaultView
  2028.  */
  2029. #define M_WPFolder_wpclsQueryDefaultView(somSelf) \
  2030.     M_WPObject_wpclsQueryDefaultView(somSelf)
  2031.  
  2032. /*
  2033.  * Override method: wpclsQueryTitle
  2034.  */
  2035. #define M_WPFolder_wpclsQueryTitle(somSelf) \
  2036.     M_WPObject_wpclsQueryTitle(somSelf)
  2037.  
  2038. /*
  2039.  * Override method: wpclsQueryIconData
  2040.  */
  2041. #define M_WPFolder_wpclsQueryIconData(somSelf,pIconInfo) \
  2042.     M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
  2043.  
  2044. /*
  2045.  * Override method: wpclsQueryStyle
  2046.  */
  2047. #define M_WPFolder_wpclsQueryStyle(somSelf) \
  2048.     M_WPObject_wpclsQueryStyle(somSelf)
  2049.  
  2050. /*
  2051.  * Override method: wpclsQueryDefaultHelp
  2052.  */
  2053. #define M_WPFolder_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
  2054.     M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
  2055.  
  2056. /*
  2057.  * Override method: wpclsQuerySettingsPageSize
  2058.  */
  2059. #define M_WPFolder_wpclsQuerySettingsPageSize(somSelf,pSizl) \
  2060.     M_WPObject_wpclsQuerySettingsPageSize(somSelf,pSizl)
  2061.  
  2062. /*
  2063.  * New Method: wpclsQueryIconDataN
  2064.  */
  2065. typedef ULONG   SOMLINK somTP_M_WPFolder_wpclsQueryIconDataN(M_WPFolder *somSelf, 
  2066.         ICONINFO* pIconInfo, 
  2067.         ULONG ulIconIndex);
  2068. #pragma linkage(somTP_M_WPFolder_wpclsQueryIconDataN, system)
  2069. typedef somTP_M_WPFolder_wpclsQueryIconDataN *somTD_M_WPFolder_wpclsQueryIconDataN;
  2070. #define somMD_M_WPFolder_wpclsQueryIconDataN "::M_WPFolder::wpclsQueryIconDataN"
  2071. #define M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) \
  2072.     (SOM_Resolve(somSelf, M_WPFolder, wpclsQueryIconDataN) \
  2073.     (somSelf,pIconInfo,ulIconIndex))
  2074. #ifndef SOMGD_wpclsQueryIconDataN
  2075.     #if (defined(_wpclsQueryIconDataN) || defined(__wpclsQueryIconDataN))
  2076.         #undef _wpclsQueryIconDataN
  2077.         #undef __wpclsQueryIconDataN
  2078.         #define SOMGD_wpclsQueryIconDataN 1
  2079.     #else
  2080.         #define _wpclsQueryIconDataN M_WPFolder_wpclsQueryIconDataN
  2081.     #endif /* _wpclsQueryIconDataN */
  2082. #endif /* SOMGD_wpclsQueryIconDataN */
  2083.  
  2084. /*
  2085.  * New Method: wpclsQueryIconN
  2086.  */
  2087. typedef HPOINTER   SOMLINK somTP_M_WPFolder_wpclsQueryIconN(M_WPFolder *somSelf, 
  2088.         ULONG ulIconIndex);
  2089. #pragma linkage(somTP_M_WPFolder_wpclsQueryIconN, system)
  2090. typedef somTP_M_WPFolder_wpclsQueryIconN *somTD_M_WPFolder_wpclsQueryIconN;
  2091. #define somMD_M_WPFolder_wpclsQueryIconN "::M_WPFolder::wpclsQueryIconN"
  2092. #define M_WPFolder_wpclsQueryIconN(somSelf,ulIconIndex) \
  2093.     (SOM_Resolve(somSelf, M_WPFolder, wpclsQueryIconN) \
  2094.     (somSelf,ulIconIndex))
  2095. #ifndef SOMGD_wpclsQueryIconN
  2096.     #if (defined(_wpclsQueryIconN) || defined(__wpclsQueryIconN))
  2097.         #undef _wpclsQueryIconN
  2098.         #undef __wpclsQueryIconN
  2099.         #define SOMGD_wpclsQueryIconN 1
  2100.     #else
  2101.         #define _wpclsQueryIconN M_WPFolder_wpclsQueryIconN
  2102.     #endif /* _wpclsQueryIconN */
  2103. #endif /* SOMGD_wpclsQueryIconN */
  2104.  
  2105. /*
  2106.  * New Method: wpclsQueryOpenFolders
  2107.  */
  2108. typedef WPFolder*   SOMLINK somTP_M_WPFolder_wpclsQueryOpenFolders(M_WPFolder *somSelf, 
  2109.         WPFolder* Folder, 
  2110.         ULONG ulOption, 
  2111.         BOOL fLock);
  2112. #pragma linkage(somTP_M_WPFolder_wpclsQueryOpenFolders, system)
  2113. typedef somTP_M_WPFolder_wpclsQueryOpenFolders *somTD_M_WPFolder_wpclsQueryOpenFolders;
  2114. #define somMD_M_WPFolder_wpclsQueryOpenFolders "::M_WPFolder::wpclsQueryOpenFolders"
  2115. #define M_WPFolder_wpclsQueryOpenFolders(somSelf,Folder,ulOption,fLock) \
  2116.     (SOM_Resolve(somSelf, M_WPFolder, wpclsQueryOpenFolders) \
  2117.     (somSelf,Folder,ulOption,fLock))
  2118. #ifndef SOMGD_wpclsQueryOpenFolders
  2119.     #if (defined(_wpclsQueryOpenFolders) || defined(__wpclsQueryOpenFolders))
  2120.         #undef _wpclsQueryOpenFolders
  2121.         #undef __wpclsQueryOpenFolders
  2122.         #define SOMGD_wpclsQueryOpenFolders 1
  2123.     #else
  2124.         #define _wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
  2125.     #endif /* _wpclsQueryOpenFolders */
  2126. #endif /* SOMGD_wpclsQueryOpenFolders */
  2127. #ifndef SOM_DONT_USE_INHERITED_MACROS
  2128. #define M_WPFolder_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
  2129. #define M_WPFolder_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
  2130. #define M_WPFolder_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
  2131. #define M_WPFolder_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
  2132. #define M_WPFolder_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
  2133. #define M_WPFolder_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
  2134. #define M_WPFolder_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
  2135. #define M_WPFolder_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
  2136. #define M_WPFolder_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
  2137. #define M_WPFolder_wpclsNew M_WPObject_wpclsNew
  2138. #define M_WPFolder_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
  2139. #define M_WPFolder_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
  2140. #define M_WPFolder_wpclsMakeAwake M_WPObject_wpclsMakeAwake
  2141. #define M_WPFolder_wpclsQueryDetails M_WPObject_wpclsQueryDetails
  2142. #define M_WPFolder_wpclsQueryFolder M_WPObject_wpclsQueryFolder
  2143. #define M_WPFolder_wpclsQueryIcon M_WPObject_wpclsQueryIcon
  2144. #define M_WPFolder_wpclsUnInitData M_WPObject_wpclsUnInitData
  2145. #define M_WPFolder_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
  2146. #define M_WPFolder_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
  2147. #define M_WPFolder_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
  2148. #define M_WPFolder_wpclsSetError M_WPObject_wpclsSetError
  2149. #define M_WPFolder_wpclsQueryError M_WPObject_wpclsQueryError
  2150. #define M_WPFolder_wpclsQueryObject M_WPObject_wpclsQueryObject
  2151. #define M_WPFolder_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
  2152. #define M_WPFolder_wpclsDecUsage M_WPObject_wpclsDecUsage
  2153. #define M_WPFolder_wpclsIncUsage M_WPObject_wpclsIncUsage
  2154. #define M_WPFolder_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
  2155. #define M_WPFolder_wpclsFindOneObject M_WPObject_wpclsFindOneObject
  2156. #define M_WPFolder_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
  2157. #define M_WPFolder_wpclsSetIconData M_WPObject_wpclsSetIconData
  2158. #define M_WPFolder_wpclsSetIcon M_WPObject_wpclsSetIcon
  2159. #define M_WPFolder_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
  2160. #define M_WPFolder_somUninit SOMObject_somUninit
  2161. #define M_WPFolder_somClassReady SOMClass_somClassReady
  2162. #define M_WPFolder_somNew SOMClass_somNew
  2163. #define M_WPFolder_somRenew SOMClass_somRenew
  2164. #define M_WPFolder__get_somDataAlignment SOMClass__get_somDataAlignment
  2165. #define M_WPFolder__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
  2166. #define M_WPFolder__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
  2167. #define M_WPFolder__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
  2168. #define M_WPFolder_somNewNoInit SOMClass_somNewNoInit
  2169. #define M_WPFolder_somRenewNoInit SOMClass_somRenewNoInit
  2170. #define M_WPFolder_somRenewNoZero SOMClass_somRenewNoZero
  2171. #define M_WPFolder_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
  2172. #define M_WPFolder_somAllocate SOMClass_somAllocate
  2173. #define M_WPFolder_somDeallocate SOMClass_somDeallocate
  2174. #define M_WPFolder__get_somClassAllocate SOMClass__get_somClassAllocate
  2175. #define M_WPFolder__get_somClassDeallocate SOMClass__get_somClassDeallocate
  2176. #define M_WPFolder_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
  2177. #define M_WPFolder_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
  2178. #define M_WPFolder_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
  2179. #define M_WPFolder_somInitClass SOMClass_somInitClass
  2180. #define M_WPFolder_somInitMIClass SOMClass_somInitMIClass
  2181. #define M_WPFolder_somAddStaticMethod SOMClass_somAddStaticMethod
  2182. #define M_WPFolder_somAddDynamicMethod SOMClass_somAddDynamicMethod
  2183. #define M_WPFolder_somOverrideSMethod SOMClass_somOverrideSMethod
  2184. #define M_WPFolder_somGetApplyStub SOMClass_somGetApplyStub
  2185. #define M_WPFolder_somGetClassData SOMClass_somGetClassData
  2186. #define M_WPFolder_somSetClassData SOMClass_somSetClassData
  2187. #define M_WPFolder_somGetClassMtab SOMClass_somGetClassMtab
  2188. #define M_WPFolder_somGetInstanceOffset SOMClass_somGetInstanceOffset
  2189. #define M_WPFolder_somGetInstancePartSize SOMClass_somGetInstancePartSize
  2190. #define M_WPFolder_somGetInstanceSize SOMClass_somGetInstanceSize
  2191. #define M_WPFolder_somGetInstanceToken SOMClass_somGetInstanceToken
  2192. #define M_WPFolder_somGetMemberToken SOMClass_somGetMemberToken
  2193. #define M_WPFolder_somGetMethodData SOMClass_somGetMethodData
  2194. #define M_WPFolder_somGetRdStub SOMClass_somGetRdStub
  2195. #define M_WPFolder_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
  2196. #define M_WPFolder_somGetMethodIndex SOMClass_somGetMethodIndex
  2197. #define M_WPFolder_somGetMethodToken SOMClass_somGetMethodToken
  2198. #define M_WPFolder_somGetName SOMClass_somGetName
  2199. #define M_WPFolder_somGetNthMethodData SOMClass_somGetNthMethodData
  2200. #define M_WPFolder_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
  2201. #define M_WPFolder_somGetNumMethods SOMClass_somGetNumMethods
  2202. #define M_WPFolder_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
  2203. #define M_WPFolder_somGetParent SOMClass_somGetParent
  2204. #define M_WPFolder_somGetParents SOMClass_somGetParents
  2205. #define M_WPFolder_somGetPClsMtab SOMClass_somGetPClsMtab
  2206. #define M_WPFolder_somGetPClsMtabs SOMClass_somGetPClsMtabs
  2207. #define M_WPFolder_somGetVersionNumbers SOMClass_somGetVersionNumbers
  2208. #define M_WPFolder_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
  2209. #define M_WPFolder_somFindMethod SOMClass_somFindMethod
  2210. #define M_WPFolder_somFindMethodOk SOMClass_somFindMethodOk
  2211. #define M_WPFolder_somFindSMethod SOMClass_somFindSMethod
  2212. #define M_WPFolder_somFindSMethodOk SOMClass_somFindSMethodOk
  2213. #define M_WPFolder_somLookupMethod SOMClass_somLookupMethod
  2214. #define M_WPFolder_somCheckVersion SOMClass_somCheckVersion
  2215. #define M_WPFolder_somDescendedFrom SOMClass_somDescendedFrom
  2216. #define M_WPFolder_somSupportsMethod SOMClass_somSupportsMethod
  2217. #define M_WPFolder_somDefinedMethod SOMClass_somDefinedMethod
  2218. #define M_WPFolder_somOverrideMtab SOMClass_somOverrideMtab
  2219. #define M_WPFolder_somDefaultInit SOMObject_somDefaultInit
  2220. #define M_WPFolder_somDestruct SOMObject_somDestruct
  2221. #define M_WPFolder_somDefaultCopyInit SOMObject_somDefaultCopyInit
  2222. #define M_WPFolder_somDefaultAssign SOMObject_somDefaultAssign
  2223. #define M_WPFolder_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
  2224. #define M_WPFolder_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
  2225. #define M_WPFolder_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
  2226. #define M_WPFolder_somDefaultConstAssign SOMObject_somDefaultConstAssign
  2227. #define M_WPFolder_somDefaultVAssign SOMObject_somDefaultVAssign
  2228. #define M_WPFolder_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
  2229. #define M_WPFolder_somInit SOMObject_somInit
  2230. #define M_WPFolder_somFree SOMObject_somFree
  2231. #define M_WPFolder_somGetClass SOMObject_somGetClass
  2232. #define M_WPFolder_somGetClassName SOMObject_somGetClassName
  2233. #define M_WPFolder_somGetSize SOMObject_somGetSize
  2234. #define M_WPFolder_somIsA SOMObject_somIsA
  2235. #define M_WPFolder_somIsInstanceOf SOMObject_somIsInstanceOf
  2236. #define M_WPFolder_somRespondsTo SOMObject_somRespondsTo
  2237. #define M_WPFolder_somDispatch SOMObject_somDispatch
  2238. #define M_WPFolder_somClassDispatch SOMObject_somClassDispatch
  2239. #define M_WPFolder_somCastObj SOMObject_somCastObj
  2240. #define M_WPFolder_somResetObj SOMObject_somResetObj
  2241. #define M_WPFolder_somDispatchV SOMObject_somDispatchV
  2242. #define M_WPFolder_somDispatchL SOMObject_somDispatchL
  2243. #define M_WPFolder_somDispatchA SOMObject_somDispatchA
  2244. #define M_WPFolder_somDispatchD SOMObject_somDispatchD
  2245. #define M_WPFolder_somPrintSelf SOMObject_somPrintSelf
  2246. #define M_WPFolder_somDumpSelf SOMObject_somDumpSelf
  2247. #define M_WPFolder_somDumpSelfInt SOMObject_somDumpSelfInt
  2248. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  2249.  
  2250. #endif       /* SOM_M_WPFolder_h */
  2251.