hi all
i have activated the Memory Action Plugin and Create this Code "ChooseFont Structure" from this Page
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
it is Work Good for Show the Font Dialog
But i want to get all returns But I can not know what it is the returns name Which can catch it
Help Me ........ Please Correct this Code So can find all returns
So they can be used later
Note : I know that there are many of the Plugin can perform the required, but I do not want to use any One Of Them .
i have activated the Memory Action Plugin and Create this Code "ChooseFont Structure" from this Page
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
local str = Memory.CreateStructure("long, long, long, long, long, long, long, long, long, long, long, long, long, long, long");
Memory.SetStructureData(str, 1, 0, Memory.Size(str), "");
Memory.SetStructureData(str, 2, 0, Application.GetWndHandle(), "");
Memory.SetStructureData(str, 5, 0, 10, "");
Memory.SetStructureData(str, 6, 0, 256, "");
Memory.SetStructureData(str, 7, 0, 255, "");
Memory.SetStructureData(str, 13, 0, 1024, "");
Memory.SetStructureData(str, 14, 0, 6, "");
local result = DLL.CallFunction("comdlg32.dll", "ChooseFontA", str, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
Memory.FreeStructure(str);
But i want to get all returns But I can not know what it is the returns name Which can catch it
Help Me ........ Please Correct this Code So can find all returns
So they can be used later
Note : I know that there are many of the Plugin can perform the required, but I do not want to use any One Of Them .