According to MSDN:
"This function is useful for input idle detection. However, GetLastInputInfo does not provide system-wide user input information across all running sessions. Rather, GetLastInputInfo provides session-specific user input information for only the session that invoked the function."
Even if that were not so, you are trying to do something that Windows was designed against. I can't imagine why you are trying to do this, but I suspect no one who knows how, if possible, has ever tried...
Sorry.
[EDIT] You might try using a global hook. See SetWindowsHookEx() for more.