#define global IID_IUIAutomationWindowPattern "{0FAEF453-9208-43EF-BBB2-3B485177864F}"
#usecom global IUIAutomationWindowPattern IID_IUIAutomationWindowPattern "{}"
#comfunc global IUIAutomationWindowPattern_Close 3
#comfunc global IUIAutomationWindowPattern_WaitForInputIdle 4 int,var
#comfunc global IUIAutomationWindowPattern_SetWindowVisualState 5 int
#comfunc global IUIAutomationWindowPattern_get_CurrentCanMaximize 6 var
#comfunc global IUIAutomationWindowPattern_get_CurrentCanMinimize 7 var
#comfunc global IUIAutomationWindowPattern_get_CurrentIsModal 8 var
#comfunc global IUIAutomationWindowPattern_get_CurrentIsTopmost 9 var
#comfunc global IUIAutomationWindowPattern_get_CurrentWindowVisualState 10 var
#comfunc global IUIAutomationWindowPattern_get_CurrentWindowInteractionState 11 var
#comfunc global IUIAutomationWindowPattern_get_CachedCanMaximize 12 var
#comfunc global IUIAutomationWindowPattern_get_CachedCanMinimize 13 var
#comfunc global IUIAutomationWindowPattern_get_CachedIsModal 14 var
#comfunc global IUIAutomationWindowPattern_get_CachedIsTopmost 15 var
#comfunc global IUIAutomationWindowPattern_get_CachedWindowVisualState 16 var
#comfunc global IUIAutomationWindowPattern_get_CachedWindowInteractionState 17 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IUIAutomationWindowPattern "{0FAEF453-9208-43EF-BBB2-3B485177864F}"
#usecom global IUIAutomationWindowPattern IID_IUIAutomationWindowPattern "{}"
#comfunc global IUIAutomationWindowPattern_Close 3
#comfunc global IUIAutomationWindowPattern_WaitForInputIdle 4 int,sptr
#comfunc global IUIAutomationWindowPattern_SetWindowVisualState 5 int
#comfunc global IUIAutomationWindowPattern_get_CurrentCanMaximize 6 sptr
#comfunc global IUIAutomationWindowPattern_get_CurrentCanMinimize 7 sptr
#comfunc global IUIAutomationWindowPattern_get_CurrentIsModal 8 sptr
#comfunc global IUIAutomationWindowPattern_get_CurrentIsTopmost 9 sptr
#comfunc global IUIAutomationWindowPattern_get_CurrentWindowVisualState 10 sptr
#comfunc global IUIAutomationWindowPattern_get_CurrentWindowInteractionState 11 sptr
#comfunc global IUIAutomationWindowPattern_get_CachedCanMaximize 12 sptr
#comfunc global IUIAutomationWindowPattern_get_CachedCanMinimize 13 sptr
#comfunc global IUIAutomationWindowPattern_get_CachedIsModal 14 sptr
#comfunc global IUIAutomationWindowPattern_get_CachedIsTopmost 15 sptr
#comfunc global IUIAutomationWindowPattern_get_CachedWindowVisualState 16 sptr
#comfunc global IUIAutomationWindowPattern_get_CachedWindowInteractionState 17 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。