AJA NTV2 SDK
17.0.1.1246
NTV2 SDK 17.0.1.1246
dllmain.cpp
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
8
#ifdef AJADLL_BUILD
9
10
#include "windows.h"
11
12
extern
"C"
13
BOOL APIENTRY DllMain(
HANDLE
hModule,
14
DWORD ul_reason_for_call,
15
LPVOID lpReserved)
16
{
17
switch
(ul_reason_for_call)
18
{
19
case
DLL_PROCESS_ATTACH:
20
DisableThreadLibraryCalls((HMODULE)hModule);
21
break
;
22
case
DLL_THREAD_ATTACH:
23
break
;
24
case
DLL_THREAD_DETACH:
25
break
;
26
case
DLL_PROCESS_DETACH:
27
break
;
28
default
:
29
break
;
30
}
31
32
return
TRUE;
33
}
34
35
#endif
HANDLE
short HANDLE
Definition:
ajatypes.h:304
libajantv2
ajantv2
src
win
dllmain.cpp
Generated on Tue Oct 1 2024 16:33:55 for AJA NTV2 SDK by
1.8.17