home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / serv.odl < prev    next >
Text File  |  1998-04-25  |  2KB  |  68 lines

  1. //+-------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1996
  5. //
  6. //  File:      serv.odl
  7. //
  8. //  Contents:  Service Interfaces
  9. //
  10. //------------------------------------------------------------------------
  11.  
  12.  
  13.  
  14. [uuid(OLEDS_IID_IADsService), oleautomation, dual ]
  15. interface IADsService: IADs
  16. {
  17.     PROPERTY_BSTR_RW(HostComputer, DISPID_IADs_UPPER_BOUND + 1)
  18.     PROPERTY_BSTR_RW(DisplayName, DISPID_IADs_UPPER_BOUND + 2)
  19.     PROPERTY_BSTR_RW(Version, DISPID_IADs_UPPER_BOUND + 3)
  20.     PROPERTY_LONG_RW(ServiceType, DISPID_IADs_UPPER_BOUND + 4)
  21.     PROPERTY_LONG_RW(StartType, DISPID_IADs_UPPER_BOUND + 5)
  22.     PROPERTY_BSTR_RW(Path, DISPID_IADs_UPPER_BOUND + 6)
  23.     PROPERTY_BSTR_RW(StartupParameters, DISPID_IADs_UPPER_BOUND + 7)
  24.     PROPERTY_LONG_RW(ErrorControl, DISPID_IADs_UPPER_BOUND + 8)
  25.     PROPERTY_BSTR_RW(LoadOrderGroup, DISPID_IADs_UPPER_BOUND + 9)
  26.     PROPERTY_BSTR_RW(ServiceAccountName, DISPID_IADs_UPPER_BOUND + 10)
  27.     PROPERTY_BSTR_RW(ServiceAccountPath, DISPID_IADs_UPPER_BOUND +  11)
  28.     PROPERTY_VARIANT_RW(Dependencies, DISPID_IADs_UPPER_BOUND +  12)
  29. };
  30.  
  31.  
  32.  
  33. [ uuid(OLEDS_IID_IADsServiceOperations), oleautomation, dual ]
  34. interface IADsServiceOperations: IADs
  35. {
  36.     PROPERTY_LONG_RO(Status, DISPID_IADs_UPPER_BOUND + 13)
  37.     [id(DISPID_IADs_UPPER_BOUND +  14)]
  38.     HRESULT
  39.     Start (void);
  40.  
  41.     [id(DISPID_IADs_UPPER_BOUND +  15)]
  42.     HRESULT
  43.     Stop (void);
  44.  
  45.     [id(DISPID_IADs_UPPER_BOUND +  16)]
  46.     HRESULT
  47.     Pause (void);
  48.  
  49.     [id(DISPID_IADs_UPPER_BOUND +  17)]
  50.     HRESULT
  51.     Continue (void);
  52.  
  53.     [id(DISPID_IADs_UPPER_BOUND +  18)]
  54.     HRESULT
  55.     SetPassword(
  56.         [in]BSTR bstrNewPassword
  57.         );
  58. };
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.