a quick search of the UDF's turns up some links that may be of some use.

Process

looks like EnumProcess() is what you are looking for.