summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avstream/sampledevicemft/multipinmft.cpp6
-rw-r--r--avstream/sampledevicemft/packages.config4
2 files changed, 10 insertions, 0 deletions
diff --git a/avstream/sampledevicemft/multipinmft.cpp b/avstream/sampledevicemft/multipinmft.cpp
index f4fe3d27..30c0463f 100644
--- a/avstream/sampledevicemft/multipinmft.cpp
+++ b/avstream/sampledevicemft/multipinmft.cpp
@@ -136,6 +136,12 @@ STDMETHODIMP CMultipinMft::QueryInterface(
*ppv = static_cast< IMFGetService* >(this);
}
#endif
+#if ((defined NTDDI_WIN10_VB) && (NTDDI_VERSION >= NTDDI_WIN10_VB))
+ else if (iid == __uuidof(IMFSampleAllocatorControl))
+ {
+ *ppv = static_cast<IMFSampleAllocatorControl*>(this);
+ }
+#endif
else
{
hr = E_NOINTERFACE;
diff --git a/avstream/sampledevicemft/packages.config b/avstream/sampledevicemft/packages.config
new file mode 100644
index 00000000..26065b14
--- /dev/null
+++ b/avstream/sampledevicemft/packages.config
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Microsoft.Windows.ImplementationLibrary" version="1.0.210204.1" targetFramework="native" />
+</packages> \ No newline at end of file