AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Bios einstellen über Delphi

Ein Thema von SaFu · begonnen am 18. Jun 2008 · letzter Beitrag vom 19. Jul 2009
Antwort Antwort
hathor
(Gast)

n/a Beiträge
 
#1

Re: Bios einstellen über Delphi

  Alt 19. Jun 2008, 12:31
SleepAndWakeUp

http://www.mirrorservice.org/sites/f...ll/aspower.zip

int asSleepAndWakeUpS(int n);
int asSleepAndWakeUp(int nDay,int nH,int nM,int nS);

First function have just one parameter, number of seconds. This will be time interval.
Another function will use more. You will set after what time interval you want PC to
wake UP. Remember, after you call this function, we create wait timer function and we
put PC to sleep. PC must have new motherboard with ACPI support.

----------------

int asOnlySetWakeUpTime(int nYear,
int nMonth,
int nDay,
int nHour,
int nMinute,
int nSecond);

This function will ONLY SET TIME when you want your PC to wake up. So, after
calling this function, you can continue working with your application, but put your PC to
sleep before this time. Please we don’t check these parameters, so YOU MUST provide
parameters checking. That moment of time MUST be after current time.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:16 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz