reactos/dll/win32/advapi32_vista/DllMain.c
Timo Kreuzer eef22cc036 [ADVAPI32] Unify source for vista registry functions
- In advapi32_vista compile the code from advapi32/reg/reg.c
- Export RegCopyTreeW from advapi32_vista
2023-12-18 23:14:14 +02:00

25 lines
375 B
C

#include "advapi32_vista.h"
BOOL
RegInitialize(VOID);
BOOL
WINAPI
DllMain(HANDLE hDll,
DWORD dwReason,
LPVOID lpReserved)
{
/* For now, there isn't much to do */
if (dwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hDll);
if (!RegInitialize())
{
return FALSE;
}
}
return TRUE;
}