Share via


DkmModuleInstance.SetDisabled(Boolean) Method

Definition

Updates the disabled status on a module. This method may only be called from a ModuleInstanceLoad event. When disabling a module, it is common to also suppress the module load event.

public:
 void SetDisabled(bool IsDisabled);
public:
 void SetDisabled(bool IsDisabled);
void SetDisabled(bool IsDisabled);
public void SetDisabled (bool IsDisabled);
member this.SetDisabled : bool -> unit
Public Sub SetDisabled (IsDisabled As Boolean)

Parameters

IsDisabled
Boolean

[In] Indicates if this module instance has been disabled. Disabled modules are largely ignored by the debugger. For native modules, the address range of the disabled module is treated as if it is unmapped. For CLR modules, any frames from these modules is hidden from the call stack.

Applies to