@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary:[Retrieves the fully-qualified path for the file that contains the specified module loaded by specified process. To locate the file for a module that was loaded by current process, use the GetModuleFileName function. ] !!!!C# Signature: [DllImport("coredll.dll", SetLastError=true)] static extern int GetModuleFileNameEx(IntPtr hProcess, IntPtr hModule, StringBuilder lpFilename, int nSize); !!!!C# Signature: [DllImport("Kernel32.dll", CharSet = CharSet.Unicode, SetLastError = true)] internal static extern bool GetModuleHandleEx(UInt32 dwFlags, string lpModuleName, out IntPtr phModule); !!!!VB Signature: Declare Function GetModuleFileNameEx Lib "coredll.dll" (ByVal hProcess As IntPtr, ByVal hModule As IntPtr, ByVal lpFileName As System.Text.StringBuilder, ByVal nSize As Int32) As Int32 !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: GetModuleFileNameEx@msdn on MSDN
Edit coredll.GetModule...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.