pinvoke
pinvoke copied to clipboard
A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createdca https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-createdcw
https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getdibits
https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump https://pinvoke.net/default.aspx/dbghelp/MiniDumpWriteDump.html
The `CreatePipe` method should output `SafeFileHandle`s intead of `SafeObjectHandle`s. By outputting `SafeFileHandle` directly it makes it easier to wrap these up in `FileReader` and `FileWriter` classes.
E.g.: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-registerrawinputdevices
In the documentation you wrote that for example the SIZE_T should be (U)IntPtr in the C# code, which is understandable, but looks strange, for example: `Kernel32.CopyMemory(dest, source, (IntPtr)length);` Please consider...
As described here: https://docs.microsoft.com/en-us/windows/win32/api/Winuser/ns-winuser-copydatastruct
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-addclipboardformatlistener
Thank you for your efforts! The ability to enumerate the child windows that belong to the specified parent window is missing documentation: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-enumchildwindows example: ```csharp private delegate bool EnumWindowProc(IntPtr hWnd,...