Código: Seleccionar todo
#include <_DLLFunctions.au3>
;============================================================================
; Get Address For Function in Dll
; Autor : M3
; Referência : https://sites.google.com/site/ascend4ntscode/processfunctions
; Thanks to : Ascend4nt
; Ejemplo de Uso : Msgbox("","",sGetMyAddress("Kernel32","GetModuleHandleA"))
;============================================================================
Func sGetMyAddress($sDll ,$sFunction)
$sDll = _DLL_LoadLibrary($sDll)
$ReturnAddress = _DLL_GetProcAddress($sDll,$sFunction)
Return $ReturnAddress
EndFunc