]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qga/vss-win32/provider.cpp
QGA VSS: Add log in functions begin/end
[mirror_qemu.git] / qga / vss-win32 / provider.cpp
index 1b885e24ee17952a6bef341732c434c348e8d59c..cc72e5ef1b939a1d79a26ab95a96636b2641361f 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "qemu/osdep.h"
 #include "vss-common.h"
+#include "vss-debug.h"
 #ifdef HAVE_VSS_SDK
 #include <vscoordint.h>
 #else
@@ -529,9 +530,11 @@ STDAPI DllCanUnloadNow()
 EXTERN_C
 BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID lpReserved)
 {
+    qga_debug("begin, reason = %lu", dwReason);
     if (dwReason == DLL_PROCESS_ATTACH) {
         g_hinstDll = hinstDll;
         DisableThreadLibraryCalls(hinstDll);
     }
+    qga_debug_end;
     return TRUE;
 }