WSMAN_DATA structure

Contains inbound and outbound data used in the Windows Remote Management (WinRM) API.

Syntax


typedef struct _WSMAN_DATA {
  WSManDataType type;
  union {
    WSMAN_DATA_TEXT   text;
    WSMAN_DATA_BINARY binaryData;
    DWORD             number;
  };
} WSMAN_DATA;

Members

type

Specifies the type of data currently stored in the union.

( unnamed union )

Contains the data.

text

If type is WSMAN_DATA_TYPE_TEXT, text contains a WSMAN_DATA_TEXT structure.

binaryData

If type is WSMAN_DATA_TYPE_XML_BINARY, binaryData contains a WSMAN_DATA_BINARY structure.

number

If type is WSMAN_DATA_TYPE_DWORD, number is a DWORD integer.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Redistributable

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

Header

Wsman.h

 

 

Show: