CLRDataCreateInstance Function

Creates an interface object for the specified target item.

Syntax

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: See System Requirements.

Header: ClrData.idl

Library: CorGuids.lib

Assembly: mscordacwks.dll, mscordbi.dll

.NET Framework Versions: Available since .NET Framework 2.0

See also