Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   need Help, read object handles event,mutex,sempahore,key,file...e etc... (http://www.go4expert.com/forums/help-read-object-handles-t2997/)

dukamos 14Feb2007 04:39

need Help, read object handles event,mutex,sempahore,key,file...e etc...
 
hi,

i realy need a big help here, i need to read object handles, from a process i want to read them and list them in console...

for an idea like the program from sysinternals.com the handle.exe it list all handles from all processes or if we give a specific process it list all this object handles...

my problem is im a newbie in c++ and i dont know where to look into, i've been in some forums already and without success...

i've been arround arround google, but nothing i found GetHandleInformation that says:

hObject
[in] A handle to an object whose information is to be retrieved.

You can specify a handle to one of the following types of objects: access token, console input buffer, console screen buffer, event, file, file mapping, job, mailslot, mutex, pipe, printer, process, registry key, semaphore, serial communication device, socket, thread, or waitable timer.

Windows NT: This parameter cannot be a handle to a console input buffer or a console screen buffer.

but i cant find any good information about this function in google... i dont understand how can i get the information from one process about the object handles...

pls someone could give me a help here ? thanks


All times are GMT +5.5. The time now is 07:09.