in reply to Re^3: Win32 idle state (Updated)
in thread Win32 idle state (screensaver like)
can be replaced withuse Win32::API::Prototype; ApiLink( '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.)use Win32::API; Win32::API::->Import('user32.dll', 'BOOL GetLastInputInfo(PVOID p)')
lodin
|
---|
In Section
Seekers of Perl Wisdom