SystemParametersInfoA with SPI_GETMOUSE returns 0's
问题 Go to the answer of the question I'm trying to get my mouse speed, but when I call the function SystemParametersInfoA with parameter SPI_GETMOUSE it sets the target array to {0,0,0} which I think its not supposed to happen. Example code: int IntArr[3]; SystemParametersInfoA(SPI_GETMOUSE, 0, &IntArr, 0); I tried changing my mouse sensitivity (from the control panel) but that didn't work either. Does this function is supposed to return those zeros or thats my fault? 回答1: The documentation says: