ISymUnmanagedConstant::GetName Method
Gets the name of the constant.
Syntax
HRESULT GetName(
[in] ULONG32 cchName,
[out] ULONG32 *pcchName,
[out, size_is(cchName),
length_is(*pcchName)] WCHAR szName[]);
Parameters
cchName
[in] The length of the buffer that the szName
parameter points to.
pcchName
[out] A pointer to a ULONG32
that receives the size, in characters, of the buffer required to contain the name, including the null termination.
szName
[out] The buffer that stores the name.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.