ISymUnmanagedScope::GetLocals Method
Gets the local variables defined within this scope.
HRESULT GetLocals(
[in] ULONG32 cLocals,
[out] ULONG32 *pcLocals,
[out, size_is(cLocals),
length_is(*pcLocals)] ISymUnmanagedVariable* locals[]);
Parameters
- cLocals
[in] A ULONG32 that indicates the size of the locals array.
- pcLocals
[out] A pointer to a ULONG32 that receives the size of the buffer required to contain the local variables.
- locals
[out] The array that receives the local variables.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl