IClient.h 420 B

123456789101112131415161718
  1. #ifndef __CLIENT_INTERFACE__
  2. #define __CLIENT_INTERFACE__
  3. #pragma once
  4. // {E6B6E4AE-DB4A-4636-93BC-772BF1E23A03}
  5. static const GUID IID_Client =
  6. { 0xe6b6e4ae, 0xdb4a, 0x4636, { 0x93, 0xbc, 0x77, 0x2b, 0xf1, 0xe2, 0x3a, 0x3 } };
  7. __interface IClient:public IUnknown
  8. {
  9. // Á¬½Ó·þÎñÆ÷;
  10. virtual bool Connect(LPCTSTR lpServerAddr, DWORD dwPort) = 0;
  11. virtual void DisConnect() = 0;
  12. virtual bool ReConnect() = 0;
  13. };
  14. #endif