#define global IID_IHTMLStyleSheet "{3050F2E3-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLStyleSheet IID_IHTMLStyleSheet "{3050F2E4-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLStyleSheet_put_title 7 wstr
#comfunc global IHTMLStyleSheet_get_title 8 var
#comfunc global IHTMLStyleSheet_get_parentStyleSheet 9 sptr
#comfunc global IHTMLStyleSheet_get_owningElement 10 sptr
#comfunc global IHTMLStyleSheet_put_disabled 11 int
#comfunc global IHTMLStyleSheet_get_disabled 12 var
#comfunc global IHTMLStyleSheet_get_readOnly 13 var
#comfunc global IHTMLStyleSheet_get_imports 14 sptr
#comfunc global IHTMLStyleSheet_put_href 15 wstr
#comfunc global IHTMLStyleSheet_get_href 16 var
#comfunc global IHTMLStyleSheet_get_type 17 var
#comfunc global IHTMLStyleSheet_get_id 18 var
#comfunc global IHTMLStyleSheet_addImport 19 wstr,int,var
#comfunc global IHTMLStyleSheet_addRule 20 wstr,wstr,int,var
#comfunc global IHTMLStyleSheet_removeImport 21 int
#comfunc global IHTMLStyleSheet_removeRule 22 int
#comfunc global IHTMLStyleSheet_put_media 23 wstr
#comfunc global IHTMLStyleSheet_get_media 24 var
#comfunc global IHTMLStyleSheet_put_cssText 25 wstr
#comfunc global IHTMLStyleSheet_get_cssText 26 var
#comfunc global IHTMLStyleSheet_get_rules 27 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLStyleSheet "{3050F2E3-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLStyleSheet IID_IHTMLStyleSheet "{3050F2E4-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLStyleSheet_put_title 7 wstr
#comfunc global IHTMLStyleSheet_get_title 8 sptr
#comfunc global IHTMLStyleSheet_get_parentStyleSheet 9 sptr
#comfunc global IHTMLStyleSheet_get_owningElement 10 sptr
#comfunc global IHTMLStyleSheet_put_disabled 11 int
#comfunc global IHTMLStyleSheet_get_disabled 12 sptr
#comfunc global IHTMLStyleSheet_get_readOnly 13 sptr
#comfunc global IHTMLStyleSheet_get_imports 14 sptr
#comfunc global IHTMLStyleSheet_put_href 15 wstr
#comfunc global IHTMLStyleSheet_get_href 16 sptr
#comfunc global IHTMLStyleSheet_get_type 17 sptr
#comfunc global IHTMLStyleSheet_get_id 18 sptr
#comfunc global IHTMLStyleSheet_addImport 19 wstr,int,sptr
#comfunc global IHTMLStyleSheet_addRule 20 wstr,wstr,int,sptr
#comfunc global IHTMLStyleSheet_removeImport 21 int
#comfunc global IHTMLStyleSheet_removeRule 22 int
#comfunc global IHTMLStyleSheet_put_media 23 wstr
#comfunc global IHTMLStyleSheet_get_media 24 sptr
#comfunc global IHTMLStyleSheet_put_cssText 25 wstr
#comfunc global IHTMLStyleSheet_get_cssText 26 sptr
#comfunc global IHTMLStyleSheet_get_rules 27 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。