Enumerating all open file handles and/or registry handles in Windows Mobile / Windows CE 5.x

Posted by jdstroy on Stack Overflow See other posts from Stack Overflow or by jdstroy
Published on 2010-04-11T22:20:02Z Indexed on 2010/04/11 22:23 UTC
Read the original article Hit count: 432

Hi all,

Is there a way to enumerate all open file handles and/or registry handles in Windows Mobile 5 / Windows CE 5.x? In particular, I'd like to get the handles for all processes in the system, and not just the ones for my application. This would be similar to the list of handles in Sysinternals's Process Explorer for Win32 or Sysinternals's handle.exe

I anticipate that someone will ask "Is this absolutely necessary for your application?" My answer to that would be "I think so, unless there's a better way to get a list of all open file names and registry key names." The goal is to provide diagnostic information about an application that crashes and fails to uninstall properly, but that worked properly at one time on the same device. (I do not have debugging information for the buggy application.)

© Stack Overflow or respective owner

Related posts about windows-mobile-5.0

Related posts about windows-ce