When using SystemParametersInfo, I am having trouble defining multiple uses of the same function.
i.e. the pvParam value is a pointer for most uses of the function, but an Int when using something like SPI_SETMOUSESPEED.
I have worked around it just now with:
But this isn't likely to be possible for other functions that don't have an ANSI and a UNICODE declaration.
i.e. the pvParam value is a pointer for most uses of the function, but an Int when using something like SPI_SETMOUSESPEED.
I have worked around it just now with:
Extern "win32" Function SystemParametersInfoA(uAction, uParam, lpvParam:Byte Ptr, fWinIni)' '= "SystemParametersInfoA" Function SystemParametersInfoW(uAction, uParam, lpvParam:Int, fWinIni)' '= "SystemParametersInfoW" End Extern
But this isn't likely to be possible for other functions that don't have an ANSI and a UNICODE declaration.