Clone of Akilla's acserver @ https://github.com/deregtd/ACServer

ClientAdapter.h 756B

12345678910111213141516
  1. // The following ifdef block is the standard way of creating macros which make exporting
  2. // from a DLL simpler. All files within this DLL are compiled with the CLIENTADAPTER_EXPORTS
  3. // symbol defined on the command line. this symbol should not be defined on any project
  4. // that uses this DLL. This way any other project whose source files include this file see
  5. // CLIENTADAPTER_API functions as being imported from a DLL, wheras this DLL sees symbols
  6. // defined with this macro as being exported.
  7. #ifdef CLIENTADAPTER_EXPORTS
  8. #define CLIENTADAPTER_API __declspec(dllexport)
  9. #else
  10. #define CLIENTADAPTER_API __declspec(dllimport)
  11. #endif
  12. extern "C" CLIENTADAPTER_API void InitClientAdapter ( DWORD dwIP, char *username, char *password, short ConnPort );