WINAPI How do change the parameter type?
Posted: 15 Jul 2017, 14:48
I tried to convert this function, but WINAPI version is always invalid. Seems to be "float" type, Should not be entered like this ...
How to correct it correctly?
How to correct it correctly?
Code: Select all
DllCall("gdiplus\GdipCreateFont", "UPtr", hFamily, "float", 16, "int", 0, "int", 0, "UPtr*", hFont)
GdipCreateFont(hFamily, 16.0, 0, 0, getvar(hFont:=0))