Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

Запуск taskmgr.exe и блокировка в Win2000 [D6, Win2k]


tararasyk ©   (2002-06-05 18:41:00) 

Как можно запустить Диспетчер задач и поставить блокировку з делфи в Win2000


Raptor   (2002-06-06 17:25:00) [1]

LockWorkStation

The LockWorkStation function locks the workstation"s display, protecting it from unauthorized use.

BOOL LockWorkStation(VOID);

Parameters
This function has no parameters.

Return Values
If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, callGetLastError.

Remarks
This function has the same result as pressing Ctrl+Alt+Del and clicking Lock Workstation. To unlock the workstation, the user must log in.

Common reasons for failure include no user is logged on, the workstation is already locked, the process is not running on the interactive desktop, or the request is denied by the Graphical Identification and Authentication (GINA) DLL.

QuickInfo
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.


Skyle   (2002-06-06 13:34:00) [2]

2ZZ: taskman.exe он назывался давно %)))
Сейчас он реально называется taskmgr.exe $))
А по поводу дальше... Похоже нужно поставить блокировку из программы на Дельфи (ту блокировку, которая ставится по комбинации клавиш Alt + Ctrl + Del, Enter .. ) %)))
А вот как это сделать я пока не знаю...:)


ZZ   (2002-06-06 10:31:00) [3]

Диспетчер задач - taskman.exe
А остальное я не понял :)


Наверх

Титульная страница Поиск, карта сайта Написать письмо