Edit

Share via


IDebugProcess3::GetDebugReason

This method returns the reason that the process was launched for debugging.

Syntax

int GetDebugReason(
   out enum_DEBUG_REASON pReason
);

Parameters

pReason
[out] Returns a value from the DEBUG_REASON enumeration.

Return Value

If successful, returns S_OK; otherwise, returns error code.

See also