#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ISideShowNotification "{03C93300-8AB2-41C5-9B79-46127A30E148}"
#usecom global ISideShowNotification IID_ISideShowNotification "{0CE3E86F-D5CD-4525-A766-1ABAB1A752F5}"
#comfunc global ISideShowNotification_get_NotificationId 3 var
#comfunc global ISideShowNotification_put_NotificationId 4 int
#comfunc global ISideShowNotification_get_Title 5 var
#comfunc global ISideShowNotification_put_Title 6 wstr
#comfunc global ISideShowNotification_get_Message 7 var
#comfunc global ISideShowNotification_put_Message 8 wstr
#comfunc global ISideShowNotification_get_Image 9 sptr
#comfunc global ISideShowNotification_put_Image 10 sptr
#comfunc global ISideShowNotification_get_ExpirationTime 11 var
#comfunc global ISideShowNotification_put_ExpirationTime 12 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ISideShowNotification "{03C93300-8AB2-41C5-9B79-46127A30E148}"
#usecom global ISideShowNotification IID_ISideShowNotification "{0CE3E86F-D5CD-4525-A766-1ABAB1A752F5}"
#comfunc global ISideShowNotification_get_NotificationId 3 sptr
#comfunc global ISideShowNotification_put_NotificationId 4 int
#comfunc global ISideShowNotification_get_Title 5 sptr
#comfunc global ISideShowNotification_put_Title 6 wstr
#comfunc global ISideShowNotification_get_Message 7 sptr
#comfunc global ISideShowNotification_put_Message 8 wstr
#comfunc global ISideShowNotification_get_Image 9 sptr
#comfunc global ISideShowNotification_put_Image 10 sptr
#comfunc global ISideShowNotification_get_ExpirationTime 11 sptr
#comfunc global ISideShowNotification_put_ExpirationTime 12 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。