Win32 API 日本語リファレンス
ホームUI.Animation › IUIAnimationManager

IUIAnimationManager

COM
IID9169896c-ac8d-4e7d-94e5-67fa4dc2f2e8継承元IUnknown自前メソッド開始 vtbl3

メソッド 19

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT CreateAnimationVariable(DOUBLE initialValue, IUIAnimationVariable** variable)
initialValueDOUBLEinアニメーション変数の初期値を指定する。
variableIUIAnimationVariable**out生成されたアニメーション変数を受け取るポインタである。
vtbl 4 HRESULT ScheduleTransition(IUIAnimationVariable* variable, IUIAnimationTransition* transition, DOUBLE timeNow)
variableIUIAnimationVariable*in遷移を適用する対象のアニメーション変数を指定する。
transitionIUIAnimationTransition*in適用するトランジションを指定する。
timeNowDOUBLEin現在時刻を秒単位で指定する。
vtbl 5 HRESULT CreateStoryboard(IUIAnimationStoryboard** storyboard)
storyboardIUIAnimationStoryboard**out生成されたストーリーボードを受け取るポインタである。
vtbl 6 HRESULT FinishAllStoryboards(DOUBLE completionDeadline)
completionDeadlineDOUBLEinすべてのストーリーボードを完了させるまでの猶予時間を秒単位で指定する。
vtbl 7 HRESULT AbandonAllStoryboards()
vtbl 8 HRESULT Update(DOUBLE timeNow, UI_ANIMATION_UPDATE_RESULT* updateResult)
timeNowDOUBLEin現在時刻を秒単位で指定する。
updateResultUI_ANIMATION_UPDATE_RESULT*outoptional更新により変数値が変化したかどうかを表す結果を受け取るポインタである。
vtbl 9 HRESULT GetVariableFromTag(IUnknown* object, DWORD id, IUIAnimationVariable** variable)
objectIUnknown*inoptional検索対象のタグに関連付けられたオブジェクトを指定する。NULL も指定できる。
idDWORDin検索対象のタグの数値 ID を指定する。
variableIUIAnimationVariable**outタグに一致するアニメーション変数を受け取るポインタである。
vtbl 10 HRESULT GetStoryboardFromTag(IUnknown* object, DWORD id, IUIAnimationStoryboard** storyboard)
objectIUnknown*inoptional検索対象のタグに関連付けられたオブジェクトを指定する。NULL も指定できる。
idDWORDin検索対象のタグの数値 ID を指定する。
storyboardIUIAnimationStoryboard**outタグに一致するストーリーボードを受け取るポインタである。
vtbl 11 HRESULT GetStatus(UI_ANIMATION_MANAGER_STATUS* status)
statusUI_ANIMATION_MANAGER_STATUS*outアニメーションマネージャーの現在の状態を受け取るポインタである。
vtbl 12 HRESULT SetAnimationMode(UI_ANIMATION_MODE mode)
modeUI_ANIMATION_MODEinアニメーションの有効・無効を制御するモードを指定する。
vtbl 13 HRESULT Pause()
vtbl 14 HRESULT Resume()
vtbl 15 HRESULT SetManagerEventHandler(IUIAnimationManagerEventHandler* handler)
handlerIUIAnimationManagerEventHandler*inoptionalマネージャーの状態変化を受け取るイベントハンドラーを指定する。NULL でハンドラーを解除する。
vtbl 16 HRESULT SetCancelPriorityComparison(IUIAnimationPriorityComparison* comparison)
comparisonIUIAnimationPriorityComparison*inoptionalストーリーボードのキャンセル優先度を判定する比較オブジェクトを指定する。NULL も指定できる。
vtbl 17 HRESULT SetTrimPriorityComparison(IUIAnimationPriorityComparison* comparison)
comparisonIUIAnimationPriorityComparison*inoptionalストーリーボードのトリム優先度を判定する比較オブジェクトを指定する。NULL も指定できる。
vtbl 18 HRESULT SetCompressPriorityComparison(IUIAnimationPriorityComparison* comparison)
comparisonIUIAnimationPriorityComparison*inoptionalストーリーボードの圧縮優先度を判定する比較オブジェクトを指定する。NULL も指定できる。
vtbl 19 HRESULT SetConcludePriorityComparison(IUIAnimationPriorityComparison* comparison)
comparisonIUIAnimationPriorityComparison*inoptionalストーリーボードの終結優先度を判定する比較オブジェクトを指定する。NULL も指定できる。
vtbl 20 HRESULT SetDefaultLongestAcceptableDelay(DOUBLE delay)
delayDOUBLEin許容できる最長の遅延時間の既定値を秒単位で指定する。
vtbl 21 HRESULT Shutdown()

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IUIAnimationManager "{9169896C-AC8D-4E7D-94E5-67FA4DC2F2E8}"
#usecom global IUIAnimationManager IID_IUIAnimationManager "{4C1FC63A-695C-47E8-A339-1A194BE3D0B8}"
#comfunc global IUIAnimationManager_CreateAnimationVariable           3 double,sptr
#comfunc global IUIAnimationManager_ScheduleTransition                4 sptr,sptr,double
#comfunc global IUIAnimationManager_CreateStoryboard                  5 sptr
#comfunc global IUIAnimationManager_FinishAllStoryboards              6 double
#comfunc global IUIAnimationManager_AbandonAllStoryboards             7
#comfunc global IUIAnimationManager_Update                            8 double,var
#comfunc global IUIAnimationManager_GetVariableFromTag                9 sptr,int,sptr
#comfunc global IUIAnimationManager_GetStoryboardFromTag              10 sptr,int,sptr
#comfunc global IUIAnimationManager_GetStatus                         11 var
#comfunc global IUIAnimationManager_SetAnimationMode                  12 int
#comfunc global IUIAnimationManager_Pause                             13
#comfunc global IUIAnimationManager_Resume                            14
#comfunc global IUIAnimationManager_SetManagerEventHandler            15 sptr
#comfunc global IUIAnimationManager_SetCancelPriorityComparison       16 sptr
#comfunc global IUIAnimationManager_SetTrimPriorityComparison         17 sptr
#comfunc global IUIAnimationManager_SetCompressPriorityComparison     18 sptr
#comfunc global IUIAnimationManager_SetConcludePriorityComparison     19 sptr
#comfunc global IUIAnimationManager_SetDefaultLongestAcceptableDelay  20 double
#comfunc global IUIAnimationManager_Shutdown                          21
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。