Home
last modified time | relevance | path

Searched refs:fdwReason (Results 1 – 25 of 165) sorted by relevance

1234567

/reactos/sdk/lib/ucrt/dll/
H A Dappcrt_dllmain.cpp57 static __declspec(noinline) BOOL DllMainDispatch(HINSTANCE, DWORD const fdwReason, LPVOID const lpR… in DllMainDispatch() argument
60 switch (fdwReason) in DllMainDispatch()
83 BOOL WINAPI __acrt_DllMain(HINSTANCE const hInstance, DWORD const fdwReason, LPVOID const lpReserve… in __acrt_DllMain() argument
85 if (fdwReason == DLL_PROCESS_ATTACH) in __acrt_DllMain()
101 return DllMainDispatch(hInstance, fdwReason, lpReserved); in __acrt_DllMain()
/reactos/dll/win32/mscat32/
H A Dmain.c28 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
30 TRACE("(%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); in DllMain()
32 if (fdwReason == DLL_WINE_PREATTACH) return FALSE; /* prefer native version */ in DllMain()
34 if (fdwReason == DLL_PROCESS_ATTACH) in DllMain()
/reactos/dll/win32/olethk32/
H A Dmain.c26 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
28 TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); in DllMain()
30 if (fdwReason == DLL_WINE_PREATTACH) in DllMain()
33 if (fdwReason == DLL_PROCESS_ATTACH) in DllMain()
/reactos/dll/win32/schannel/
H A Dschannel_main.c37 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
39 TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); in DllMain()
41 if (fdwReason == DLL_WINE_PREATTACH) return FALSE; /* prefer native version */ in DllMain()
43 if (fdwReason == DLL_PROCESS_ATTACH) in DllMain()
/reactos/dll/appcompat/shims/layer/
H A Ddispmode.c22 BOOL WINAPI SHIM_OBJ_NAME(Notify)(DWORD fdwReason, PVOID ptr) in SHIM_OBJ_NAME()
24 if (fdwReason == SHIM_REASON_INIT) in SHIM_OBJ_NAME()
49 BOOL WINAPI SHIM_OBJ_NAME(Notify)(DWORD fdwReason, PVOID ptr) in SHIM_OBJ_NAME()
51 if (fdwReason == SHIM_REASON_INIT) in SHIM_OBJ_NAME()
/reactos/dll/win32/uxtheme/
H A Dmain.c26 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) in DllMain() argument
28 TRACE("%p 0x%x %p: stub\n", hInstDLL, fdwReason, lpv); in DllMain()
29 switch(fdwReason) { in DllMain()
/reactos/dll/win32/xmllite/
H A Dxmllite_main.c31 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
33 TRACE("(%p, %u, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
35 switch (fdwReason) in DllMain()
/reactos/dll/win32/regapi/
H A Dmain.c28 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
30 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
32 switch (fdwReason) in DllMain()
/reactos/dll/win32/cryptdll/
H A Dcryptdll.c27 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
29 TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
31 switch (fdwReason) { in DllMain()
/reactos/dll/win32/userenv/
H A Duserenv.c37 DWORD fdwReason, in DllMain() argument
40 if (fdwReason == DLL_PROCESS_ATTACH) in DllMain()
45 else if (fdwReason == DLL_PROCESS_DETACH) in DllMain()
/reactos/dll/win32/resutils/
H A Dresutils.c34 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
36 TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); in DllMain()
38 switch(fdwReason) in DllMain()
/reactos/dll/appcompat/shims/shimlib/
H A Dshimlib.c136 BOOL WINAPI ShimLib_NotifyShims(DWORD fdwReason, PVOID ptr) in ShimLib_NotifyShims() argument
140 if (fdwReason < SHIM_REASON_INIT) in ShimLib_NotifyShims()
141 fdwReason += (SHIM_REASON_INIT - SHIM_NOTIFY_ATTACH); in ShimLib_NotifyShims()
148 if (pUsed->bInitCalled && fdwReason == SHIM_REASON_INIT) in ShimLib_NotifyShims()
152 Notify(fdwReason, ptr); in ShimLib_NotifyShims()
154 if (fdwReason == SHIM_REASON_INIT) in ShimLib_NotifyShims()
/reactos/dll/win32/netapi32/
H A Dnetapi32.c23 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
25 TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
27 switch (fdwReason) { in DllMain()
/reactos/dll/win32/initpki/
H A Dmain.c28 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
30 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
32 switch (fdwReason) in DllMain()
/reactos/dll/win32/slbcsp/
H A Dmain.c27 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
29 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
31 switch (fdwReason) in DllMain()
/reactos/dll/win32/mssip32/
H A Dmain.c27 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
29 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
31 switch (fdwReason) in DllMain()
/reactos/dll/win32/sccbase/
H A Dmain.c27 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
29 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
31 switch (fdwReason) in DllMain()
/reactos/dll/win32/itircl/
H A Ditircl_main.c30 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
32 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
34 switch (fdwReason) in DllMain()
/reactos/dll/win32/qmgr/
H A Dqmgr_main.c44 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
46 TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
48 switch (fdwReason) in DllMain()
/reactos/dll/directx/wine/dplayx/
H A Ddplayx_main.c77 BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) in DllMain() argument
80 TRACE( "(%p,%d,%p)\n", hinstDLL, fdwReason, lpvReserved ); in DllMain()
82 switch ( fdwReason ) in DllMain()
/reactos/dll/win32/traffic/
H A Dtraffic_main.c29 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
31 TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
33 switch (fdwReason) in DllMain()
/reactos/dll/shellext/stobject/
H A Dstobject.cpp20 DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) in DllMain() argument
22 if (fdwReason == DLL_PROCESS_ATTACH) in DllMain()
29 else if (fdwReason == DLL_PROCESS_DETACH) in DllMain()
/reactos/dll/shellext/ntobjshex/
H A Dntobjshex.cpp21 DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) in DllMain() argument
23 if (fdwReason == DLL_PROCESS_ATTACH) in DllMain()
30 else if (fdwReason == DLL_PROCESS_DETACH) in DllMain()
/reactos/dll/win32/mstask/
H A Dmstask_main.c33 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) in DllMain() argument
35 TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); in DllMain()
37 switch (fdwReason) in DllMain()
/reactos/modules/rostests/apitests/crt/
H A Ddll_startup.cpp58 _In_ DWORD fdwReason, in DllMain() argument
61 if (fdwReason == DLL_PROCESS_ATTACH) in DllMain()
66 else if (fdwReason == DLL_PROCESS_DETACH) in DllMain()

1234567