pinvoke icon indicating copy to clipboard operation
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.

Results 66 pinvoke issues
Sort by recently updated
recently updated
newest added

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

api request

https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-getdibits

api request

https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump https://pinvoke.net/default.aspx/dbghelp/MiniDumpWriteDump.html

api request

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

api request

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

api request

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-addclipboardformatlistener

api request

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,...

api request