Debugging Tools for Windows

RemoveSyntheticModule

The RemoveSyntheticModule method removes a synthetic module from the module list the debugger maintains for the current process.

HRESULT
  IDebugSymbols3::RemoveSyntheticModule(
    IN ULONG64  Base
    );

Parameters

Base
Specifies the location in the process's virtual address space of the base of the synthetic module.

Return Value

S_OK
The method was successful.
E_INVALIDARG
No synthetic module was found at the specified location. This is returned if a synthetic module at this location was previously removed or discarded.

This method may also return error values. See Return Values for more details.

Interface Version

RemoveSyntheticModule is available in IDebugSymbols3 and later versions.

Comments

If all the modules are reloaded ‑ for example, by calling Reload with the Module parameter set to the empty string ‑ all synthetic modules will be discarded.

For more information about synthetic modules, see Synthetic Modules.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

AddSyntheticModule, RemoveSyntheticSymbol

Build machine: CAPEBUILD