none
OpenProcess fails RRS feed

  • Question

  • Hi,

    I have a service running in session 0 and a user process running in session 1.
    User process uses OpenProcess to get a handle to the process running as service in session 0 but fails with code ERROR_ACCESS_DENIED. process running in session 0 is run by system admionistrator, call to OpenProcess looks like that:
    OpenProcess( PROCESS_QUERY_INFORMATION, TRUE, pid );


    What might be the reason for OpenProcess to fail like this?
    How can I work around it?


    Sunday, November 18, 2007 12:05 PM

Answers

All replies