I'm working on PDH (Performance Data Helper). The commands asks for the process name. The name is processed in a specific way such as adding index to the processes that have same names, remove the ".exe". However, I saw some instances whose names were truncated differently.
For example, the process "GoogleDesktopIndex.exe" is trunctated to "GoogleDesktopIndex", but the other process name such as "smtpmanualproc.exe" is truncated to "smtpmanualproc.ex".
The name length is not the determining factor in this case. I just wonder if there is any documentation about the PDH process name processing?