microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`RAIIFree` functions have wrong type

kennykerr opened this issue · comments

  • COMPRESSOR_HANDLE's free function is CloseDecompressor and it should probably expect a COMPRESSOR_HANDLE parameter type instead of IntPtr.

  • WSAEVENT's free function is WSACloseEvent and it should probably expect a WSAEVENT parameter type instead of HANDLE.

Note: COMPRESSOR_HANDLE should be tied to CloseCompressor, not CloseDecompressor