Partager 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: SOS_Stacktrace.h

.NET Framework Version: 2.0

See Also

Concepts

Debugging Global Static Functions