-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdllmain.cpp
More file actions
33 lines (28 loc) · 914 Bytes
/
dllmain.cpp
File metadata and controls
33 lines (28 loc) · 914 Bytes
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
28
29
30
31
32
// dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
extern "C" __declspec(dllexport) int GetInstallDetailsPayload()
{
//TO DO: Add own code logic here.
MessageBoxW(nullptr, L"TO DO: Add own code logic here.", L"GetInstallDetailsPayload", MB_OK | MB_ICONINFORMATION);
return 0;
}
extern "C" __declspec(dllexport) void SignalInitializeCrashReporting()
{
//TO DO : Add own code logic here.
MessageBoxW(nullptr, L"TO DO: Add own code logic here.", L"SignalInitializeCrashReporting", MB_OK | MB_ICONINFORMATION);
}
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}