opening file and hibernating windows

[b][red]This message was edited by omair19 at 2006-1-22 11:4:20[/red][/b][hr]
kindly tell me the library fuction (in c NOT c++) to hibernate windows and also function to open a file located somewhere in directory for example i want to open c:/gig/lim.exe
tell the library for these functions too
thanks in advance


Comments

  • : [b][red]This message was edited by omair19 at 2006-1-22 11:4:20[/red][/b][hr]
    : kindly tell me the library fuction (in c NOT c++) to hibernate windows and also function to open a file located somewhere in directory for example i want to open c:/gig/lim.exe
    : tell the library for these functions too
    : thanks in advance
    :
    :
    :

    see MSDN for the standard C function fopen() to open the file.

    To hibernate the os, see this in MSDN

    BOOLEAN SetSuspendState(
    BOOLEAN Hibernate,
    BOOLEAN ForceCritical,
    BOOLEAN DisableWakeEvent
    );

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion