Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
14f4034b
Commit
14f4034b
authored
Jan 26, 2016
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: remove win2k screensave hack
parent
34506cb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+0
-15
No files found.
modules/video_output/msw/common.c
View file @
14f4034b
...
...
@@ -722,21 +722,6 @@ static void DisableScreensaver(vout_display_t *vd)
SystemParametersInfo
(
SPI_GETSCREENSAVEACTIVE
,
0
,
&
sys
->
i_spi_screensaveactive
,
0
);
if
(
LOWORD
(
GetVersion
())
==
0x0005
)
{
/* If this is NT 5.0 (i.e., Win2K), we need to hack around
* KB318781 (see http://support.microsoft.com/kb/318781) */
HKEY
hKeyCP
=
NULL
;
if
(
ERROR_SUCCESS
==
RegOpenKeyEx
(
HKEY_CURRENT_USER
,
TEXT
(
"Control Panel
\\
Desktop"
),
0
,
KEY_QUERY_VALUE
,
&
hKeyCP
)
&&
ERROR_SUCCESS
!=
RegQueryValueEx
(
hKeyCP
,
TEXT
(
"SCRNSAVE.EXE"
),
NULL
,
NULL
,
NULL
,
NULL
))
{
sys
->
i_spi_screensaveactive
=
FALSE
;
}
}
if
(
FALSE
!=
sys
->
i_spi_screensaveactive
)
{
SystemParametersInfo
(
SPI_SETSCREENSAVEACTIVE
,
0
,
NULL
,
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