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
3e7a8047
Commit
3e7a8047
authored
Oct 16, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Get rid of the unused "hDC" field of the BaseWindow structure.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9cef4894
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
window.c
dlls/strmbase/window.c
+0
-6
strmbase.h
include/wine/strmbase.h
+0
-1
No files found.
dlls/strmbase/window.c
View file @
3e7a8047
...
...
@@ -130,8 +130,6 @@ HRESULT WINAPI BaseWindowImpl_PrepareWindow(BaseWindow *This)
SetWindowLongPtrW
(
This
->
hWnd
,
0
,
(
LONG_PTR
)
This
);
This
->
hDC
=
GetDC
(
This
->
hWnd
);
return
S_OK
;
}
...
...
@@ -140,10 +138,6 @@ HRESULT WINAPI BaseWindowImpl_DoneWithWindow(BaseWindow *This)
if
(
!
This
->
hWnd
)
return
S_OK
;
if
(
This
->
hDC
)
ReleaseDC
(
This
->
hWnd
,
This
->
hDC
);
This
->
hDC
=
NULL
;
SendMessageW
(
This
->
hWnd
,
WM_CLOSE
,
0
,
0
);
This
->
hWnd
=
NULL
;
...
...
include/wine/strmbase.h
View file @
3e7a8047
...
...
@@ -359,7 +359,6 @@ typedef struct tagBaseWindow
HWND
hWnd
;
LONG
Width
;
LONG
Height
;
HDC
hDC
;
const
struct
BaseWindowFuncTable
*
pFuncsTable
;
}
BaseWindow
;
...
...
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