microsoft / microsoft/win32metadata

Method, type or constant "WIMMountImage" not found

Open
#1,983 3 comments 0 reactions 0 assignees View on GitHub
missing api
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

## 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):

Contributor guide

Open the contributing guide

Research direction

Start by checking how Win32Metadata exposes WIMMountImage and WIMUnmountImage to CsWin32, using the NativeMethods.txt reproduction. Done means both names are recognized without PInvoke001 and the generator emits their wrappers.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.