специфический программистский юмор
Jan. 19th, 2006 04:38 pmв поисках 64-битных процессов
http://blogs.msdn.com/oldnewthing/archive/2005/02/01/364563.aspx
BOOL Is64BitProcessRunningOn64BitWindows()
{
return TRUE;
}
далее, как говорится, "каменты жгут":
The BeOS kernel (http://www.tycomsystems.com/beos/BeBook/The%20Kernel%20Kit/System.html) exports two very useful system calls:
- is_computer_on returns 1 if the computer is turned on. If the computer is not turned on, the result is undefined.
- is_computer_on_fire returns the temperature of the motherboard if the computer is currently on fire. If the computer isn't on fire, the function returns some other value.
http://blogs.msdn.com/oldnewthing/archive/2005/02/01/364563.aspx
BOOL Is64BitProcessRunningOn64BitWindows()
{
return TRUE;
}
далее, как говорится, "каменты жгут":
The BeOS kernel (http://www.tycomsystems.com/beos/BeBook/The%20Kernel%20Kit/System.html) exports two very useful system calls:
- is_computer_on returns 1 if the computer is turned on. If the computer is not turned on, the result is undefined.
- is_computer_on_fire returns the temperature of the motherboard if the computer is currently on fire. If the computer isn't on fire, the function returns some other value.