Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ICorProfilerCallback::COMClassicVTableCreated Method

Notifies the profiler that a COM interop vtable for the specified IID and class has been created.

HRESULT COMClassicVTableCreated(
    [in] ClassID wrappedClassId,
    [in] REFGUID implementedIID,
    [in] void    *pVTable,
    [in] ULONG   cSlots);


[in] The ID of the class for which the vtable has been created.


[in] The ID of the interface implemented by the class. This value may be NULL if the interface is internal only.


[in] A pointer to the start of the vtable.


[in] The number of slots that are in the vtable.

The profiler should not block in its implementation of this method because the stack may not be in a state that allows garbage collection, and therefore preemptive garbage collection cannot be enabled. If the profiler blocks here and garbage collection is attempted, the runtime will block until this callback returns.

The profiler's implementation of this method should not call into managed code or in any way cause a managed-memory allocation.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.6 RC, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

© 2015 Microsoft