プラグインのリリース コマンド コールバックを定義します。 この関数は、プラグイン コマンド コンテキストを削除するために呼び出されます。
DLL エントリ ポイント名は WSManPluginReleaseCommandContext である必要があります。
構文
WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT WsmanPluginReleaseCommandContext;
VOID WsmanPluginReleaseCommandContext(
[in] PVOID shellContext,
[in] PVOID commandContext
)
{...}
パラメーター
[in] shellContext
シェルの作成時に受信したコンテキストを指定します。
[in] commandContext
この要求がシェルではなくコマンドを対象としている場合、これは winrm 作成 操作から返されるコンテキストです。それ以外の場合、このパラメーターは NULL です。
戻り値
なし
必要条件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント | Windows 7 |
| サポートされている最小のサーバー | Windows Server 2008 R2 |
| 対象プラットフォーム | Windows |
| ヘッダー | wsman.h |
| 再頒布可能パッケージ | WINDOWS Server 2008 SP2、Windows Vista sp1、Windows Vista sp2 でのWindows Management Framework |