Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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