GetModuleInformation (psapi)
Last changed: Isaac-101.170.170.159

.
Summary
Retrieves information about the specified module in the MODULEINFO structure.

C# Signature:

[DllImport("psapi.dll", SetLastError=true)]
static extern bool GetModuleInformation(IntPtr hProcess, IntPtr hModule, out MODULEINFO lpmodinfo, uint cb);

VB Signature:

<DllImport("psapi.dll", SetLastError:=True)>
Public Shared Function GetModuleInformation(ByVal hProcess As IntPtr, ByVal hModule As IntPtr, ByRef lpModInfo As MODULEINFO, cb As UInteger) As Boolean
End Function

User-Defined Types:

[StructLayout(LayoutKind.Sequential)]
public struct MODULEINFO
{
     public IntPtr lpBaseOfDll;
     public uint SizeOfImage;
     public IntPtr EntryPoint;
}

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation