Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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