home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / IDL / WPDISK.IDL < prev    next >
Text File  |  1995-08-30  |  3KB  |  88 lines

  1. //  Module Header
  2. //
  3. //  Module Name: WPDISK
  4. //
  5. //  OS/2 Presentation Manager Workplace class definitions
  6. //
  7. //  Copyright (c) International Business Machines Corporation 1991, 1992
  8. //
  9. #ifndef wpdisk_idl
  10. #define wpdisk_idl
  11. #include "wpabs.idl"
  12. #include <somcls.idl>
  13. interface WPRootFolder;
  14. interface M_WPDisk;
  15. interface WPDisk : WPAbstract
  16. {
  17.   ULONG wpAddDiskDetailsPage(in HWND hwndNotebook);
  18.   ULONG wpQueryDriveLockStatus(in PULONG pulLockStatus,
  19.                                in PULONG pulLockCount);
  20.   ULONG wpEjectDisk();
  21.   ULONG wpLockDrive(in BOOL fLock);
  22.   ULONG wpQueryLogicalDrive();
  23.   WPRootFolder wpQueryRootFolder();
  24.   BOOL wpSetCorrectDiskIcon();
  25. #ifdef __SOMIDL__
  26.   implementation {
  27.     releaseorder: wpAddDiskDetailsPage,wpSetCorrectDiskIcon,wpQueryLogicalDrive,
  28.                   wpSetLogicalDrive,wpQueryRootFolder,wpSetDiskInfo,
  29.                   wpTouchDisk,wpQueryDiskInfo,wpQueryDriveLockStatus,
  30.                   wpEjectDisk,wpLockDrive;
  31.     externalstem = wpdsk;
  32.     local;
  33.     externalprefix = dsk_;
  34.     majorversion = 1;
  35.     minorversion = 2;
  36.     filestem = wpdisk;
  37.     metaclass = M_WPDisk;
  38.     callstyle = oidl;
  39.     dllname = "pmwp.dll";               //sahsom2
  40.     passthru C_h =  ""
  41. "    #ifndef WPRootFolder"
  42. "    #define WPRootFolder SOMAny"
  43. "    #endif"
  44. ""
  45. "    #define OPEN_AUTO            120";
  46.     wpSetup: override;
  47.     wpSaveState: override;
  48.     wpRestoreState: override;
  49.     wpAddSettingsPages: override;
  50.     wpFilterPopupMenu: override;
  51.     wpModifyPopupMenu: override;
  52.     wpMenuItemHelpSelected: override;
  53.     wpMenuItemSelected: override;
  54.     wpSetTitle: override;
  55.     wpOpen: override;
  56.     wpQueryDefaultHelp: override;
  57.     wpDragOver: override;
  58.     wpDrop: override;
  59.     wpQueryIconData: override;
  60.     wpSetIconData: override;
  61.     wpViewObject: override;
  62.     wpUnInitData: override;
  63.     somDefaultInit: override;              somDestruct: override;                 wpAddObjectWindowPage: override;
  64.   };
  65. #endif /* __SOMIDL__ */
  66. };
  67. interface M_WPDisk : M_WPAbstract
  68. {
  69. #ifdef __SOMIDL__
  70.   implementation {
  71.     externalstem = wpdsk;
  72.     local;
  73.     externalprefix = dskM_;
  74.     majorversion = 1;
  75.     minorversion = 2;
  76.     filestem = wpdisk;
  77.     callstyle = oidl;
  78.     dllname = "pmwp.dll";               //sahsom2
  79.     wpclsQueryDefaultHelp: override;
  80.     wpclsQueryIconData: override;
  81.     wpclsQueryStyle: override;
  82.     wpclsQueryTitle: override;
  83.     wpclsQueryDefaultView: override;
  84.   };
  85. #endif /* __SOMIDL__ */
  86. };
  87. #endif  /* wpdisk_idl */
  88.