Redaguoti

DacpDomainLocalModuleData Structure

Defines a transport buffer for domain-local module information.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

struct DacpDomainLocalModuleData : ZeroInit<DacpDomainLocalModuleData>
{
    // These two parameters are used as input parameters when calling Request below.
    CLRDATA_ADDRESS appDomainAddr;
    ULONG64  ModuleID;
    
    CLRDATA_ADDRESS pClassData;   
    CLRDATA_ADDRESS pDynamicClassTable;   
    CLRDATA_ADDRESS pGCStaticDataStart;
    CLRDATA_ADDRESS pNonGCStaticDataStart; 

    // Called when you have a pointer to the DomainLocalModule
    HRESULT Request(ISOSDacInterface *sos, CLRDATA_ADDRESS addr)
    {
        return sos->GetDomainLocalModuleData(addr, this);
    }
};

Members

Member Description
appDomainAddr The address of the application domain used as an input parameter for a request.
ModuleID The module identifier used as an input parameter for a request.
pClassData The address of the class data.
pDynamicClassTable The address of the dynamic class table.
pGCStaticDataStart The start address for garbage-collected static data.
pNonGCStaticDataStart The start address for non-garbage-collected static data.
Request Populates the structure by calling ISOSDacInterface::GetDomainLocalModuleData.

Remarks

This structure lives inside the runtime and is not exposed through any headers or library files. To use it, define the structure as specified above.

Requirements

Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7

See also