crypt32: Avoid printing pointer differences in traces.
[wine] / dlls / infosoft / infosoft_main.c
index c13334c..e095ab4 100644 (file)
@@ -30,7 +30,7 @@
 #include "winuser.h"
 #include "winreg.h"
 #include "ole2.h"
-#include "indexsvr.h"
+#include "indexsrv.h"
 #include "initguid.h"
 
 #include "wine/debug.h"
@@ -121,8 +121,11 @@ static const IClassFactoryVtbl infosoft_cfvt =
     infosoftcf_fnLockServer
 };
 
-static CFImpl wb_cf = { &infosoft_cfvt, &wb_Constructor };
+static CFImpl wb_cf = { &infosoft_cfvt, wb_Constructor };
 
+/***********************************************************************
+ *             DllGetClassObject (INFOSOFT.@)
+ */
 HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
 {
     IClassFactory   *pcf = NULL;
@@ -163,7 +166,7 @@ static HRESULT add_wordbreaker_clsid( LPCSTR lang, const CLSID *id)
     CHAR key[100], val[50];
 
     strcpy(key, "CLSID\\");
-    sprintf(key+6, "{%08lX-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}",
+    sprintf(key+6, "{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}",
             id->Data1, id->Data2, id->Data3,
             id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3],
             id->Data4[4], id->Data4[5], id->Data4[6], id->Data4[7]);
@@ -183,6 +186,9 @@ static HRESULT add_content_index_keys(void)
     return S_OK;
 }
 
+/***********************************************************************
+ *             DllRegisterServer (INFOSOFT.@)
+ */
 HRESULT WINAPI DllRegisterServer(void)
 {
     add_content_index_keys();