Compartir a través de


GetModuleInformation (Compact 2013)

3/28/2014

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

See Also

Reference

DLL Functions
MODULEINFO