WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT

WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT callback function

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


VOID WINAPI WSManPluginReleaseCommandContext(
  _In_ PVOID shellContext,
  _In_ PVOID commandContext
);

typedef void (WINAPI *WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT)(
    _In_ PVOID shellContext,
    _In_ PVOID commandContext
);

Parameters

shellContext [in]

Specifies the context that was received when the shell was created.

commandContext [in]

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

This callback function does not return a value.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Redistributable

Windows Management Framework on Windows Server 2008 with SP2, Windows Server 2003 with SP2, Windows Vista with SP1, and Windows Vista with SP2

Header

Wsman.h

 

 

Show:
© 2016 Microsoft