ComObjValue()

提供: AutoHotkey Wiki
移動: 案内検索

実行制御 | GUI表示 | 演算・変数 | メモリ・DLL操作 | 文字列操作 | キーボード | マウス | シェル | ウィンドウ | ウィンドウグループ
ステータスバー | コントロール | サウンド | ファイル | INIファイル | レジストリ | 環境変数 | AutoHotkey | その他 | 設定関係 | オブジェクト

ComObjValue() [v1.0.91+][編集]

AHKL COMラッパーオブジェクトに格納されている値やポインタを取得する。

Value := ComObjValue(ComObject)

Parameters[編集]

引数名 説明
Value 64-bit符号付き整数。
ComObject COMオブジェクトまたは型付き値を含むラッパーオブジェクト。

Remarks[編集]

この関数は、一般的な使用を意図していない。

Calling ComObjValue is equivalent to variant.llVal, where ComObject is treated as a VARIANT structure. Any script which uses this function must be aware what type of value the wrapper object contains and how it should be treated. For instance, if an interface pointer is returned, Release should not be called, but AddRef may be required depending on what the script does with the pointer.

Related[編集]

ComObjType(), ComObjCreate(), ComObjGet(), ComObjActive()