i'mlookink for information about the LockWindowStation function in user32
there's nothing in msdn but the quickview of user32.dll (nt4) shows this
function
I try to lock a workstation if the mouse moves but the LockWorkStation
function requires Win2000
Can u help me ?
--
MichKa
(insensitive fruitarian)
random junk of dubious value, a multilingual website, the
54-language TSI Form/Report to Data Access Page Wizard,
and lots of replication "stuff" at the (no scripts required!)
http://www.trigeminal.com/
"Emmanuel" <bm...@francenet.fr> wrote in message
news:8dcguq$2evk$1...@news5.isdnet.net...
BOOL LockWorkStation(VOID);
which translates into
Declare Function .. lib ... LockWorkStation() As Long
If the function succeeds, the return value is nonzero. If it fails, the
return value is zero.
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.
Requires Windows 2000
--
Randy Birch, MVP Visual Basic
http://www.mvps.org/vbnet/
http://www.mvps.org/ccrp/
news://news.mvps.org/
Please correspond only using the newsgroups so all can benefit.
--
MichKa
(insensitive fruitarian)
random junk of dubious value, a multilingual website, the
54-language TSI Form/Report to Data Access Page Wizard,
and lots of replication "stuff" at the (no scripts required!)
http://www.trigeminal.com/
"Randy Birch" <r...@mvps.org> wrote in message
news:ed8YqF7p$GA....@cppssbbsa02.microsoft.com...
--
Randy Birch, MVP Visual Basic
Please correspond only using the newsgroups so all can benefit.
"Michael (michka) Kaplan" <forme...@spamfree.trigeminal.nospam.com> wrote
in message news:uBhnHM7p$GA....@cppssbbsa02.microsoft.com...
Just kidding <g>
--
MichKa
(insensitive fruitarian)
random junk of dubious value, a multilingual website, the
54-language TSI Form/Report to Data Access Page Wizard,
and lots of replication "stuff" at the (no scripts required!)
http://www.trigeminal.com/
"Randy Birch" <r...@mvps.org> wrote in message
news:#qoUiU7p$GA....@cppssbbsa02.microsoft.com...
--
Randy Birch, MVP Visual Basic
Please correspond only using the newsgroups so all can benefit.
"Michael (michka) Kaplan" <forme...@spamfree.trigeminal.nospam.com> wrote
in message news:e22liX7p$GA.194@cppssbbsa04...
Thks
Randy Birch <r...@mvps.org> a écrit dans le message :
ewsR4a7p$GA...@cppssbbsa02.microsoft.com...
: Hmmmm ..... been needing a reason to install the NuMega DevTools.
: | > | > |
: | > | > |
: | > | >
: | > | >
: | > |
: | > |
: | >
: | >
: |
: |
:
: