|
ProcessHelperModule32First Method |
Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static bool Module32First(
IntPtr snapshotHandle,
ref ModuleEntry32 moduleEntry
)
<DllImportAttribute("kernel32.dll", CharSet := CharSet.Auto, SetLastError := true>]
Public Shared Function Module32First (
snapshotHandle As IntPtr,
ByRef moduleEntry As ModuleEntry32
) As Boolean
public:
[DllImportAttribute(L"kernel32.dll", CharSet = CharSet::Auto, SetLastError = true)]
static bool Module32First(
IntPtr snapshotHandle,
ModuleEntry32% moduleEntry
)
[<DllImportAttribute("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)>]
static member Module32First :
snapshotHandle : IntPtr *
moduleEntry : ModuleEntry32 byref -> bool
Parameters
- snapshotHandle IntPtr
- A handle to the snapshot returned from a previous call to the
function.
- moduleEntry ModuleEntry32
- A pointer to a structure.
Return Value
BooleanReturns TRUE if the next entry of the thread list has been copied to the buffer or
FALSE otherwise. The error value is returned by the
function if no threads exist or the snapshot
does not contain thread information.
See Also