summaryrefslogtreecommitdiff
path: root/build/cmplugin/cmstub.cpp
blob: d404378ca1b6ae1651a0963ad48a5971385884ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <Windows.h>

#include "newpluginapi.h"

struct CMPlugin : public PLUGIN<CMPlugin>
{
};

static BOOL WINAPI RawDllMain(HINSTANCE hInstance, DWORD, LPVOID)
{
	g_plugin.setInst(hInstance);
	return TRUE;
}

extern "C" _pfnCrtInit _pRawDllMain = &RawDllMain;