Struttura DacpCCWData

Definisce un buffer di trasporto per informazioni COM callable wrapper (CCW).

Note

Questa API è stata originariamente progettata per l'uso interno nel runtime. Sebbene sia ora supportato per l'uso di terze parti, è consigliabile usare ICorDebug le API e ICorProfiler quando possibile.

Sintassi

struct DacpCCWData : ZeroInit<DacpCCWData>
{
    CLRDATA_ADDRESS outerIUnknown;
    CLRDATA_ADDRESS managedObject;
    CLRDATA_ADDRESS handle;
    CLRDATA_ADDRESS ccwAddress;

    LONG refCount;
    LONG interfaceCount;
    BOOL isNeutered;

    LONG jupiterRefCount;
    BOOL isPegged;
    BOOL isGlobalPegged;
    BOOL hasStrongRef;
    BOOL isExtendsCOMObject;
    BOOL isAggregated;
    
    HRESULT Request(ISOSDacInterface *sos, CLRDATA_ADDRESS ccw)
    {
        return sos->GetCCWData(ccw, this);
    }
};

Members

Membro Descrizione
outerIUnknown Indirizzo del puntatore esterno IUnknown .
managedObject Indirizzo dell'oggetto gestito associato al CCW.
handle Indirizzo dell'handle per l'oggetto gestito.
ccwAddress Indirizzo del CCW.
refCount Conteggio dei riferimenti per il CCW.
interfaceCount Numero di interfacce associate al CCW.
isNeutered Valore che indica se il CCW è sottoposto a computer.
jupiterRefCount Conteggio dei riferimenti di Giove per il CCW.
isPegged Valore che indica se il CCW è ancorato.
isGlobalPegged Valore che indica se il CCW è a livello globale.
hasStrongRef Valore che indica se ccW ha un riferimento sicuro.
isExtendsCOMObject Valore che indica se l'oggetto gestito estende un oggetto COM.
isAggregated Valore che indica se il CCW è aggregato.
Request Popola la struttura chiamando ISOSDacInterface::GetCCWData.

Remarks

Questa struttura si trova all'interno del runtime e non viene esposta tramite intestazioni o file di libreria. Per usarla, definire la struttura come specificato in precedenza.

Requisiti

Piattaforme: Vedere Requisiti di sistema.
Intestazione: Nessuno
Biblioteca: Nessuno
versioni di .NET Framework: disponibile dalla versione 4.7

Vedere anche