WSMAN_SHELL_HANDLE Structure

[This documentation is preliminary and is subject to change.]

The WSMAN_SHELL_HANDLE is a handle that represents the resources associated with a shell object.

typedef struct WSMAN_SHELL {
  ...
} WSMAN_SHELL_HANDLE;

Remarks

The shell handle is allocated by the WSManCreateShell function and is used by most shell API functions to provide access to a specific shell object. To close the shell handle, when access is no longer required, use the WSManCloseShell function.

Requirements

Client

Requires Windows XP SP2 + WinRM v1.1.

Server

Requires Windows Server 2003 SP1 + WinRM v1.1, Windows Server 2003 SP2 + WinRM v1.1 or Windows Server 2003 R2 + WinRM v1.1.

Header

Declared in Wsman.h.

Send comments about this topic to Microsoft

Build date: 10/1/2007