Desktop Functions: Smart Device Functions:
|
Search Results for "GetModuleFileNameEx" in [All]psapi
Used in conjuction with GetModuleFileNameEx:
GetModuleFileNameEx(p.Handle, hMods[i], strbld, (uint)(strbld.Capacity));
static extern uint GetModuleFileNameEx(IntPtr hProcess, IntPtr hModule, [Out] StringBuilder lpBaseName, [In] [MarshalAs(UnmanagedType.U4)] int nSize);
Public Shared Function GetModuleFileNameEx(ByVal hProcess As IntPtr, ByVal hModule As IntPtr, <Out()> ByVal lpBaseName As StringBuilder, <[In]()> <MarshalAs(UnmanagedType.U4)> ByVal nSize As Integer) As UInteger
static extern uint GetModuleFileNameEx(IntPtr hProcess, IntPtr hModule, [Out] StringBuilder lpBaseName, uint nSize);
GetModuleFileNameEx(p.Handle, hMods[i], strbld, (uint)(strbld.Capacity)); I found this to be more comprehensive than GetModuleFileNameEx. Didnt need to enumerate windows or modules coredll |