CLRDataCreateInstance Function

Creates an interface object for the specified target item.

HRESULT CLRDataCreateInstance (
    [in]  REFIID           iid, 
    [in]  ICLRDataTarget  *target, 
    [out] void           **iface


  • iid
    [in] The identifier of the interface to be instantiated.

  • target
    [in] A pointer to a user-implemented ICLRDataTarget object that represents the target item for which to create the interface object.

  • iface
    [out] A pointer to the address of the returned interface object.


The ICLRDataTarget object is implemented by the writer of the debugging application. The implementation depends on the type of target item being represented. The target item may be a process, memory dump, remote machine, and so on.


Platforms: See .NET Framework System Requirements.

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Debugging Global Static Functions