sockimpl.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. // Note: must include AFXDB.H first
  11. #undef AFX_DATA
  12. #define AFX_DATA AFX_NET_DATA
  13. /////////////////////////////////////////////////////////////////////////////
  14. // _AFX_SOCK_STATE
  15. #undef AFX_DATA
  16. #define AFX_DATA
  17. class _AFX_SOCK_STATE : public CNoTrackObject
  18. {
  19. public:
  20. DWORD m_dwReserved1; // reserved for version 4.1 only
  21. HINSTANCE m_hInstSOCK; // handle of WSOCK32.DLL
  22. void (AFXAPI *m_pfnSockTerm)(void); // set once initialized
  23. virtual ~_AFX_SOCK_STATE();
  24. };
  25. EXTERN_PROCESS_LOCAL(_AFX_SOCK_STATE, _afxSockState)
  26. #undef AFX_DATA
  27. #define AFX_DATA
  28. /////////////////////////////////////////////////////////////////////////////