下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
CLSCTX_INPROC_SERVER
(int)
CLSCTX_INPROC_HANDLER
(int)
CLSCTX_LOCAL_SERVER
(int)
CLSCTX_REMOTE_SERVER
(int)
CLSCTX_SERVER
(int)
CLSCTX_INPROC_SERVER
,
CLSCTX_LOCAL_SERVER
, and
CLSCTX_REMOTE_SERVER
.
CLSCTX_ALL
(int)
CLSCTX_INPROC_HANDLER
and
CLSCTX_SERVER
.
VT_NULL
(int)
VT_EMPTY
(int)
VT_EMPTY
has
no data associated with it; that is, the size of the value is zero.
VT_INT
(int)
VT_I4
).
VT_I1
(int)
VT_I2
(int)
VT_I4
(int)
VT_I8
(int)
VT_UINT
(int)
VT_UI4
).
VT_UI1
(int)
VT_UI2
(int)
VT_UI4
(int)
VT_UI8
(int)
VT_R4
(int)
VT_R8
(int)
VT_BOOL
(int)
VT_ERROR
(int)
VT_CY
(int)
VT_DATE
(int)
December 31, 1899
以来的天数(不是秒)。例如,January 1,
1900
是 2.0
,January 2, 1900
是 3.0
等。这与 VT_R8
的存储方式相同。
VT_BSTR
(int)
VT_DECIMAL
(int)
VT_UNKNOWN
(int)
VT_DISPATCH
(int)
VT_VARIANT
(int)
VT_VARIANT
can be used only with
VT_BYREF
.
VT_ARRAY
(int)
VT_ARRAY
by an OR operator, the value is a pointer to a
SAFEARRAY
. VT_ARRAY
can use the OR with the following data types: VT_I1
,
VT_UI1
, VT_I2
, VT_UI2
,
VT_I4
, VT_UI4
, VT_INT
,
VT_UINT
, VT_R4
, VT_R8
,
VT_BOOL
, VT_DECIMAL
, VT_ERROR
,
VT_CY
, VT_DATE
, VT_BSTR
,
VT_DISPATCH
, VT_UNKNOWN
and
VT_VARIANT
.
VT_BYREF
(int)
VT_BYREF
by an OR operator, the value is a reference. Reference types are
interpreted as a reference to data, similar to the reference type in
C++.
CP_ACP
(int)
CP_MACCP
(int)
CP_OEMCP
(int)
CP_UTF7
(int)
CP_UTF8
(int)
CP_SYMBOL
(int)
SYMBOL
translations.
CP_THREAD_ACP
(int)
VARCMP_LT
(int)
bstr
is less than right
bstr
.
VARCMP_EQ
(int)
VARCMP_GT
(int)
bstr
is greater than right
bstr
.
VARCMP_NULL
(int)
NORM_IGNORECASE
(int)
NORM_IGNORENONSPACE
(int)
NORM_IGNORESYMBOLS
(int)
NORM_IGNOREWIDTH
(int)
NORM_IGNOREKANATYPE
(int)
NORM_IGNOREKASHIDA
(int)
DISP_E_DIVBYZERO
(int)
DISP_E_OVERFLOW
(int)
DISP_E_BADINDEX
(int)
DISP_E_PARAMNOTFOUND
(int)
LOCALE_NEUTRAL
(int)
LOCALE_SYSTEM_DEFAULT
(int)