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

Discussion in 'C' started by dukamos, Feb 13, 2007.

  1. dukamos

    dukamos New Member

    Joined:
    Feb 13, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice