microsoft / microsoft/win32metadata
GlobalUnlock return value seems weird
Open
rust
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 149
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 4
Description
### Summary
It is translated to a result, but in both case GetLastError returns NO_ERROR so it seems a bit weird.
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-globalunlock
### Crate manifest
_No response_
### Crate code
_No response_
Contributor guide
Research direction
The issue names GlobalUnlock and links its Microsoft documentation, but provides no crate code, file, or test. Start by comparing the documented API return semantics with the generated metadata and its handling of GetLastError. Done means the return-value behavior is confirmed and any required metadata correction has a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100