mirror of
https://github.com/hasherezade/pe-sieve.git
synced 2026-10-12 02:15:22 +00:00
26 lines
415 B
C++
26 lines
415 B
C++
/**
|
|
* @file
|
|
* @brief The main file of PE-sieve built as a DLL
|
|
*/
|
|
|
|
#include <windows.h>
|
|
#include <string>
|
|
#include <iostream>
|
|
|
|
#define PESIEVE_EXPORTS
|
|
#include <pe_sieve_api.h>
|
|
|
|
BOOL WINAPI DllMain (HANDLE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|
{
|
|
switch (fdwReason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
case DLL_THREAD_ATTACH:
|
|
case DLL_THREAD_DETACH:
|
|
case DLL_PROCESS_DETACH:
|
|
break;
|
|
}
|
|
return TRUE;
|
|
}
|
|
|