microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.
Other
1.32k stars 113 forks source link

Method, type or constant "WIMMountImage" not found #1983

Open lostmsu opened 3 weeks ago

lostmsu commented 3 weeks ago

Actual behavior

NativeMethods.txt(1,1): Warning PInvoke001 : Method, type or constant "WIMMountImage" not found

Expected behavior

Should generate the wrapper

Repro steps

  1. NativeMethods.txt content:
    WIMMountImage
    WIMUnmountImage

Context

AArnott commented 2 weeks ago

This isn't in the metadata, so I'll forward this to the win32metadata repo for consideration.

The doc for the function is at https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/wim/dd851922%28v%3Dmsdn.10%29?view=windows-11.

riverar commented 2 weeks ago

@mikebattista Think we need to wire up the Windows Assessment and Deployment Kit (Windows ADK) for this one. (SDK\WIMGAPI folder in the kit's install root.)