Module32First Retrieves information about the first module associated with a process.
VB4-32,5,6
Declare Function Module32First Lib "kernel32" (ByVal hSnapshot As Long, uProcess As MODULEENTRY32) As Long |
VB.NET
System.Diagnostics.Process.Modules |
Operating Systems Supported |
Requires Windows 2000 or later; Requires Windows 95 or later |
- hSnapshot
[in] Handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.
- lpme
[in/out] Pointer to a MODULEENTRY32 structure. |
Returns TRUE if the first entry of the module list has been copied to the buffer or FALSE otherwise. The ERROR_NO_MORE_FILES error value is returned by the GetLastError function if no modules exist or the snapshot does not contain module information. |
|