http://qs321.pair.com?node_id=717305


in reply to Re^3: Win32 idle state (Updated)
in thread Win32 idle state (screensaver like)

use Win32::API::Prototype; ApiLink( 'user32.dll', 'bool GetLastInputInfo( pvoid p )' )
can be replaced with
use Win32::API; Win32::API::->Import('user32.dll', 'BOOL GetLastInputInfo(PVOID p)')
removing the dependency of Win32::API::Prototype. Win32::API has its own prototype parser. (I guess Win32::API::Prototype predates the Import method in Win32::API.)

lodin