flat assembler
Message board for the users of flat assembler.
Index
> Windows > API call-once |
Author |
|
inskipp 26 Mar 2004, 17:40
Maybe ExitWindowsEx . But maybe kernel calls some internal functon to shutdown.
|
|||
26 Mar 2004, 17:40 |
|
f0dder 26 Mar 2004, 20:38
Do you need to hook/prevent shutdown, or do you just want a shutdown notification in your own application?
|
|||
26 Mar 2004, 20:38 |
|
HarryTuttle 30 Mar 2004, 09:27
I want to hook those API to rebuild the regKEY RunOnce in the end of every session.
nothing special but a lot of user got out the WinGuard from the RUN->regKey(not exactly WinGuard but all the sequences) and I try to do the run-moment for this program "so called" invisible. I said, so called because I do not want to hide WinGuard's Icon but only run-action. RunOnce-regKey is cleared every time afrter sys-starts and if I will be able to add the run sequence before system shuts-down, the users (it is possible but not unqestionable) do not get out WinGuard and others firms software. this soulution is only for much support and do not keep the required security level. When somebody will restart his machine manualy (reset-key) the runOnce sequense will be not rebuild and after system starts the required sofware will not run, so I can not drop the RUN-regKey idea for RunOnce. I need to beprepared (as an admin) for this kind of situation. _________________ Microsoft: brings power of yesterday to computers of today. |
|||
30 Mar 2004, 09:27 |
|
f0dder 30 Mar 2004, 15:42
Why not keep just the RUN entry, and protect it from user editing? Either by using ACL permissions (WinNT, regedt32 instead of regedit), or some VXD to protect parts of the registry (Win9x) - it might be a better solution, and will protect against hard-reset removal of the regkey.
|
|||
30 Mar 2004, 15:42 |
|
HarryTuttle 01 Apr 2004, 07:38
BINGO!
_________________ Microsoft: brings power of yesterday to computers of today. |
|||
01 Apr 2004, 07:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.