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