Hi,
The annotation of the first parameter of MFCreateVideoSampleFromSurface is _In_ rather than _In_opt_ and is causing a warning.
The docs say it can be NULL, can this be fixed?
See: https://docs.microsoft.com/en-us/windows/win32/api/evr/nc-evr-mfcreatevideosamplefromsurface
EVRPUBLIC(MFCreateVideoSampleFromSurface)(
_In_ IUnknown* pUnkSurface,
_Out_ IMFSample** ppSample
);