Click to See Complete Forum and Search --> : What is the equivalent function in WIN32 for the WIN16 fn: GetModuleUsage%


Shalini Shikha
October 7th, 1999, 09:59 PM
What is the equivalent unction in WIN32 for the following WIN16 function:

Function GetModuleUsage% Lib "Kernel" (ByVal hModule%)

Lothar Haensler
October 8th, 1999, 05:57 AM
AFAIK there is NO equivalent.
To find out if a module is loaded, use GetModuleHandle or FindWindow.
To get the count, you'd have to iterate over all modules in all processes using Toolhelp.dll functions.