ahkFindFunc


ahkFundFunc is used to get function its pointer. (Equivalent to FindFunc)

DllCall(dll_path "\ahkFindFunc","Str","func","Cdecl PTR")

Parameters

func

Name of function.

Return Value

Cdecl UPTR - Function pointer.

Remarks

None

Related

AutoHotkey.dll, ahkdll, ahktextdll, ahkReady, addFile, addScript, ahkExec, ahkLabel, ahkFunction, ahkPostFunction, ahkassign, ahkgetvar, ahkTerminate, ahkReload, ahkFindLabel, ahkPause, ahkExecuteLine, Alias, cacheEnable, FindFunc, FindLabel, getTokenValue, getVar, Static, AutoHotkeyMini, DynaCall, CriticalSection, CriticalObject, MemoryLoadLibrary, ResourceLoadLibrary, MemoryGetProcAddress, MemoryFreeLibrary, Other Changes

Example

AhkDll:=AhkDllObject("AutoHotkey.dll")
AhkDll.ahktextdll("&#Persistent`nfunc(){`nReturn`n}")
MsgBox % ahkdll.ahkFindFunc("func")