Edit

IDebugProcessSecurity

IDebugProcessSecurity is implemented by a port supplier to warn the user that attaching to the process is unsafe.

Syntax

IDebugProcessSecurity : IUnknown

Methods in Vtable Order

The following table shows the methods of IDebugProcessSecurity.

Method Description
GetUserName Gets the user name from the port supplier.
QueryCanSafelyAttach Warns a user that attaching to the debugging process is unsafe.

Remarks

Implement this interface to show a warning and allow the user to cancel if the process to which you are attaching can be considered unsafe.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also