home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / mmc / mmcSpecificConstsAndInterfaces.cs < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.5 KB  |  50 lines

  1. //-------------------------------------------------------------
  2. // mmcSpecificConstsAndInterfaces.cs
  3. //
  4. // Contains constants and interfaces that are unique to this snapin
  5. //-------------------------------------------------------------
  6. using System;
  7.  
  8.  
  9. namespace Microsoft.SampleMMC
  10. {
  11.     public class ThisSnapin
  12.     {
  13.         public const String     sBaseDir = "C:\\Program Files\\NGWSSDK\\Samples\\MMC\\html\\";
  14.         public const String     sHelpFile = "C:\\Program Files\\NGWSSDK\\Samples\\MMC\\help\\snapsamp.chm";
  15.     }// class ThisSnapin
  16.  
  17.     public interface IPropSheetPage
  18.     {
  19.         String Title();
  20.         int    Icon();
  21.         void Init(ref Object o);
  22.         int InsertPropSheetPageControls(int hWnd);
  23.         int ApplyData(); 
  24.     }// IPropSheet
  25.  
  26.     public interface IColumnResultView
  27.     {
  28.         int getNumColumns();
  29.         int getNumRows();
  30.         String getColumnTitles(int iIndex);
  31.         String getValues(int iX, int iY);
  32.         void AddImages(ref IImageList il);
  33.         int GetImageIndex(int i);
  34.  
  35.     }// IColumnResultView
  36.         
  37.  
  38.     public struct NodeInfo
  39.     {
  40.         public String              sGuid;
  41.         public String              sName;
  42.         public String              sHelpLink;
  43.         public Object              oResults;
  44.         public String              sIcon;
  45.         public IPropSheetPage[]    ppaPages;
  46.         public int[]               iaChildren;
  47.     }// struct NodeInfo
  48.  
  49. }// namespace Microsoft.SampleMMC
  50.