English
Source / code snippets

Eingeschaltet Ruhezustand Win

 

E.T.
knows someone a (simple and secure) method to determine, whether the "Ruhezustand" in the windows "aktiviert" (d.h. possible) is ??
the vorkommen the File hiberfil.sys  isn't aussagekräftig enough, there these File too to the deaktivieren on many Systemen present remaining.

somewhere must still a Reg-Key (the against hopefully with all Win-versions different is ) or a function give, whom one read can. Have already whom half-way afternoon sought,be but not so right fündig gewurden.
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
01/18/10  
 



I knows not but have a hint if one assumes, that in Reg stored...

Reg export - Steinellung Change - Reg export. (means by eingebautem RegEdit - File - export - txt)

then has one "nur" yet 2 Txts To vergleichen - gives Yes lauter stuff for DIFF and Co., I take TextPad4-Freeware and working.

How the Key then means, that know so did i gladly!
 
01/18/10  
 




Andreas
Miethe


still, the can inquire.
CompileMarkSeparation
Proc IsRuhezustand

    Return External("PowrProf.dll","IsPwrHibernateAllowed")

EndProc

Cls
Print "Ruhezustand erlaubt ? :",If(IsRuhezustand()=1,"Ja","Nein")
Wait
/a>
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/18/10  
 




E.T.
THANK YOU,Andreas !!! there pack I gladly couple Bananas  from ...
Related to the "exportieren" and vergleichen werd so did i time try, it must indeed one Key there his
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
01/19/10  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.158 Views

Untitledvor 0 min.
p.specht06/13/22
AndreasS11/27/18
Micha1233412/25/15
Jens Petzold03/11/12
More...

Themeninformationen

this Topic has 3 subscriber:

E.T. (2x)
Andreas Miethe (1x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie