הערה
גישה לעמוד זה דורשת אישור. אתה יכול לנסות להיכנס או לשנות תיקיות.
גישה לעמוד זה דורשת אישור. אתה יכול לנסות לשנות מדריכים.
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, שם ניתן גם ליצור ולבחון בעיות ולמשוך בקשות. למידע נוסף, ראו את מדריך התורמים שלנו.