Win32 API 日本語リファレンス
ホームStorage.Vss › IVssComponentEx

IVssComponentEx

COM
IID156c8b5e-f131-4bd7-9c97-d1923be7e1fa継承元IVssComponent自前メソッド開始 vtbl41

メソッド 7

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

vtbl 41 HRESULT SetPrepareForBackupFailureMsg(LPWSTR wszFailureMsg)
wszFailureMsgLPWSTRinバックアップ準備イベントで発生した障害を説明するメッセージ文字列を指定する。
vtbl 42 HRESULT SetPostSnapshotFailureMsg(LPWSTR wszFailureMsg)
wszFailureMsgLPWSTRinスナップショット作成後イベントで発生した障害を説明するメッセージ文字列を指定する。
vtbl 43 HRESULT GetPrepareForBackupFailureMsg(LPWSTR* pbstrFailureMsg)
pbstrFailureMsgLPWSTR*outバックアップ準備障害メッセージ文字列を受け取る文字列ポインタへのポインタである。
vtbl 44 HRESULT GetPostSnapshotFailureMsg(LPWSTR* pbstrFailureMsg)
pbstrFailureMsgLPWSTR*outスナップショット作成後障害メッセージ文字列を受け取る文字列ポインタへのポインタである。
vtbl 45 HRESULT GetAuthoritativeRestore(BOOLEAN* pbAuth)
pbAuthBOOLEAN*outこのコンポーネントを権限のある(オーソリテイティブ)復元として扱うかどうかを示すブール値を受け取るポインタである。
vtbl 46 HRESULT GetRollForward(VSS_ROLLFORWARD_TYPE* pRollType, LPWSTR* pbstrPoint)
pRollTypeVSS_ROLLFORWARD_TYPE*outロールフォワード復元の種類を示す VSS_ROLLFORWARD_TYPE 列挙値を受け取るポインタである。
pbstrPointLPWSTR*outロールフォワードの停止位置を示す文字列を受け取る文字列ポインタへのポインタである。
vtbl 47 HRESULT GetRestoreName(LPWSTR* pbstrName)
pbstrNameLPWSTR*out復元操作を識別する名前を受け取る文字列ポインタへのポインタである。

HSP用 COM定義

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

出力引数:
#define global IID_IVssComponentEx "{156C8B5E-F131-4BD7-9C97-D1923BE7E1FA}"
#usecom global IVssComponentEx IID_IVssComponentEx "{}"
#comfunc global IVssComponentEx_SetPrepareForBackupFailureMsg  41 wstr
#comfunc global IVssComponentEx_SetPostSnapshotFailureMsg      42 wstr
#comfunc global IVssComponentEx_GetPrepareForBackupFailureMsg  43 var
#comfunc global IVssComponentEx_GetPostSnapshotFailureMsg      44 var
#comfunc global IVssComponentEx_GetAuthoritativeRestore        45 var
#comfunc global IVssComponentEx_GetRollForward                 46 var,var
#comfunc global IVssComponentEx_GetRestoreName                 47 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。