summaryrefslogtreecommitdiff
path: root/avstream/avscamera/mft0/stdafx.h
diff options
context:
space:
mode:
authorSudhaushu <[email protected]>2019-08-02 09:50:31 -0700
committerAdonais Romero González <[email protected]>2019-08-02 09:50:31 -0700
commit93ebc330ec53d766b460e981cf83cbdc3c6f60aa (patch)
treecfdc072f28192a34265c8bc73cfa64175b6cb804 /avstream/avscamera/mft0/stdafx.h
parent1aa39e393c0657d7dfd5110727f3b92d20fc3187 (diff)
Fix Avstream sample build for older Windows versions (#393)73321
* fix build break for older windows versions * modified to remove future changes
Diffstat (limited to 'avstream/avscamera/mft0/stdafx.h')
-rw-r--r--avstream/avscamera/mft0/stdafx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/avstream/avscamera/mft0/stdafx.h b/avstream/avscamera/mft0/stdafx.h
index ef768c0b..037376ec 100644
--- a/avstream/avscamera/mft0/stdafx.h
+++ b/avstream/avscamera/mft0/stdafx.h
@@ -16,9 +16,11 @@
#endif
#include "targetver.h"
+#if (NTDDI_VERSION <= NTDDI_WIN7)
+#pragma message("MFT0 is in not supported in this target Windows version - Change project settings to target a newer version of Windows")
+#endif
#include <wrl.h>
-
#include <initguid.h>
#include <mfapi.h>
#include <mfidl.h>