PsApi GetProcessMemoryInfo #526
-
PsAPI only four functions implemented, so i tried to generate GetProcessMemoryInfo which i need. however, i get the error: NativeMethods.txt(1,1,1,8): warning PInvoke001: No methods found under module "Psapi". i have created a console app that just has CsWin32 installed, through nuget my NativeMethods.txt has: is there something that i'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The metadata doesn't appear to have the functions you're looking for. |
Beta Was this translation helpful? Give feedback.
The metadata doesn't appear to have the functions you're looking for.
But interestingly, I see
K32GetProcessMemoryInfo
defined, but that comes from Kernel32. That's actually consistent with documentation except the method name doesn't match. What's going on here, @sotteson1?