示例#1
0
 public static extern bool EnumProcessModules(ProcessHandle hProcess,
                                              [In][Out] IntPtr[] lphModule,
                                              uint cb,
                                              [MarshalAs(UnmanagedType.U4)] out uint lpcbNeeded);
示例#2
0
 public static extern int GetModuleFileNameEx(
     [In] ProcessHandle ProcessHandle,
     [In][Optional] IntPtr ModuleHandle,
     [Out] StringBuilder FileName,
     [In] int Size
     );