ISymUnmanagedScope2::GetConstants Method
Gets the local constants defined within this scope.
Syntax
HRESULT GetConstants(
[in] ULONG32 cConstants,
[out] ULONG32 *pcConstants,
[out, size_is(cConstants),
length_is(*pcConstants)] ISymUnmanagedConstant*
constants[]);
Parameters
cConstants
[in] The length of the buffer that the pcConstants
parameter points to.
pcConstants
[out] A pointer to a ULONG32
that receives the size, in characters, of the buffer required to contain the constants.
constants
[out] The buffer that stores the constants.
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.