Overview
number Memory.OpenFunction ( |
Open a Dll or library for calling it.
(number) Number of your library that before you opened it with .OpenLibrary .
(string) The name of the function within the DLL or library.
(number) The calling convention that AutoPlay will use when calling the DLL function, two way to call one C call and two is STD call.
(string) The type of value returned from the function.
(number) One number that must get it for call that function or free it.
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
Note: These Apis is in the beta release, be aware.
Note: These new Apis can't return int64, float and double.
Memory.OpenLibrary(0, "user32.dll") a = Memory.OpenFunction(0, "MessageBoxA", DLL_CALL_STDCALL, DLL_RETURN_INT) Dialog.Message("", a)
See also: Related Actions