CLRDataCreateInstance Function

Creates an interface object for the specified target item.

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

Parameters

  • 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.

Remarks

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.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

Debugging Global Static Functions