// sample09.hsp EVRを利用して再生 (Windows Vista 以降) #include "hspdsp.as" dsp_Init ; 初期化 dialog "*",16,"メディアファイル" if stat=0:end // EVRレンダラーで開く dsp_Open refstr,OPEN_EVR ,hwnd,0,0 onexit *exit ; 終了時開放するため dsp_Play hwnd,0,0,640,480 ; 0,0 座標に 640x480 の大きさで表示 if stat!=0:dialog "EVRが使えないようです。" stop *exit dsp_Close ; メディアファイルを閉じる dsp_Exit ; 開放 end