At a cmd.exe prompt, if I enter something like 'more|find ""', I can then
browse the named piped information using Sysinternals Process Explorer,
(http://www.sysinternals.com/ntw2k/fr.../procexp.shtml)
which shows that both processes have a file open named something like:-
\Device\NamedPipe\Win32Pipes.000006b8.00000005
So on that basis if I entered something like 'myapp|appx', it's theoretically
possible for myapp to determine appx's process ID, since they both share the
same pipe. Any ideas on how to:-
a) Translate a file handle into it's filename?
b) Enumerate file handles of other process's?
c) Translate another process's file handle into it's filename?
I've not been able to find anything in SDK/Google that seems to fit bill
--
Ritchie