Open
Description
microsoft/CsWin32#1066 is an issue we encountered when adopting the pinvoke source generator. We were unable to update any methods using NativeOverlapped such as HttpApi.HttpWaitForDisconnectEx. When it's fixed, update the CsWin32 and see if we can remove the remaining pinvoke definitions from HttpApi.cs.
What we do about our SafeNativeOverlapped wrapper is an open question I wasn't able to investigate due to the above issue. Maybe it can go away too.