Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

dll.h

By: a guest on Jul 6th, 2011  |  syntax: C++  |  size: 0.17 KB  |  views: 639  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #ifdef MAINLIB_EXPORTS
  2. #define MAINLIB_API __declspec(dllexport)
  3. #else
  4. #define MAINLIB_API __declspec(dllimport)
  5. #endif
  6.  
  7. extern "C" MAINLIB_API DWORD TestFunction(LPVOID);