Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
997 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1995 - 1995.
  5. //
  6. // File: rcomp.hxx
  7. //
  8. // Contents: Declaration of CSharesRC, an implementation of IRemoteComputer
  9. //
  10. // History: 7-Jan-96 BruceFo Created
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef __RCOMP_HXX__
  14. #define __RCOMP_HXX__
  15. //////////////////////////////////////////////////////////////////////////////
  16. class CSharesRC : public IRemoteComputer
  17. {
  18. public:
  19. CSharesRC() {}
  20. ~CSharesRC() {}
  21. //
  22. // IUnknown methods
  23. //
  24. STDMETHOD(QueryInterface)(REFIID riid, LPVOID* ppvObj);
  25. STDMETHOD_(ULONG,AddRef)();
  26. STDMETHOD_(ULONG,Release)();
  27. //
  28. // IRemoteComputer methods
  29. //
  30. STDMETHOD(Initialize)(
  31. LPCWSTR pszMachine,
  32. BOOL bEnumerating
  33. );
  34. };
  35. #endif // __RCOMP_HXX__