From a02034a609ca2f8ab3eac156b69a225188fbbc48 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 14 Jul 2006 00:02:31 +0100 Subject: [PATCH] rpcrt4: Add the threading model and a description when registering a CLSID for the PSFactoryBuffer. --- dlls/rpcrt4/cpsf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/rpcrt4/cpsf.c b/dlls/rpcrt4/cpsf.c index 454ef7a6a7a..a350c401b3d 100644 --- a/dlls/rpcrt4/cpsf.c +++ b/dlls/rpcrt4/cpsf.c @@ -230,9 +230,11 @@ HRESULT WINAPI NdrDllRegisterProxy(HMODULE hDll, 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);