Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Module32Next function (tlhelp32.h)

Feedback

In this article

Retrieves information about the next module associated with a process or thread.

Syntax

BOOL Module32Next(  [in]  HANDLE          hSnapshot,  [out] LPMODULEENTRY32 lpme);

Parameters

[in] hSnapshot

A handle to the snapshot returned from a previous call to theCreateToolhelp32Snapshot function.

[out] lpme

A pointer to aMODULEENTRY32 structure.

Return value

ReturnsTRUE if the next entry of the module list has been copied to the buffer orFALSE otherwise. TheERROR_NO_MORE_FILES error value is returned by theGetLastError function if no more modules exist.

Remarks

To retrieve information about first module associated with a process, use theModule32First function.

Examples

For an example, seeTraversing the Module List.

Requirements

RequirementValue
Minimum supported clientWindows XP [desktop apps only]
Minimum supported serverWindows Server 2003 [desktop apps only]
Target PlatformWindows
Headertlhelp32.h
LibraryKernel32.lib
DLLKernel32.dll

See also

CreateToolhelp32Snapshot

MODULEENTRY32

Module Walking

Module32First

Tool Help Functions


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?