WSMAN_SHELL_ASYNC structure

Defines an asynchronous structure to be passed to all shell operations. It contains an optional user context and the callback function.

Syntax


typedef struct _WSMAN_SHELL_ASYNC {
  PVOID                           operationContext;
  WSMAN_SHELL_COMPLETION_FUNCTION completionFunction;
} WSMAN_SHELL_ASYNC;

Members

operationContext

Specifies the optional user context associated with the operation.

completionFunction

Specifies the WSMAN_SHELL_COMPLETION_FUNCTION callback function for the operation.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Redistributable

Windows Management Framework on Windows Server 2008 with SP2, Windows Server 2003 with SP2, Windows Vista with SP1, and Windows Vista with SP2

Header

Wsman.h

 

 

Show:
© 2014 Microsoft