Markopy
Utilizing Markov Models for brute forcing attacks
dllmain.cpp
Go to the documentation of this file.
1 /** @file dllmain.cpp
2  * @brief DLLMain for dynamic windows library
3  * @authors Ata Hakçıl
4  *
5  * @copydoc Markov::Model
6  */
7 
8 #include "pch.h"
9 #include "model.h"
10 #include <iostream>
11 
12 
13 #ifdef _WIN32
14 __declspec(dllexport) void dll_loadtest() {
15  std::cout << "External function called.\n";
16  //cudaTestEntry();
17 }
18 
19 BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
20 {
21  switch (ul_reason_for_call)
22  {
23  case DLL_PROCESS_ATTACH:
24  case DLL_THREAD_ATTACH:
25  case DLL_THREAD_DETACH:
26  case DLL_PROCESS_DETACH:
27  break;
28  }
29  return TRUE;
30 }
31 
32 #endif