Win32 API 日本語リファレンス
ホームSystem.WinRT.Printing › IPrintWorkflowConfigurationNative

IPrintWorkflowConfigurationNative

COM
IIDc056be0a-9ee2-450a-9823-964f0006f2bb継承元IUnknown自前メソッド開始 vtbl3

メソッド 3

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

vtbl 3 HRESULT get_PrinterQueue(IPrinterQueue** value)
valueIPrinterQueue**out対象プリンターのキューを表す IPrinterQueue を受け取る出力先である。
vtbl 4 HRESULT get_DriverProperties(IPrinterPropertyBag** value)
valueIPrinterPropertyBag**outドライバー固有のプロパティを保持する IPrinterPropertyBag を受け取る出力先である。
vtbl 5 HRESULT get_UserProperties(IPrinterPropertyBag** value)
valueIPrinterPropertyBag**outユーザー固有のプロパティを保持する IPrinterPropertyBag を受け取る出力先である。

HSP用 COM定義

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

#define global IID_IPrintWorkflowConfigurationNative "{C056BE0A-9EE2-450A-9823-964F0006F2BB}"
#usecom global IPrintWorkflowConfigurationNative IID_IPrintWorkflowConfigurationNative "{}"
#comfunc global IPrintWorkflowConfigurationNative_get_PrinterQueue      3 sptr
#comfunc global IPrintWorkflowConfigurationNative_get_DriverProperties  4 sptr
#comfunc global IPrintWorkflowConfigurationNative_get_UserProperties    5 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。