ahkFundFunc is used to get function its pointer. (Equivalent to FindFunc)
DllCall(dll_path "\ahkFindFunc","Str","func","Cdecl PTR")
| func | Name of function. |
None
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
AhkDll:=AhkDllObject("AutoHotkey.dll")
AhkDll.ahktextdll("Persistent`nfunc(){`nReturn`n}")
MsgBox % ahkdll.ahkFindFunc("func")