1 2 #include "advapi32_vista.h" 3 4 BOOL 5 RegInitialize(VOID); 6 7 BOOL 8 WINAPI 9 DllMain(HANDLE hDll, 10 DWORD dwReason, 11 LPVOID lpReserved) 12 { 13 /* For now, there isn't much to do */ 14 if (dwReason == DLL_PROCESS_ATTACH) 15 { 16 DisableThreadLibraryCalls(hDll); 17 18 if (!RegInitialize()) 19 { 20 return FALSE; 21 } 22 } 23 24 return TRUE; 25 } 26