Closed AArnott closed 2 weeks ago
[Retained]
As @colejohnson66 calls out in https://github.com/microsoft/CsWin32/issues/1244, ReadFileEx and WriteFileEx are async functions, but they are not tagged with [Retained].
ReadFileEx
WriteFileEx
1726 introduced a
[Retained]
attribute to be applied on parameters that are pointers that the win32 function retains for longer than the direct function call.As @colejohnson66 calls out in https://github.com/microsoft/CsWin32/issues/1244,
ReadFileEx
andWriteFileEx
are async functions, but they are not tagged with[Retained]
.