Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Defines a name for a constant value.
HRESULT DefineConstant(
[in] const WCHAR *name,
[in] VARIANT value,
[in] ULONG32 cSig,
[in, size_is(cSig)] unsigned char signature[]);
Parameters
name
[in] A pointer to a WCHAR that defines the constant name.value
[in] The value of the constant.cSig
[in] The size of the signature array.signature
[in] The type signature for the constant.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl