mirror of
https://github.com/php/doc-ja.git
synced 2026-03-27 00:22:08 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@351153 c90b9560-bf6c-de11-be94-00142212c4b1
655 lines
18 KiB
XML
655 lines
18 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: takagi Status: ready -->
|
|
<!-- Credits: mumumu -->
|
|
<chapter xml:id="com.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<table>
|
|
<title>COM 定数</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>定数</entry>
|
|
<entry>値</entry>
|
|
<entry>説明</entry>
|
|
<entry>備考</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.clsctx-inproc-server">
|
|
<entry>
|
|
<constant>CLSCTX_INPROC_SERVER</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>
|
|
このクラスのコードを作成および管理するコードは DLL で、
|
|
クラスのコンテキストを指定する呼び出し元の関数と同じプロセスで動きます。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.clsctx-inproc-handler">
|
|
<entry>
|
|
<constant>CLSCTX_INPROC_HANDLER</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>
|
|
このクラスのオブジェクトを管理するコードはプロセス内ハンドラです。
|
|
これは DLL で、クライアントプロセスで動きます。
|
|
クラスのインスタンスがリモートでアクセスされるときに、
|
|
このクラスのクライアント側の構造を実装します。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.clsctx-local-server">
|
|
<entry>
|
|
<constant>CLSCTX_LOCAL_SERVER</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry>
|
|
このクラスのオブジェクトを作成および管理する EXE コードで、
|
|
同じマシンで動きますが別のプロセス空間にロードされます。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.clsctx-remote-server">
|
|
<entry>
|
|
<constant>CLSCTX_REMOTE_SERVER</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>16</entry>
|
|
<entry>
|
|
リモートコンテキスト。
|
|
このクラスのオブジェクトを作成および管理するコードは、別のコンピュータで動きます。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.clsctx-server">
|
|
<entry>
|
|
<constant>CLSCTX_SERVER</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>21</entry>
|
|
<entry>
|
|
プロセス内、ローカル、リモートのすべてのサーバーコードを表します。
|
|
<constant>CLSCTX_INPROC_SERVER</constant>、
|
|
<constant>CLSCTX_LOCAL_SERVER</constant> および
|
|
<constant>CLSCTX_REMOTE_SERVER</constant> を OR で連結したものです。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.clsctx-all">
|
|
<entry>
|
|
<constant>CLSCTX_ALL</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>23</entry>
|
|
<entry>
|
|
すべてのクラスコンテキストを表します。
|
|
<constant>CLSCTX_INPROC_HANDLER</constant> と
|
|
<constant>CLSCTX_SERVER</constant> を OR で連結したものです。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-null">
|
|
<entry>
|
|
<constant>VT_NULL</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>
|
|
NULL ポインタへの参照。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-empty">
|
|
<entry>
|
|
<constant>VT_EMPTY</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>0</entry>
|
|
<entry>
|
|
型インジケータが <constant>VT_EMPTY</constant> であるプロパティには、
|
|
何もデータが関連づけられていません。つまり、この値のサイズはゼロです。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-int">
|
|
<entry>
|
|
<constant>VT_INT</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>22</entry>
|
|
<entry>
|
|
4 バイト符号つき整数値
|
|
(<constant>VT_I4</constant> と同じ)。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-i1">
|
|
<entry>
|
|
<constant>VT_I1</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>16</entry>
|
|
<entry>
|
|
1 バイト符号つき整数値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-i2">
|
|
<entry>
|
|
<constant>VT_I2</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>
|
|
2 バイト符号つき整数値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-i4">
|
|
<entry>
|
|
<constant>VT_I4</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry>
|
|
4 バイト符号つき整数値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-i8">
|
|
<entry>
|
|
<constant>VT_I8</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>20</entry>
|
|
<entry>
|
|
8 バイト符号つき整数値。
|
|
</entry>
|
|
<entry>PHP 7.0.0 以降で利用可能です(x64 のみ)</entry>
|
|
</row>
|
|
<row xml:id="constant.vt-uint">
|
|
<entry>
|
|
<constant>VT_UINT</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>23</entry>
|
|
<entry>
|
|
4 バイト符号なし整数値
|
|
(<constant>VT_I4</constant> と同じ)。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-ui1">
|
|
<entry>
|
|
<constant>VT_UI1</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>17</entry>
|
|
<entry>
|
|
1 バイト符号なし整数値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-ui2">
|
|
<entry>
|
|
<constant>VT_UI2</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>18</entry>
|
|
<entry>
|
|
2 バイト符号なし整数値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-ui4">
|
|
<entry>
|
|
<constant>VT_UI4</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>19</entry>
|
|
<entry>
|
|
4 バイト符号なし整数値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-ui8">
|
|
<entry>
|
|
<constant>VT_UI8</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>21</entry>
|
|
<entry>
|
|
8 バイト符号なし整数値。
|
|
</entry>
|
|
<entry>PHP 7.0.0 以降で利用可能です(x64 のみ)</entry>
|
|
</row>
|
|
<row xml:id="constant.vt-r4">
|
|
<entry>
|
|
<constant>VT_R4</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry>
|
|
32 ビット IEEE 浮動小数点値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-r8">
|
|
<entry>
|
|
<constant>VT_R8</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>5</entry>
|
|
<entry>
|
|
64 ビット IEEE 浮動小数点値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-bool">
|
|
<entry>
|
|
<constant>VT_BOOL</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>11</entry>
|
|
<entry>
|
|
Boolean 値。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-error">
|
|
<entry>
|
|
<constant>VT_ERROR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>10</entry>
|
|
<entry>
|
|
エラーコード。エラーに関連づけられたステータスコードです。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-cy">
|
|
<entry>
|
|
<constant>VT_CY</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>6</entry>
|
|
<entry>
|
|
8 バイト整数値をふたつつなげたもの (スケールは 10,000)。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-date">
|
|
<entry>
|
|
<constant>VT_DATE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>7</entry>
|
|
<entry>
|
|
64 ビット浮動小数点値で、1899 年 12 月 31 日からの経過日数 (秒ではありません)
|
|
を表します。たとえば <literal>January 1, 1900</literal> は 2.0、
|
|
<literal>January 2, 1900</literal> は 3.0 のようになります。
|
|
格納されるときは <constant>VT_R8</constant> と同じ形式になります。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-bstr">
|
|
<entry>
|
|
<constant>VT_BSTR</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>8</entry>
|
|
<entry>
|
|
Null 終端の Unicode 文字列へのポインタ。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-decimal">
|
|
<entry>
|
|
<constant>VT_DECIMAL</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>14</entry>
|
|
<entry>
|
|
十進型。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-unknown">
|
|
<entry>
|
|
<constant>VT_UNKNOWN</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>13</entry>
|
|
<entry>
|
|
IUnknown インターフェイスを実装したオブジェクトへのポインタ。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-dispatch">
|
|
<entry>
|
|
<constant>VT_DISPATCH</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>9</entry>
|
|
<entry>
|
|
指定したオブジェクトへのポインタのポインタ。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-variant">
|
|
<entry>
|
|
<constant>VT_VARIANT</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>12</entry>
|
|
<entry>
|
|
対応する値を表す型インジケータ。
|
|
<constant>VT_VARIANT</constant> を使うのは、
|
|
<constant>VT_BYREF</constant> と組み合わせる場合のみです。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-array">
|
|
<entry>
|
|
<constant>VT_ARRAY</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>8192</entry>
|
|
<entry>
|
|
型インジケータを
|
|
<constant>VT_ARRAY</constant> と OR 演算子で組み合わせると、
|
|
その値は <literal>SAFEARRAY</literal> へのポインタとなります。
|
|
<constant>VT_ARRAY</constant> は、次のデータ型と OR で連結可能です。
|
|
<constant>VT_I1</constant>,
|
|
<constant>VT_UI1</constant>, <constant>VT_I2</constant>, <constant>VT_UI2</constant>,
|
|
<constant>VT_I4</constant>, <constant>VT_UI4</constant>, <constant>VT_INT</constant>,
|
|
<constant>VT_UINT</constant>, <constant>VT_R4</constant>, <constant>VT_R8</constant>,
|
|
<constant>VT_BOOL</constant>, <constant>VT_DECIMAL</constant>, <constant>VT_ERROR</constant>,
|
|
<constant>VT_CY</constant>, <constant>VT_DATE</constant>, <constant>VT_BSTR</constant>,
|
|
<constant>VT_DISPATCH</constant>, <constant>VT_UNKNOWN</constant> および
|
|
<constant>VT_VARIANT</constant>.
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.vt-byref">
|
|
<entry>
|
|
<constant>VT_BYREF</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>16384</entry>
|
|
<entry>
|
|
型インジケータを
|
|
<constant>VT_BYREF</constant> と OR 演算子で組み合わせると、
|
|
その値は参照となります。参照型はデータへの参照として扱われます。
|
|
C++ における参照型と同じです。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.cp-acp">
|
|
<entry>
|
|
<constant>CP_ACP</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>0</entry>
|
|
<entry>
|
|
ANSI コードページのデフォルト。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.cp-maccp">
|
|
<entry>
|
|
<constant>CP_MACCP</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>
|
|
Macintosh コードページ。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.cp-oemcp">
|
|
<entry>
|
|
<constant>CP_OEMCP</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>
|
|
OEM コードページのデフォルト。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.cp-utf7">
|
|
<entry>
|
|
<constant>CP_UTF7</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>65000</entry>
|
|
<entry>
|
|
Unicode (UTF-7)。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.cp-utf8">
|
|
<entry>
|
|
<constant>CP_UTF8</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>65001</entry>
|
|
<entry>
|
|
Unicode (UTF-8)。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.cp-symbol">
|
|
<entry>
|
|
<constant>CP_SYMBOL</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>42</entry>
|
|
<entry>
|
|
<literal>SYMBOL</literal> 変換。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.cp-thread-acp">
|
|
<entry>
|
|
<constant>CP_THREAD_ACP</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry>
|
|
現在のスレッドの ANSI コードページ。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.varcmp-lt">
|
|
<entry>
|
|
<constant>VARCMP_LT</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>0</entry>
|
|
<entry>
|
|
左の <literal>bstr</literal> のほうが右の
|
|
<literal>bstr</literal> より小さい。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.varcmp-eq">
|
|
<entry>
|
|
<constant>VARCMP_EQ</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>
|
|
ふたつのパラメータが等しい。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.varcmp-gt">
|
|
<entry>
|
|
<constant>VARCMP_GT</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>
|
|
左の <literal>bstr</literal> のほうが右の
|
|
<literal>bstr</literal> より大きい。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.varcmp-null">
|
|
<entry>
|
|
<constant>VARCMP_NULL</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>3</entry>
|
|
<entry>
|
|
両方の式が NULL である。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.norm-ignorecase">
|
|
<entry>
|
|
<constant>NORM_IGNORECASE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>1</entry>
|
|
<entry>
|
|
大文字小文字を区別しない。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.norm-ignorenonspace">
|
|
<entry>
|
|
<constant>NORM_IGNORENONSPACE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>2</entry>
|
|
<entry>
|
|
空白文字以外を無視する。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.norm-ignoresymbols">
|
|
<entry>
|
|
<constant>NORM_IGNORESYMBOLS</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>4</entry>
|
|
<entry>
|
|
記号を無視する。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.norm-ignorewidth">
|
|
<entry>
|
|
<constant>NORM_IGNOREWIDTH</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>131072</entry>
|
|
<entry>
|
|
文字幅を無視する。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.norm-ignorekanatype">
|
|
<entry>
|
|
<constant>NORM_IGNOREKANATYPE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>65536</entry>
|
|
<entry>
|
|
カナの型を無視する。
|
|
</entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row xml:id="constant.norm-ignorekashida">
|
|
<entry>
|
|
<constant>NORM_IGNOREKASHIDA</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>262144</entry>
|
|
<entry>
|
|
アラビア語の kashida 文字を無視する。
|
|
</entry>
|
|
<entry>
|
|
使えるかどうかは、元となるライブラリに依存します。
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.disp-e-divbyzero">
|
|
<entry>
|
|
<constant>DISP_E_DIVBYZERO</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>-2147352558</entry>
|
|
<entry>
|
|
ゼロ除算エラー。
|
|
</entry>
|
|
<entry>PHP 7.0.0 以降、x64 における値は <literal>2147614738</literal> です。</entry>
|
|
</row>
|
|
<row xml:id="constant.disp-e-overflow">
|
|
<entry>
|
|
<constant>DISP_E_OVERFLOW</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>-2147352566</entry>
|
|
<entry>
|
|
期待する形式で値を表すことができないことを意味するエラー。
|
|
</entry>
|
|
<entry>PHP 7.0.0 以降、x64 における値は <literal>2147614730</literal> です。</entry>
|
|
</row>
|
|
<row xml:id="constant.disp-e-badindex">
|
|
<entry>
|
|
<constant>DISP_E_BADINDEX</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>-2147352565</entry>
|
|
<entry>
|
|
配列のインデックスが存在しないことを意味するエラー。
|
|
</entry>
|
|
<entry>PHP 7.0.0 以降、x64 における値は <literal>2147614731</literal> です。</entry>
|
|
</row>
|
|
<row xml:id="constant.mk-e-unavailable">
|
|
<entry>
|
|
<constant>MK_E_UNAVAILABLE</constant>
|
|
(<type>int</type>)
|
|
</entry>
|
|
<entry>-2147221021</entry>
|
|
<entry>
|
|
iMoniker COM ステータスコード。
|
|
その関数が使えないことを表します。
|
|
</entry>
|
|
<entry>PHP 7.0.0 以降、x64 における値は <literal>2147746275</literal> です。</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|