Windows Dev Center

EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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

Minimum supported server

Windows Server 2012

Header

Wsman.h

Library

WsmSvc.lib

DLL

WsmSvc.dll

 

 

Mostrar:
© 2015 Microsoft