Closed antkmsft closed 3 weeks ago
I was planning on making this change on my own, cleaning up a bunch of stuff that goes against the new guidelines (declaring types in _detail in public headers).
We can keep this PR with my feedback, or remove it.
In the light of #5660 (closes #5660 ?).
WinHttpTransport is the only header in
sdk/**/inc/*
that has#include <Windows.h>
.If we remove this, further discussion on whether to have
NOMINMAX
defined in public header or not becomes hypothetical.(We still should write
min
andmax
as(min)
and(max)
in thesdk/**/inc/*
files, and I recommend we do keep definingNOMINMAX
andWIN32_LEAN_AND_MEAN
insdk/**/src/*
andsdk/**/test/*
files).The PR #5682, which is currently a Draft and has
#include <windows.h>
in a newsdk/**/inc/*
file in its latest iteration as of now, the author agreed to move#include <windows.h>
into a .cpp file in the next iteration.