Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Deletes a shell object and frees the resources associated with the shell.
void WSManCloseShell(
[in, out, optional] WSMAN_SHELL_HANDLE shellHandle,
DWORD flags,
[in] WSMAN_SHELL_ASYNC *async
);
[in, out, optional] shellHandle
Specifies the shell handle to close. This handle is returned by a WSManCreateShell call. This parameter cannot be NULL.
flags
Reserved for future use. Must be set to zero.
[in] async
Defines an asynchronous structure. The asynchronous structure contains an optional user context and a mandatory callback function. See the WSMAN_SHELL_ASYNC structure for more information. This parameter cannot be NULL.
None
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | wsman.h |
Library | WsmSvc.lib |
DLL | WsmSvc.dll |
Redistributable | Windows Management Framework on Windows Server 2008 with SP2 and Windows Vista with SP2 |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today