Why doesn't GetOriginatorProcessName return some process names?

If the GetOriginatorProcessName() method returns false, check the error code using the GetLastError() function from the Windows API. If the buffer is too small, increase the size of the buffer. Note that the buffer size of MAX_PATH might not be enough.

Ready to get started?

Learn more about Callback Technologies or download a free trial.

Download Now