Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
7ac980b1
Commit
7ac980b1
authored
Dec 07, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Process messages while waiting for a local server to create a pipe.
parent
c0b12351
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rpc.c
dlls/ole32/rpc.c
+2
-2
No files found.
dlls/ole32/rpc.c
View file @
7ac980b1
...
...
@@ -1725,15 +1725,15 @@ HRESULT RPC_GetLocalClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
WaitNamedPipeW
(
pipefn
,
NMPWAIT_WAIT_FOREVER
);
hPipe
=
CreateFileW
(
pipefn
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
if
(
hPipe
==
INVALID_HANDLE_VALUE
)
{
DWORD
index
;
if
(
tries
==
1
)
{
if
(
(
hres
=
create_local_service
(
rclsid
))
&&
(
hres
=
create_server
(
rclsid
))
)
return
hres
;
Sleep
(
1000
);
}
else
{
WARN
(
"Connecting to %s, no response yet, retrying: le is %u
\n
"
,
debugstr_w
(
pipefn
),
GetLastError
());
Sleep
(
1000
);
}
CoWaitForMultipleHandles
(
0
,
1000
,
0
,
NULL
,
&
index
);
continue
;
}
bufferlen
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment