Putting the computer in hybernation/suspens mode - HOW ?

    Hi, i need a code that will envoke the Windows to enter
hybernation/suspens mode,
 anyone knows how this is done ?

thanks in adnvance !

ltmoonh...@hotmail.com