GetProcessImageFileName

[DllImport("psapi.dll", SetLastError = true, CharSet = CharSet.Ansi)]
public static extern uint GetProcessImageFileName(
   IntPtr hProcess,
   StringBuilder lpImageFileName,
   uint nSize
);

Microsoft documentation: Linkarrow-up-right

Last updated