Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tells the program publisher that a debugger is present and running.
HRESULT SetDebuggerPresent(
BOOL fDebuggerPresent
);
int SetDebuggerPresent(
int fDebuggerPresent
);
Parameters
- fDebuggerPresent
[in] Non-zero (TRUE) if a debugger is present, zero (FALSE) if it is not.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
The presence or absence of a debugger is reflected in the data returned from the IDebugProgramProvider2::GetProviderProcessData method: the value returned there is set or cleared by a prior call to the SetDebuggerPresent method.