summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-05-26 03:07:28 +1000
committer Vas Crabb <vas@vastheman.com>2022-05-26 03:07:28 +1000
commit9ce44fa048793de5e14d1e7af98e8b5ca148d0f3 (patch)
tree2f88d756690f512931db6fdf15939bb5cb547cbd /scripts/src
parent362201a23b566e8ebef5b500f182b18a46e50a95 (diff)
osd: Cleaned up Windows API usage a little.
* Bumped target windows version to 6.0.0 (Vista). * Use WRL COM pointers to manage some COM-like objects. * Cleaned up logging in DirectSound module. * Cleaned up includes in Windows input modules. * Switched to Common Item Dialogs in Windows debugger. * Replaced disabled code that never really worked with a TODO comment.
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/osd/windows.lua5
-rw-r--r--scripts/src/osd/windows_cfg.lua3
2 files changed, 5 insertions, 3 deletions
diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua
index 2d5ca91cca6..2ced36718aa 100644
--- a/scripts/src/osd/windows.lua
+++ b/scripts/src/osd/windows.lua
@@ -29,12 +29,13 @@ function maintargetosdoptions(_target,_subtarget)
end
links {
- "dinput8",
"comctl32",
"comdlg32",
- "psapi",
+ "dinput8",
"ole32",
+ "psapi",
"shlwapi",
+ "uuid",
}
end
diff --git a/scripts/src/osd/windows_cfg.lua b/scripts/src/osd/windows_cfg.lua
index 8faf636e0bc..01d441c2214 100644
--- a/scripts/src/osd/windows_cfg.lua
+++ b/scripts/src/osd/windows_cfg.lua
@@ -33,7 +33,8 @@ if _OPTIONS["MODERN_WIN_API"]=="1" then
}
else
defines {
- "_WIN32_WINNT=0x0501",
+ "_WIN32_WINNT=0x0600",
+ "NTDDI_VERSION=0x06000000",
}
end