Share via


ISymUnmanagedScope2::GetConstants Method

Gets the local constants defined within this scope.

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

See Also

Reference

ISymUnmanagedScope2 Interface