pykd/pykd/dllmain.cpp
SND\EreTIk_cp 4caa408721 [0.3.x] restored tests of synthetic symbols
git-svn-id: https://pykd.svn.codeplex.com/svn@90487 9b283d60-5439-405e-af05-b73fd8c4d996
2017-11-03 15:24:08 +04:00

28 lines
540 B
C++

// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#include "kdlib/kdlib.h"
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
volatile int a;
a = 10;
break;
}
return TRUE;
}