إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
Defines a name for a constant value.
Syntax
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, CorSym.h
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.