Declare Function SystemParametersInfo Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uiParam As Long, pvParam As Any, ByVal fWinIni As Long) As Long

where uAction is
SPI_GETSCREENSAVETIMEOUT = 14
Retrieve the time-out period, in seconds, which must elapse before the screen saver begins running. uiParam must be 0. pvParam is a Long-type variable which receives the time-out value.

I am encountering this Any type and I need to get a handle on what it is. I am trying to work in Access 2000 and it just doesn't seem to be working. I have tried using type variant but it still won't compile.

All help thankfully received

Cheers
Michael