Delen via


_EFN_GetManagedObjectName Function

Gets the name of a type using the provided managed object pointer.

HRESULT _EFN_GetManagedObjectName(
    [in]  PDEBUG_CLIENT  Client,
    [in]  ULONG64        objAddr,
    [out] __out_ecount(cbName) PSTR szName,
    [out] ULONG          cbName
);

Parameters

  • Client
    [in] A pointer to the debug client.

  • objAddr
    [in] A managed object pointer.

  • szName
    [out] The name of the type.

  • cbName
    [out] The number of characters available in the string buffer.

Remarks

If there is no managed code on the thread currently in context, the function returns HRESULT SOS_E_NOMANAGEDCODE with a facility value of 0xa0 and an error code of 0x1000.

Requirements

Platforms: See .NET Framework System Requirements.

Header: SOS_Stacktrace.h

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

See Also

Other Resources

Debugging Global Static Functions