WSMAN_RECEIVE_DATA_RESULT structure (wsman.h)
Represents the output data received from a WSManReceiveShellOutput method.
Syntax
typedef struct _WSMAN_RECEIVE_DATA_RESULT {
PCWSTR streamId;
WSMAN_DATA streamData;
PCWSTR commandState;
DWORD exitCode;
} WSMAN_RECEIVE_DATA_RESULT;
Members
streamId
Represents the streamId for which streamData is defined.
streamData
Represents the data associated with streamId. The data can be stream text, binary content, or XML. For more information about the possible data, see WSMAN_DATA.
commandState
Specifies the status of the command. If this member is set to WSMAN_COMMAND_STATE_DONE, the command should be immediately closed.
exitCode
Defines the exit code of the command. This value is relevant only if the commandState member is set to WSMAN_COMMAND_STATE_DONE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 |
Minimum supported server | Windows Server 2008 R2 |
Header | wsman.h |
Redistributable | Windows Management Framework on Windows Server 2008 with SP2, Windows Vista with SP1, and Windows Vista with SP2 |