Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
014e2db4
Commit
014e2db4
authored
Jan 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineconsole: Replace a couple of handle casts by the appropriate server function.
parent
8c335283
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wineconsole.c
programs/wineconsole/wineconsole.c
+4
-4
No files found.
programs/wineconsole/wineconsole.c
View file @
014e2db4
...
...
@@ -301,7 +301,7 @@ int WINECON_GrabChanges(struct inner_data* data)
req
->
access
=
GENERIC_READ
|
GENERIC_WRITE
;
req
->
attributes
=
0
;
req
->
share
=
FILE_SHARE_READ
|
FILE_SHARE_WRITE
;
h
=
wine_server_call_err
(
req
)
?
0
:
(
HANDLE
)
reply
->
handle
;
h
=
wine_server_call_err
(
req
)
?
0
:
wine_server_ptr_handle
(
reply
->
handle
)
;
}
SERVER_END_REQ
;
WINE_TRACE
(
" active(%p)"
,
h
);
...
...
@@ -635,8 +635,8 @@ static struct inner_data* WINECON_Init(HINSTANCE hInst, DWORD pid, LPCWSTR appna
req
->
pid
=
pid
;
ret
=
!
wine_server_call_err
(
req
);
data
->
hConIn
=
(
HANDLE
)
reply
->
handle_in
;
data
->
hSynchro
=
(
HANDLE
)
reply
->
event
;
data
->
hConIn
=
wine_server_ptr_handle
(
reply
->
handle_in
)
;
data
->
hSynchro
=
wine_server_ptr_handle
(
reply
->
event
)
;
}
SERVER_END_REQ
;
if
(
!
ret
)
goto
error
;
...
...
@@ -649,7 +649,7 @@ static struct inner_data* WINECON_Init(HINSTANCE hInst, DWORD pid, LPCWSTR appna
req
->
attributes
=
0
;
req
->
share
=
FILE_SHARE_READ
|
FILE_SHARE_WRITE
;
ret
=
!
wine_server_call_err
(
req
);
data
->
hConOut
=
(
HANDLE
)
reply
->
handle_out
;
data
->
hConOut
=
wine_server_ptr_handle
(
reply
->
handle_out
)
;
}
SERVER_END_REQ
;
if
(
!
ret
)
goto
error
;
...
...
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