WSManReconnectShell function

Reconnects a previously disconnected shell session. To reconnect the shell session's associated commands, use WSManReconnectShellCommand.

Syntax


void WINAPI WSManReconnectShell(
  _Inout_  WSMAN_SHELL_HANDLE shell,
  DWORD flags,
  _In_     WSMAN_SHELL_ASYNC *async
);

Parameters

shell [in, out]

Specifies the handle returned by a call to the WSManCreateShell function. This parameter cannot be NULL.

flags

This parameter is reserved for future use and must be set to zero.

async [in]

Defines an asynchronous structure to contain an optional user context and a mandatory callback function. For more information, see WSMAN_SHELL_ASYNC. This parameter cannot be NULL.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Wsman.h

 

 

Show:
© 2014 Microsoft. All rights reserved.