Win32 API 日本語リファレンス
ホームGraphics.Printing › IPrintAsyncNotifyRegistration

IPrintAsyncNotifyRegistration

COM
IID0f6f27b6-6f86-4591-9203-64c3bfadedfe継承元IUnknown自前メソッド開始 vtbl3

メソッド 2

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

vtbl 3 HRESULT RegisterForNotifications()
vtbl 4 HRESULT UnregisterForNotifications()

HSP用 COM定義

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

#define global IID_IPrintAsyncNotifyRegistration "{0F6F27B6-6F86-4591-9203-64C3BFADEDFE}"
#usecom global IPrintAsyncNotifyRegistration IID_IPrintAsyncNotifyRegistration "{}"
#comfunc global IPrintAsyncNotifyRegistration_RegisterForNotifications    3
#comfunc global IPrintAsyncNotifyRegistration_UnregisterForNotifications  4
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。