Operations Plug-in Entry Points

An operations plug-in needs to implement certain entry points depending on the capabilities that it wants to support.

A plug-in must register with the Windows Remote Management (WinRM) service, which contains the names of the plug-in DLL entry points. All operations have predefined DLL entry points that must be exposed if that operation is supported.

The following table provides an overview of the operations plug-in entry points in the WinRM Plug-in API.

Function Description
WSMAN_PLUGIN_COMMAND Defines the command callback for a plug-in.
All WinRM plug-ins that support shell capabilities need to implement this callback.
The DLL entry point name for this method must be WSManPluginCommand.
WSMAN_PLUGIN_CONNECT Defines the connect callback for a plug-in.
The DLL entry point name for this method must be WSManPluginConnect.
WSMAN_PLUGIN_RECEIVE Defines the receive callback for a plug-in.
All WinRM plug-ins that support shell capabilities need to implement this callback.
The DLL entry point name for this method must be WSManPluginReceive.
WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT Defines the release command callback for the plug-in.
The DLL entry point name must be WSManPluginReleaseCommandContext.
WSMAN_PLUGIN_RELEASE_SHELL_CONTEXT Defines the release shell callback for the plug-in.
The DLL entry point name must be WSManPluginReleaseCommandContext.
WSMAN_PLUGIN_SEND Defines the send callback for a plug-in.
All WinRM plug-ins that support shell capabilities need to implement this callback.
The DLL entry point name for this method must be WSManPluginSend.
WSMAN_PLUGIN_SHELL Defines the shell callback for a plug-in.
All WinRM plug-ins that support shell capabilities need to implement this callback.
The DLL entry point name for this method must be WSManPluginShell.
WSMAN_PLUGIN_SHUTDOWN Defines the shutdown callback for the plug-in.
All WinRM plug-ins must implement this callback function.
The DLL entry point name for this method must be WSManPluginShutdown.
WSMAN_PLUGIN_SIGNAL Defines the signal callback for a plug-in.
All WinRM plug-ins that support shell capabilities need to implement this callback.
The DLL entry point name for this method must be WSManPluginSignal.
WSMAN_PLUGIN_STARTUP Defines the startup callback for the plug-in.
All WinRM plug-ins must implement this callback function.
The DLL entry point name for this method must be WSManPluginStartup.