Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lostmsu opened this issue Aug 24, 2024 · 2 comments
Open

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

lostmsu opened this issue Aug 24, 2024 · 2 comments
Labels
missing api Some documented API is missing from the metadata

Comments

@lostmsu
Copy link

lostmsu commented Aug 24, 2024

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

  • CsWin32 version: 0.3.106
  • Win32Metadata version (if explicitly set by project): net8.0-windows10.0.19041.0
  • Target Framework: net8.0-windows10.0.19041.0
  • LangVersion (if explicitly set by project):
@lostmsu lostmsu added the bug Something isn't working label Aug 24, 2024
@AArnott
Copy link
Member

AArnott commented Aug 30, 2024

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.

@AArnott AArnott transferred this issue from microsoft/CsWin32 Aug 30, 2024
@riverar riverar added missing api Some documented API is missing from the metadata and removed bug Something isn't working labels Aug 30, 2024
@riverar
Copy link
Collaborator

riverar commented Aug 30, 2024

@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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing api Some documented API is missing from the metadata
Projects
None yet
Development

No branches or pull requests

6 participants
@AArnott @lostmsu @riverar and others