microsoft / microsoft/win32metadata
`IPersistFile.GetCurrentFile()` requires `CanReturnMultipleSuccessValues` annotation.
Open
Beginner friendly
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 149
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 4
Description
Coming in from https://github.com/microsoft/CsWin32/discussions/1804#discussioncomment-18181585. This method can return `S_FALSE` and without this annotation as suggested, CsWin32 doesn't emit this with `[PreserveSig]`.
Contributor guide
Research direction
Find the Win32 metadata entry for IPersistFile.GetCurrentFile and inspect how its HRESULT return behavior is annotated. Add the CanReturnMultipleSuccessValues annotation described in the issue, then verify that CsWin32 emits the method with PreserveSig and supports its S_FALSE result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 74/100