Partager via


GetModuleInformation

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function retrieves information about the specified module in the MODULEINFO structure.

Syntax

BOOL GetModuleInformation(
  HANDLE hProcess,
  HMODULE hModule,
  LPMODULEINFO lpmodinfo,
  DWORD cb
);

Parameters

  • hProcess
    [in] Handle to the process that contains the module.
  • hModule
    [in] Handle to the module.
  • lpmodinfo
    [out] Pointer to the MODULEINFO structure that receives information about the module.
  • cb
    [in] Specifies the size, in bytes, of the MODULEINFO structure.

Return Value

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Requirements

Header psapi.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

DLL Functions
MODULEINFO