Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Win32 idle state (Updated)

by lodin (Hermit)
on Oct 15, 2008 at 18:32 UTC ( [id://717305]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://717305]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-25 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found