PageRenderTime 24ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/xbmc/visualizations/Vortex/angelscript/add_on/clib/dllmain.cpp

http://github.com/xbmc/xbmc
C++ | 25 lines | 17 code | 3 blank | 5 comment | 1 complexity | 420b12dea877f109ee09ef27ae79aeb1 MD5 | raw file
 1
 2//
 3// dllmain.cpp
 4//
 5// This is the entry point for the windows dll
 6//
 7
 8#include <windows.h>
 9#include "angelscript_c.h"
10
11BOOL APIENTRY DllMain( HANDLE hModule,
12                       DWORD  ul_reason_for_call,
13                       LPVOID lpReserved
14					 )
15{
16    switch (ul_reason_for_call)
17	{
18		case DLL_PROCESS_ATTACH:
19		case DLL_THREAD_ATTACH:
20		case DLL_THREAD_DETACH:
21		case DLL_PROCESS_DETACH:
22			break;
23    }
24    return TRUE;
25}