mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
eef22cc036
- In advapi32_vista compile the code from advapi32/reg/reg.c - Export RegCopyTreeW from advapi32_vista
25 lines
375 B
C
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;
|
|
}
|