Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
849 B

  1. #include <fusenetincludes.h>
  2. #include <msxml2.h>
  3. #include <manifestimport.h>
  4. //#include <idp.h>
  5. #include <sxsapi.h>
  6. //#include <sxsid.h>
  7. HINSTANCE g_hInst = NULL;
  8. extern HANDLE g_hNamedEvent;
  9. //----------------------------------------------------------------------------
  10. BOOL WINAPI DllMain( HINSTANCE hInst, DWORD dwReason, LPVOID pvReserved )
  11. {
  12. switch (dwReason)
  13. {
  14. case DLL_PROCESS_ATTACH:
  15. g_hInst = hInst;
  16. DisableThreadLibraryCalls(hInst);
  17. CAssemblyManifestImport::InitGlobalCritSect();
  18. break;
  19. case DLL_PROCESS_DETACH:
  20. break;
  21. case DLL_THREAD_ATTACH:
  22. case DLL_THREAD_DETACH:
  23. break;
  24. }
  25. return TRUE;
  26. }
  27. STDAPI DllInstall(BOOL bInstall, LPCWSTR pszCmdLine)
  28. {
  29. return S_OK;
  30. }