Win32 API 日本語リファレンス
ホームSystem.TaskScheduler › IRegistrationInfo

IRegistrationInfo

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IID416d8b73-cb41-4ea1-805c-9be9a5ac4a74継承元IDispatch呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl7

メソッド 18

vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。

vtbl 7 HRESULT get_Description(LPWSTR* pDescription)
pDescriptionLPWSTR*inoutタスクの説明文を受け取る文字列ポインタへのポインタである。
vtbl 8 HRESULT put_Description(LPWSTR description)
descriptionLPWSTRinタスクに設定する説明文を指定する。
vtbl 9 HRESULT get_Author(LPWSTR* pAuthor)
pAuthorLPWSTR*inoutタスクの作成者名を受け取る文字列ポインタへのポインタである。
vtbl 10 HRESULT put_Author(LPWSTR author)
authorLPWSTRinタスクに設定する作成者名を指定する。
vtbl 11 HRESULT get_Version(LPWSTR* pVersion)
pVersionLPWSTR*inoutタスクのバージョン文字列を受け取る文字列ポインタへのポインタである。
vtbl 12 HRESULT put_Version(LPWSTR version)
versionLPWSTRinタスクに設定するバージョン文字列を指定する。
vtbl 13 HRESULT get_Date(LPWSTR* pDate)
pDateLPWSTR*inoutタスクの登録日時を表す文字列を受け取る文字列ポインタへのポインタである。
vtbl 14 HRESULT put_Date(LPWSTR date)
dateLPWSTRinタスクの登録日時を表す文字列を指定する。
vtbl 15 HRESULT get_Documentation(LPWSTR* pDocumentation)
pDocumentationLPWSTR*inoutタスクに関するドキュメント情報を受け取る文字列ポインタへのポインタである。
vtbl 16 HRESULT put_Documentation(LPWSTR documentation)
documentationLPWSTRinタスクに設定するドキュメント情報を指定する。
vtbl 17 HRESULT get_XmlText(LPWSTR* pText)
pTextLPWSTR*inout登録情報を表す XML テキストを受け取る文字列ポインタへのポインタである。
vtbl 18 HRESULT put_XmlText(LPWSTR text)
textLPWSTRin登録情報として設定する XML テキストを指定する。
vtbl 19 HRESULT get_URI(LPWSTR* pUri)
pUriLPWSTR*inoutタスクの URI を受け取る文字列ポインタへのポインタである。
vtbl 20 HRESULT put_URI(LPWSTR uri)
uriLPWSTRinタスクに設定する URI を指定する。
vtbl 21 HRESULT get_SecurityDescriptor(VARIANT* pSddl)
pSddlVARIANT*inoutタスクのセキュリティ記述子 (SDDL 文字列) を格納する VARIANT を受け取る出力先へのポインタである。
vtbl 22 HRESULT put_SecurityDescriptor(VARIANT sddl)
sddlVARIANTinタスクに設定するセキュリティ記述子を SDDL 文字列として格納した VARIANT を指定する。
vtbl 23 HRESULT get_Source(LPWSTR* pSource)
pSourceLPWSTR*inoutタスクの提供元 (ソース) を受け取る文字列ポインタへのポインタである。
vtbl 24 HRESULT put_Source(LPWSTR source)
sourceLPWSTRinタスクに設定する提供元 (ソース) を指定する。

HSP用 COM定義

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

出力引数:
#define global IID_IRegistrationInfo "{416D8B73-CB41-4EA1-805C-9BE9A5AC4A74}"
#usecom global IRegistrationInfo IID_IRegistrationInfo "{}"
#comfunc global IRegistrationInfo_get_Description         7 var
#comfunc global IRegistrationInfo_put_Description         8 wstr
#comfunc global IRegistrationInfo_get_Author              9 var
#comfunc global IRegistrationInfo_put_Author              10 wstr
#comfunc global IRegistrationInfo_get_Version             11 var
#comfunc global IRegistrationInfo_put_Version             12 wstr
#comfunc global IRegistrationInfo_get_Date                13 var
#comfunc global IRegistrationInfo_put_Date                14 wstr
#comfunc global IRegistrationInfo_get_Documentation       15 var
#comfunc global IRegistrationInfo_put_Documentation       16 wstr
#comfunc global IRegistrationInfo_get_XmlText             17 var
#comfunc global IRegistrationInfo_put_XmlText             18 wstr
#comfunc global IRegistrationInfo_get_URI                 19 var
#comfunc global IRegistrationInfo_put_URI                 20 wstr
#comfunc global IRegistrationInfo_get_SecurityDescriptor  21 var
#comfunc global IRegistrationInfo_put_SecurityDescriptor  22 int
#comfunc global IRegistrationInfo_get_Source              23 var
#comfunc global IRegistrationInfo_put_Source              24 wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。