Export (0) Print
Expand All

WSManReconnectShellCommand function

Reconnects a previously disconnected command.

Syntax


void WINAPI WSManReconnectShellCommand(
  _Inout_  WSMAN_COMMAND_HANDLE commandHandle,
  DWORD flags,
  _In_     WSMAN_SHELL_ASYNC *async
);

Parameters

commandHandle [in, out]

Specifies the handle returned by a WSManRunShellCommand call or a WSManConnectShellCommand call. This parameter cannot be NULL.

flags

Reserved for future use. Must be set to zero.

async [in]

Defines an asynchronous structure which will contain an optional user context and a mandatory callback function. See the WSMAN_SHELL_ASYNC structure for more information. 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

 

 

Show:
© 2014 Microsoft