Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Library: Windows API / MS.NET Framework API (https://www.delphipraxis.net/20-library-windows-api-ms-net-framework-api/)
-   -   Delphi Arbeitsstation sperren (https://www.delphipraxis.net/6297-arbeitsstation-sperren.html)

Daniel B 5. Jul 2003 17:21


Arbeitsstation sperren
 
Hallo,

das funktioniert aber erst ab Windows 2000!
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
  LockWorkStation;
end;
Grüsse, Daniel :hi:

[edit=Chakotay1308]Klassifizierung angepasst. Mfg, Chakotay1308[/edit]

Gast 5. Jul 2003 21:00

Und ab welcher Delphi-Version???? Bei meiner 4 Pro ist es nicht dabei. Bei 5 wahrscheinlich auch noch nicht ...

Delphi-Quellcode:
function LockWorkStation:BOOL; stdcall; external 'user32.dll';


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:18 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz