WriteConsole parameter lpNumberOfCharsWritten has the annotation _Out_opt_ (out optional) in the documentation but curl/curl#12131 reports that the parameter is mandatory for Windows XP. I checked the Windows 7 SDK and the parameter is annotated as mandatory __out. However, I wrote the code where curl calls WriteConsole in Windows 7 and the function does not fail when the parameter is NULL. So at some earlier point it was not optional.
Reported-by: lordmulder@users.noreply.github.com
/cc @lordmulder
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
WriteConsole parameter lpNumberOfCharsWritten has the annotation
_Out_opt_(out optional) in the documentation but curl/curl#12131 reports that the parameter is mandatory for Windows XP. I checked the Windows 7 SDK and the parameter is annotated as mandatory__out. However, I wrote the code where curl calls WriteConsole in Windows 7 and the function does not fail when the parameter is NULL. So at some earlier point it was not optional.Reported-by: lordmulder@users.noreply.github.com
/cc @lordmulder
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.