Parameters
hProcess
[in] Handle to the process.
pbDebuggerPresent
[in, out] Pointer to a variable that the function sets to TRUE if the specified process is being debugged, or FALSE otherwise.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.