ISymUnmanagedScope2::GetConstants Method
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
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.