Impactnetworking


Win32 API FAQ Sergey Andyk

If you want to add something, and furthermore in that opfogpaficheskyju/sintaksicheskyju is mandatory write to me on.

Version 3.

Hижеприведенные programs, functions, counters and tricks are found by me in the most various places and conferences. Practically all is tested under Microsoft Visual C ++ 4.2 and Microsoft Windows NT 4.0 + SP4 + IE4.

1) How to define, whether the user belongs to group of managers?
2) How to learn what privileges is at the user?
3) How to learn SID the user?
4) As SID to lead to a text type (for example for loading HKEY_USERS)?
5) How to allow (to take away) the rights?
6) How to receive хэндл полиси?
7) How to take to itself the privilege?
8) How to include/ungear audit?
9) How to bang process (including system)?
10) How to deliver system-wide хук (for example to write to a file all pushings of buttons)
11) As зашутдаунить the remote computer?
12) How to make that a window did not appear on таскбаре?
13) How to launch (to strangle) скринсэйвер
14) How to learn ip the address (machines (in a text type)?
15) How to define type Windows on the computer?
16) How to connect a network disk?
17) And how it to disconnect?
18) How to send the message to the user (a-lja net send or winpopup)
19) How to create the user and to grant to it the rights?
20) How to learn what users is on mine (or not mine) the machine?
21) Who on a network or locally is rummaged on mine (not by mine) the machine?
22) As in multiprocessor system to specify to the task on what processor to work
23) How to install (to learn) a process priority?
24) How to install (to learn) a thread priority?
25) How to define type NT - server or workstation?
26) How to trace that only one copy of application worked at present
27) Is available PID process how to learn a name "process executable"?
28) How to derive version EXE, DLL etc.?
29) How to learn a name дефолтового web browsera and, generally, how to learn - with what program ассоциирован the given file type (напр.HTM or.ZIP)?
30) How to delete a directory, if it not the empty?
31) How to forbid switching on alt-tab?
32) How program to push a key (Num Lock for example)?
33) How to incorporate on RAS?
34) How to define, whether there is a connection on RAS?
35) How to break off connection?
36) How to learn a maximum of the information on type and possibilities of OS installed by the remote machine?
37) How to create hard link on NTFS?
38) As "зашедулить" the task?
39) How to look, what there already "нашедулено"?
40) whether It is possible in 95 to use functions Net * () (NetFileEnum, etc.)?
41) How to define frequency of the processor?
42) How to learn MAC the network interface card address?
43) How to make that my program could not be killed?
44) How to learn хэндл a console window?
45) How to activate any window (to transfer it input focus)?
46) How to erase itself?
47) How to change default the printer?
48) How to check up, whether there is a diskette in the disk drive?
49) How to send пинг?
50) How program to change IP the address? And HostName?
51) How program to push button "Start"?
52) How to remove таскбар?
53) As in GUI application to open the console and to assign stdin, stdout, stderr?
54) As, knowing a name and the password of the user and without having privileges for LogonUser (), program to check up them on correctness?
55) How dynamic to hide/show the button on таскбаре?
56) How to process messages from Microsoft IntelliMouse wheel?


Copyright 1999-2010 by Serge Andyk