WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT callback function (wsman.h)
Defines the release command callback for the plug-in. This function is called to delete the plug-in command context.
The DLL entry point name must be WSManPluginReleaseCommandContext.
Syntax
WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT WsmanPluginReleaseCommandContext;
void WsmanPluginReleaseCommandContext(
[in] PVOID shellContext,
[in] PVOID commandContext
)
{...}
Parameters
[in] shellContext
Specifies the context that was received when the shell was created.
[in] commandContext
If this request is aimed at a command and not a shell, this is the context returned from the winrm create operation; otherwise, this parameter is NULL.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | wsman.h |
Redistributable | Windows Management Framework on Windows Server 2008 with SP2, Windows Vista with SP1, and Windows Vista with SP2 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for