-
Notifications
You must be signed in to change notification settings - Fork 0
/
DllMain.cpp
27 lines (24 loc) · 1.04 KB
/
DllMain.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*****************************************************************************/
/* DllMain.cpp Copyright (c) Ladislav Zezula 2023 */
/*---------------------------------------------------------------------------*/
/* Implementation of DLL Entry point for the Total Commander plugin. */
/*---------------------------------------------------------------------------*/
/* Date Ver Who Comment */
/* -------- ---- --- ------- */
/* 22.07.23 1.00 Lad Created */
/*****************************************************************************/
#include "wcx_msi.h"
#include "resource.h"
int WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID /* lpvReserved */)
{
switch(fdwReason)
{
case DLL_PROCESS_ATTACH:
InitInstance(hInstDll);
break;
case DLL_PROCESS_DETACH:
g_hInst = NULL;
break;
}
return TRUE;
}