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
8d2ef748
Commit
8d2ef748
authored
Dec 05, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Make initialize_display_settings work with a Win9x version of rpcrt4.
parent
383a8a5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
desktop.c
programs/explorer/desktop.c
+5
-5
No files found.
programs/explorer/desktop.c
View file @
8d2ef748
...
...
@@ -121,18 +121,18 @@ static void initialize_display_settings( HWND desktop )
'_'
,
'_'
,
'w'
,
'i'
,
'n'
,
'e'
,
'_'
,
'd'
,
'i'
,
's'
,
'p'
,
'l'
,
'a'
,
'y'
,
'_'
,
'd'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
'_'
,
'g'
,
'u'
,
'i'
,
'd'
,
0
};
GUID
guid
;
LPW
STR
guid_str
;
RPC_C
STR
guid_str
;
ATOM
guid_atom
;
DEVMODEW
dmW
;
UuidCreate
(
&
guid
);
UuidToString
W
(
&
guid
,
&
guid_str
);
WINE_TRACE
(
"display guid %s
\n
"
,
wine_dbgstr_w
(
guid_str
)
);
UuidToString
A
(
&
guid
,
&
guid_str
);
WINE_TRACE
(
"display guid %s
\n
"
,
guid_str
);
guid_atom
=
GlobalAddAtom
W
(
guid_str
);
guid_atom
=
GlobalAddAtom
A
(
(
LPCSTR
)
guid_str
);
SetPropW
(
desktop
,
display_device_guid_propW
,
ULongToHandle
(
guid_atom
)
);
RpcStringFree
W
(
&
guid_str
);
RpcStringFree
A
(
&
guid_str
);
/* Store current display mode in the registry */
if
(
EnumDisplaySettingsExW
(
NULL
,
ENUM_CURRENT_SETTINGS
,
&
dmW
,
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