Share via


GetModuleInformation (Windows CE 5.0)

Send Feedback

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

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 Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Psapi.h.
Link Library: Coredll.lib.

See Also

MODULEINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.