Module: wine Branch: refs/heads/master Commit: 1eda42ccaca043af29c5e474bc31e99b7c1d4f1c URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1eda42ccaca043af29c5e474...
Author: Robert Shearman rob@codeweavers.com Date: Mon Jan 9 18:40:42 2006 +0100
ole: Prefer services over servers. Attempt to start as a local service before attempting to start as a local server for the CLSCTX_LOCAL_SERVER case.
---
dlls/ole32/rpc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c index c57bab5..09fb902 100644 --- a/dlls/ole32/rpc.c +++ b/dlls/ole32/rpc.c @@ -797,8 +797,8 @@ HRESULT RPC_GetLocalClassObject(REFCLSID hPipe = CreateFileW(pipefn, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, 0); if (hPipe == INVALID_HANDLE_VALUE) { if (tries == 1) { - if ( (hres = create_server(rclsid)) && - (hres = create_local_service(rclsid)) ) + if ( (hres = create_local_service(rclsid)) && + (hres = create_server(rclsid)) ) return hres; Sleep(1000); } else {