DkmProcess.SetDetachUnavailable(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by a component to indicate that detach is not allowed on the process.
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
void SetDetachUnavailable(int ReasonCode);
public:
void SetDetachUnavailable(int ReasonCode);
void SetDetachUnavailable(int ReasonCode);
public void SetDetachUnavailable (int ReasonCode);
member this.SetDetachUnavailable : int -> unit
Public Sub SetDetachUnavailable (ReasonCode As Integer)
Parameters
- ReasonCode
- Int32
[In] HRESULT indicating why detach is not available. This should be a failed HRESULT value (value less than zero).