Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.54 KB

efn-getmanagedobjectname-function.md

File metadata and controls

62 lines (46 loc) · 1.54 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: _EFN_GetManagedObjectName Function
_EFN_GetManagedObjectName Function
03/30/2017
_EFN_GetManagedObjectName
mscordbi.dll
COM
_EFN_GetManagedObjectName
_EFN_GetManagedObjectName function [.NET Framework debugging]
6e7c6bee-7ced-495f-bf6c-2a5f0c716f7e
apiref

_EFN_GetManagedObjectName Function

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

Syntax

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

Header: SOS_Stacktrace.h

.NET Framework Versions: [!INCLUDEnet_current_v20plus]

See also