Adds missing dll-export declarations.
Moves ProcessInfo impl into .cpp file.