mirror of
https://github.com/Blinue/Magpie.git
synced 2026-06-24 02:04:10 +00:00
feat: 系统不支持时隐藏 Graphics Capture 和/或 Desktop Duplication 捕获方式
梅开二度
This commit is contained in:
parent
8a153d4787
commit
c783250cdf
6 changed files with 127 additions and 17 deletions
|
|
@ -21,7 +21,7 @@ bool GraphicsCaptureFrameSource::Initialize() {
|
|||
// 只在 Win10 1903 及更新版本中可用
|
||||
const RTL_OSVERSIONINFOW& version = Utils::GetOSVersion();
|
||||
if (Utils::CompareVersion(version.dwMajorVersion, version.dwMinorVersion, version.dwBuildNumber, 10, 0, 18362) < 0) {
|
||||
SPDLOG_LOGGER_ERROR(logger, "当前操作系统无法使用 GraphicsCapture");
|
||||
SPDLOG_LOGGER_ERROR(logger, "当前操作系统无法使用 Graphics Capture");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue