diff --git a/reference/com/constants.xml b/reference/com/constants.xml index 11eb23efa8d0..3adac99101c6 100644 --- a/reference/com/constants.xml +++ b/reference/com/constants.xml @@ -9,7 +9,6 @@ Constant - Value Description Notes @@ -20,10 +19,9 @@ CLSCTX_INPROC_SERVER (int) - 1 - The code that creates and manages objects of this class is - a DLL that runs in the same process as the caller of the + The code that creates and manages objects of this class is + a DLL that runs in the same process as the caller of the function specifying the class context. @@ -33,11 +31,10 @@ CLSCTX_INPROC_HANDLER (int) - 2 - The code that manages objects of this class is an in-process - handler. This is a DLL that runs in the client process and - implements client-side structures of this class when instances + The code that manages objects of this class is an in-process + handler. This is a DLL that runs in the client process and + implements client-side structures of this class when instances of the class are accessed remotely. @@ -47,9 +44,8 @@ CLSCTX_LOCAL_SERVER (int) - 4 - The EXE code that creates and manages objects of this class runs on + The EXE code that creates and manages objects of this class runs on same machine but is loaded in a separate process space. @@ -59,9 +55,8 @@ CLSCTX_REMOTE_SERVER (int) - 16 - A remote context. The code that creates and manages objects of this + A remote context. The code that creates and manages objects of this class is run on a different computer. @@ -71,11 +66,10 @@ CLSCTX_SERVER (int) - 21 - Indicates server code, whether in-process, local, or remote. This - definition ORs CLSCTX_INPROC_SERVER, - CLSCTX_LOCAL_SERVER, and + Indicates server code, whether in-process, local, or remote. This + definition ORs CLSCTX_INPROC_SERVER, + CLSCTX_LOCAL_SERVER, and CLSCTX_REMOTE_SERVER. @@ -85,10 +79,9 @@ CLSCTX_ALL (int) - 23 - Indicates all class contexts. This definition ORs - CLSCTX_INPROC_HANDLER and + Indicates all class contexts. This definition ORs + CLSCTX_INPROC_HANDLER and CLSCTX_SERVER. @@ -98,7 +91,6 @@ VT_NULL (int) - 1 NULL pointer reference. @@ -109,9 +101,8 @@ VT_EMPTY (int) - 0 - A property with a type indicator of VT_EMPTY has + A property with a type indicator of VT_EMPTY has no data associated with it; that is, the size of the value is zero. @@ -121,9 +112,8 @@ VT_INT (int) - 22 - 4-byte signed integer value (equivalent to + 4-byte signed integer value (equivalent to VT_I4). @@ -133,7 +123,6 @@ VT_I1 (int) - 16 1-byte signed integer. @@ -144,7 +133,6 @@ VT_I2 (int) - 2 Two bytes representing a 2-byte signed integer value. @@ -155,7 +143,6 @@ VT_I4 (int) - 3 4-byte signed integer value. @@ -166,20 +153,18 @@ VT_I8 (int) - 20 8-byte signed integer value. - Available as of PHP 7.0.0 (x64 only). + x64 only VT_UINT (int) - 23 - 4-byte unsigned integer (equivalent to + 4-byte unsigned integer (equivalent to VT_UI4). @@ -189,7 +174,6 @@ VT_UI1 (int) - 17 1-byte unsigned integer. @@ -200,7 +184,6 @@ VT_UI2 (int) - 18 2-byte unsigned integer. @@ -211,7 +194,6 @@ VT_UI4 (int) - 19 4-byte unsigned integer. @@ -222,18 +204,16 @@ VT_UI8 (int) - 21 8-byte unsigned integer. - Available as of PHP 7.0.0 (x64 only). + x64 only VT_R4 (int) - 4 32-bit IEEE floating point value. @@ -244,7 +224,6 @@ VT_R8 (int) - 5 64-bit IEEE floating point value. @@ -255,7 +234,6 @@ VT_BOOL (int) - 11 Boolean value. @@ -266,9 +244,8 @@ VT_ERROR (int) - 10 - Error code; containing the status code associated with the + Error code; containing the status code associated with the error. @@ -278,7 +255,6 @@ VT_CY (int) - 6 8-byte two's complement integer (scaled by 10,000). @@ -289,13 +265,12 @@ VT_DATE (int) - 7 - A 64-bit floating point number representing the number of days - (not seconds) since December 31, 1899. For example, - January 1, 1900, is 2.0, January 2, 1900, - is 3.0, and so on). This is stored in the same representation as - VT_R8. + A 64-bit floating point number representing the number of days + (not seconds) since December 31, 1899. + For example, January 1, 1900 is 2.0, + January 2, 1900 is 3.0, etc. + This is stored in the same representation as VT_R8. @@ -304,7 +279,6 @@ VT_BSTR (int) - 8 Pointer to a null-terminated Unicode string. @@ -315,7 +289,6 @@ VT_DECIMAL (int) - 14 A decimal structure. @@ -326,7 +299,6 @@ VT_UNKNOWN (int) - 13 A pointer to an object that implements the IUnknown interface. @@ -337,7 +309,6 @@ VT_DISPATCH (int) - 9 A pointer to a pointer to an object was specified. @@ -348,10 +319,9 @@ VT_VARIANT (int) - 12 - A type indicator followed by the corresponding value. - VT_VARIANT can be used only with + A type indicator followed by the corresponding value. + VT_VARIANT can be used only with VT_BYREF. @@ -361,18 +331,17 @@ VT_ARRAY (int) - 8192 - If the type indicator is combined with - 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 + If the type indicator is combined with + 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. @@ -382,11 +351,10 @@ VT_BYREF (int) - 16384 - If the type indicator is combined with 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 + If the type indicator is combined with 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++. @@ -396,7 +364,6 @@ CP_ACP (int) - 0 Default to ANSI code page. @@ -407,7 +374,6 @@ CP_MACCP (int) - 2 Macintosh code page. @@ -418,7 +384,6 @@ CP_OEMCP (int) - 1 Default to OEM code page. @@ -429,7 +394,6 @@ CP_UTF7 (int) - 65000 Unicode (UTF-7). @@ -440,7 +404,6 @@ CP_UTF8 (int) - 65001 Unicode (UTF-8). @@ -451,7 +414,6 @@ CP_SYMBOL (int) - 42 SYMBOL translations. @@ -462,7 +424,6 @@ CP_THREAD_ACP (int) - 3 Current thread's ANSI code page @@ -473,9 +434,8 @@ VARCMP_LT (int) - 0 - The left bstr is less than right + The left bstr is less than right bstr. @@ -485,7 +445,6 @@ VARCMP_EQ (int) - 1 The two parameters are equal. @@ -496,9 +455,8 @@ VARCMP_GT (int) - 2 - The left bstr is greater than right + The left bstr is greater than right bstr. @@ -508,7 +466,6 @@ VARCMP_NULL (int) - 3 Either expression is NULL. @@ -519,7 +476,6 @@ NORM_IGNORECASE (int) - 1 Ignore case sensitivity. @@ -530,7 +486,6 @@ NORM_IGNORENONSPACE (int) - 2 Ignore nonspacing characters. @@ -541,7 +496,6 @@ NORM_IGNORESYMBOLS (int) - 4 Ignore symbols. @@ -552,7 +506,6 @@ NORM_IGNOREWIDTH (int) - 131072 Ignore string width. @@ -563,7 +516,6 @@ NORM_IGNOREKANATYPE (int) - 65536 Ignore Kana type. @@ -574,7 +526,6 @@ NORM_IGNOREKASHIDA (int) - 262144 Ignore Arabic kashida characters. @@ -587,65 +538,59 @@ DISP_E_DIVBYZERO (int) - -2147352558 A return error that indicates a divide by zero error. - As of PHP 7.0.0, the value is 2147614738 on x64. + DISP_E_OVERFLOW (int) - -2147352566 - An error that indicates that a value could not be coerced to + An error that indicates that a value could not be coerced to its expected representation. - As of PHP 7.0.0, the value is 2147614730 on x64. + DISP_E_BADINDEX (int) - -2147352565 An error that indicates that an array index does not exist. - As of PHP 7.0.0, the value is 2147614731 on x64. + DISP_E_PARAMNOTFOUND (int) - -2147352572 A return value that indicates that one of the parameter IDs does not correspond to a parameter on the method. - As of PHP 7.0.0, the value is 2147614724 on x64. + MK_E_UNAVAILABLE (int) - -2147221021 - iMoniker COM status code, return on errors where the function call + iMoniker COM status code, return on errors where the function call failed due to unavailability. - As of PHP 7.0.0, the value is 2147746275 on x64. + LOCALE_NEUTRAL (int) - 0 The neutral locale. This constant is generally not used when calling NLS APIs. Instead, use LOCALE_SYSTEM_DEFAULT. @@ -657,7 +602,6 @@ LOCALE_SYSTEM_DEFAULT (int) - 2048 The default locale for the operating system.