microsoft / microsoft/win32metadata

Make `WinHttpReceiveResponse` `lpreserved` "optional"

Open Beginner friendly
#2,282 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.