共用方式為


DkmProcess.SetDetachUnavailable(Int32) Method

Definition

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).

Applies to