이 범위 내에 정의된 지역 상수를 가져옵니다.
HRESULT GetConstants(
[in] ULONG32 cConstants,
[out] ULONG32 *pcConstants,
[out, size_is(cConstants),
length_is(*pcConstants)] ISymUnmanagedConstant*
constants[]);
매개 변수
cConstants
[in] pcConstants 매개 변수가 가리키는 버퍼의 길이입니다.pcConstants
[out] 상수를 포함하는 데 필요한 버퍼의 크기(문자 수)를 받는 ULONG32에 대한 포인터입니다.constants
[out] 상수를 저장하는 버퍼입니다.
반환 값
메서드가 성공하면 S_OK를 반환하고, 그렇지 않으면 E_FAIL 또는 기타 오류 코드를 반환합니다.
요구 사항
헤더: CorSym.idl, CorSym.h