' ' This module returns the module handle. ' Declare Function GetModuleHandle Lib "KERNEL" (ByVal ModuleName As String) As Integer ' ' This is an UNDOCUMENTED Windows function that returns heap status. ' Declare Function GetHeapSpaces Lib "KERNEL" (ByVal Handle As Integer) As Long ' ' This is used for word masking. ' Global Const WORDMASK = &H10000 ' ' This is a WindowState property constant. ' Global Const MINIMIZED = 1