Robert Shearman : rpcrt4: Add the threading model and a description when registering a CLSID for the PSFactoryBuffer .

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 14 10:50:29 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: a02034a609ca2f8ab3eac156b69a225188fbbc48
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=a02034a609ca2f8ab3eac156b69a225188fbbc48

Author: Robert Shearman <rob at codeweavers.com>
Date:   Fri Jul 14 00:02:31 2006 +0100

rpcrt4: Add the threading model and a description when registering a CLSID for the PSFactoryBuffer.

---

 dlls/rpcrt4/cpsf.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/cpsf.c b/dlls/rpcrt4/cpsf.c
index 454ef7a..a350c40 100644
--- a/dlls/rpcrt4/cpsf.c
+++ b/dlls/rpcrt4/cpsf.c
@@ -230,9 +230,11 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODU
     TRACE("registering CLSID %s => %s\n", clsid, module);
     if (RegCreateKeyExA(HKEY_CLASSES_ROOT, keyname, 0, NULL, 0,
                         KEY_WRITE, NULL, &key, NULL) == ERROR_SUCCESS) {
+      RegSetValueExA(subkey, NULL, 0, REG_SZ, (LPBYTE)"PSFactoryBuffer", strlen("PSFactoryBuffer"));
       if (RegCreateKeyExA(key, "InProcServer32", 0, NULL, 0,
                           KEY_WRITE, NULL, &subkey, NULL) == ERROR_SUCCESS) {
         RegSetValueExA(subkey, NULL, 0, REG_SZ, (LPBYTE)module, strlen(module));
+        RegSetValueExA(subkey, "ThreadingModel", 0, REG_SZ, (LPBYTE)"Both", strlen("Both"));
         RegCloseKey(subkey);
       }
       RegCloseKey(key);




More information about the wine-cvs mailing list