microsoft / microsoft/win32metadata
Make `WinHttpReceiveResponse` `lpreserved` "optional"
Open
Beginner friendly
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 149
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 4
Description
Shouldn't `lpreserved` be marked as optional or something similar, like it is in `CoInitialize`?
Both must always be `NULL`.
https://learn.microsoft.com/en-us/windows/win32/api/winhttp/nf-winhttp-winhttpreceiveresponse
Contributor guide
Research direction
Compare the metadata declaration for WinHttpReceiveResponse with the existing CoInitialize declaration, then check the linked Win32 documentation for the lpreserved parameter. Update the annotation so it reflects that the parameter must be NULL, and verify that generated metadata or relevant validation checks remain consistent.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100