Login Register






[AutoIt]Get current process hWnd filter_list
Author
Message
[AutoIt]Get current process hWnd #1
Code:
Func _CurProcHWND() ;by 1234hotmaster $CurrentProcHWND = DllCall("kernel32.dll", "hwnd", "GetCurrentProcess") $Ret = DllCall('kernel32.dll', 'bool', 'DuplicateHandle', 'ptr', $CurrentProcHWND[0], 'ptr', $CurrentProcHWND[0], 'ptr', $CurrentProcHWND[0], 'ptr*', 0, 'dword', 0, 'bool', 0, 'dword', 2) Return $Ret[4] EndFunc
Pierce the life fibers with your drill.

Reply