Incorrect triple pointer for MFEnumDeviceSources
#1257
Open
Description
Actual behavior
[DllImport("MF.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
internal static extern unsafe winmdroot.Foundation.HRESULT MFEnumDeviceSources(winmdroot.Media.MediaFoundation.IMFAttributes pAttributes, out winmdroot.Media.MediaFoundation.IMFActivate pppSourceActivate, uint* pcSourceActivate);
Expected behavior
out IntPtr* pppSourceActivate
https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-mfenumdevicesources
Repro steps
NativeMethods.txt
content:
MFEnumDeviceSources
NativeMethods.json
content (if present):
- Any of your own code that should be shared?
Context
- CsWin32 version:
0.3.106
- Win32Metadata version (if explicitly set by project):
- Target Framework:
net462
LangVersion
(if explicitly set by project):12