1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 pub const ERROR_REDIRECT_LOCATION_INVALID: u32 = 2150859191u32;
3 pub const ERROR_REDIRECT_LOCATION_TOO_LONG: u32 = 2150859190u32;
4 pub const ERROR_SERVICE_CBT_HARDENING_INVALID: u32 = 2150859192u32;
5 pub const ERROR_WINRS_CLIENT_CLOSERECEIVEHANDLE_NULL_PARAM: u32 = 2150859058u32;
6 pub const ERROR_WINRS_CLIENT_CLOSESENDHANDLE_NULL_PARAM: u32 = 2150859061u32;
7 pub const ERROR_WINRS_CLIENT_CLOSESHELL_NULL_PARAM: u32 = 2150859050u32;
8 pub const ERROR_WINRS_CLIENT_CREATESHELL_NULL_PARAM: u32 = 2150859049u32;
9 pub const ERROR_WINRS_CLIENT_FREECREATESHELLRESULT_NULL_PARAM: u32 = 2150859051u32;
10 pub const ERROR_WINRS_CLIENT_FREEPULLRESULT_NULL_PARAM: u32 = 2150859056u32;
11 pub const ERROR_WINRS_CLIENT_FREERUNCOMMANDRESULT_NULL_PARAM: u32 = 2150859053u32;
12 pub const ERROR_WINRS_CLIENT_GET_NULL_PARAM: u32 = 2150859062u32;
13 pub const ERROR_WINRS_CLIENT_INVALID_FLAG: u32 = 2150859040u32;
14 pub const ERROR_WINRS_CLIENT_NULL_PARAM: u32 = 2150859041u32;
15 pub const ERROR_WINRS_CLIENT_PULL_NULL_PARAM: u32 = 2150859057u32;
16 pub const ERROR_WINRS_CLIENT_PUSH_NULL_PARAM: u32 = 2150859060u32;
17 pub const ERROR_WINRS_CLIENT_RECEIVE_NULL_PARAM: u32 = 2150859055u32;
18 pub const ERROR_WINRS_CLIENT_RUNCOMMAND_NULL_PARAM: u32 = 2150859052u32;
19 pub const ERROR_WINRS_CLIENT_SEND_NULL_PARAM: u32 = 2150859059u32;
20 pub const ERROR_WINRS_CLIENT_SIGNAL_NULL_PARAM: u32 = 2150859054u32;
21 pub const ERROR_WINRS_CODE_PAGE_NOT_SUPPORTED: u32 = 2150859072u32;
22 pub const ERROR_WINRS_CONNECT_RESPONSE_BAD_BODY: u32 = 2150859211u32;
23 pub const ERROR_WINRS_IDLETIMEOUT_OUTOFBOUNDS: u32 = 2150859250u32;
24 pub const ERROR_WINRS_RECEIVE_IN_PROGRESS: u32 = 2150859047u32;
25 pub const ERROR_WINRS_RECEIVE_NO_RESPONSE_DATA: u32 = 2150859048u32;
26 pub const ERROR_WINRS_SHELLCOMMAND_CLIENTID_NOT_VALID: u32 = 2150859220u32;
27 pub const ERROR_WINRS_SHELLCOMMAND_CLIENTID_RESOURCE_CONFLICT: u32 = 2150859222u32;
28 pub const ERROR_WINRS_SHELLCOMMAND_DISCONNECT_OPERATION_NOT_VALID: u32 = 2150859224u32;
29 pub const ERROR_WINRS_SHELLCOMMAND_RECONNECT_OPERATION_NOT_VALID: u32 = 2150859219u32;
30 pub const ERROR_WINRS_SHELL_CLIENTID_NOT_VALID: u32 = 2150859221u32;
31 pub const ERROR_WINRS_SHELL_CLIENTID_RESOURCE_CONFLICT: u32 = 2150859223u32;
32 pub const ERROR_WINRS_SHELL_CLIENTSESSIONID_MISMATCH: u32 = 2150859206u32;
33 pub const ERROR_WINRS_SHELL_CONNECTED_TO_DIFFERENT_CLIENT: u32 = 2150859213u32;
34 pub const ERROR_WINRS_SHELL_DISCONNECTED: u32 = 2150859204u32;
35 pub const ERROR_WINRS_SHELL_DISCONNECT_NOT_SUPPORTED: u32 = 2150859205u32;
36 pub const ERROR_WINRS_SHELL_DISCONNECT_OPERATION_NOT_GRACEFUL: u32 = 2150859214u32;
37 pub const ERROR_WINRS_SHELL_DISCONNECT_OPERATION_NOT_VALID: u32 = 2150859215u32;
38 pub const ERROR_WINRS_SHELL_RECONNECT_OPERATION_NOT_VALID: u32 = 2150859216u32;
39 pub const ERROR_WINRS_SHELL_URI_INVALID: u32 = 2150859099u32;
40 pub const ERROR_WSMAN_ACK_NOT_SUPPORTED: u32 = 2150858853u32;
41 pub const ERROR_WSMAN_ACTION_MISMATCH: u32 = 2150858801u32;
42 pub const ERROR_WSMAN_ACTION_NOT_SUPPORTED: u32 = 2150858771u32;
43 pub const ERROR_WSMAN_ADDOBJECT_MISSING_EPR: u32 = 2150859045u32;
44 pub const ERROR_WSMAN_ADDOBJECT_MISSING_OBJECT: u32 = 2150859044u32;
45 pub const ERROR_WSMAN_ALREADY_EXISTS: u32 = 2150858803u32;
46 pub const ERROR_WSMAN_AMBIGUOUS_SELECTORS: u32 = 2150858846u32;
47 pub const ERROR_WSMAN_AUTHENTICATION_INVALID_FLAG: u32 = 2150859077u32;
48 pub const ERROR_WSMAN_AUTHORIZATION_MODE_NOT_SUPPORTED: u32 = 2150858852u32;
49 pub const ERROR_WSMAN_BAD_METHOD: u32 = 2150858868u32;
50 pub const ERROR_WSMAN_BATCHSIZE_TOO_SMALL: u32 = 2150858919u32;
51 pub const ERROR_WSMAN_BATCH_COMPLETE: u32 = 2150858756u32;
52 pub const ERROR_WSMAN_BOOKMARKS_NOT_SUPPORTED: u32 = 2150858859u32;
53 pub const ERROR_WSMAN_BOOKMARK_EXPIRED: u32 = 2150858832u32;
54 pub const ERROR_WSMAN_CANNOT_CHANGE_KEYS: u32 = 2150858989u32;
55 pub const ERROR_WSMAN_CANNOT_DECRYPT: u32 = 2150859001u32;
56 pub const ERROR_WSMAN_CANNOT_PROCESS_FILTER: u32 = 2150859042u32;
57 pub const ERROR_WSMAN_CANNOT_USE_ALLOW_NEGOTIATE_IMPLICIT_CREDENTIALS_FOR_HTTP: u32 = 2150859184u32;
58 pub const ERROR_WSMAN_CANNOT_USE_CERTIFICATES_FOR_HTTP: u32 = 2150858968u32;
59 pub const ERROR_WSMAN_CANNOT_USE_PROXY_SETTINGS_FOR_CREDSSP: u32 = 2150859187u32;
60 pub const ERROR_WSMAN_CANNOT_USE_PROXY_SETTINGS_FOR_HTTP: u32 = 2150859185u32;
61 pub const ERROR_WSMAN_CANNOT_USE_PROXY_SETTINGS_FOR_KERBEROS: u32 = 2150859186u32;
62 pub const ERROR_WSMAN_CERTMAPPING_CONFIGLIMIT_EXCEEDED: u32 = 2150859091u32;
63 pub const ERROR_WSMAN_CERTMAPPING_CREDENTIAL_MANAGEMENT_FAILIED: u32 = 2150859262u32;
64 pub const ERROR_WSMAN_CERTMAPPING_INVALIDISSUERKEY: u32 = 2150859106u32;
65 pub const ERROR_WSMAN_CERTMAPPING_INVALIDSUBJECTKEY: u32 = 2150859105u32;
66 pub const ERROR_WSMAN_CERTMAPPING_INVALIDUSERCREDENTIALS: u32 = 2150859092u32;
67 pub const ERROR_WSMAN_CERTMAPPING_PASSWORDBLANK: u32 = 2150859115u32;
68 pub const ERROR_WSMAN_CERTMAPPING_PASSWORDTOOLONG: u32 = 2150859114u32;
69 pub const ERROR_WSMAN_CERTMAPPING_PASSWORDUSERTUPLE: u32 = 2150859116u32;
70 pub const ERROR_WSMAN_CERT_INVALID_USAGE: u32 = 2150858990u32;
71 pub const ERROR_WSMAN_CERT_INVALID_USAGE_CLIENT: u32 = 2150859093u32;
72 pub const ERROR_WSMAN_CERT_MISSING_AUTH_FLAG: u32 = 2150859094u32;
73 pub const ERROR_WSMAN_CERT_MULTIPLE_CREDENTIALS_FLAG: u32 = 2150859095u32;
74 pub const ERROR_WSMAN_CERT_NOT_FOUND: u32 = 2150858882u32;
75 pub const ERROR_WSMAN_CERT_THUMBPRINT_BLANK: u32 = 2150858983u32;
76 pub const ERROR_WSMAN_CERT_THUMBPRINT_NOT_BLANK: u32 = 2150858982u32;
77 pub const ERROR_WSMAN_CHARACTER_SET: u32 = 2150858828u32;
78 pub const ERROR_WSMAN_CLIENT_ALLOWFRESHCREDENTIALS: u32 = 2150859171u32;
79 pub const ERROR_WSMAN_CLIENT_ALLOWFRESHCREDENTIALS_NTLMONLY: u32 = 2150859172u32;
80 pub const ERROR_WSMAN_CLIENT_BASIC_AUTHENTICATION_DISABLED: u32 = 2150858975u32;
81 pub const ERROR_WSMAN_CLIENT_BATCH_ITEMS_TOO_SMALL: u32 = 2150858946u32;
82 pub const ERROR_WSMAN_CLIENT_BLANK_ACTION_URI: u32 = 2150858948u32;
83 pub const ERROR_WSMAN_CLIENT_BLANK_INPUT_XML: u32 = 2150858945u32;
84 pub const ERROR_WSMAN_CLIENT_BLANK_URI: u32 = 2150858943u32;
85 pub const ERROR_WSMAN_CLIENT_CERTIFICATES_AUTHENTICATION_DISABLED: u32 = 2150858979u32;
86 pub const ERROR_WSMAN_CLIENT_CERT_NEEDED: u32 = 2150858932u32;
87 pub const ERROR_WSMAN_CLIENT_CERT_UNKNOWN_LOCATION: u32 = 2150858934u32;
88 pub const ERROR_WSMAN_CLIENT_CERT_UNKNOWN_TYPE: u32 = 2150858933u32;
89 pub const ERROR_WSMAN_CLIENT_CERT_UNNEEDED_CREDS: u32 = 2150858927u32;
90 pub const ERROR_WSMAN_CLIENT_CERT_UNNEEDED_USERNAME: u32 = 2150858929u32;
91 pub const ERROR_WSMAN_CLIENT_CLOSECOMMAND_NULL_PARAM: u32 = 2150859135u32;
92 pub const ERROR_WSMAN_CLIENT_CLOSESHELL_NULL_PARAM: u32 = 2150859134u32;
93 pub const ERROR_WSMAN_CLIENT_COMPRESSION_INVALID_OPTION: u32 = 2150858957u32;
94 pub const ERROR_WSMAN_CLIENT_CONNECTCOMMAND_NULL_PARAM: u32 = 2150859210u32;
95 pub const ERROR_WSMAN_CLIENT_CONNECTSHELL_NULL_PARAM: u32 = 2150859209u32;
96 pub const ERROR_WSMAN_CLIENT_CONSTRUCTERROR_NULL_PARAM: u32 = 2150858965u32;
97 pub const ERROR_WSMAN_CLIENT_CREATESESSION_NULL_PARAM: u32 = 2150858938u32;
98 pub const ERROR_WSMAN_CLIENT_CREATESHELL_NAME_INVALID: u32 = 2150859202u32;
99 pub const ERROR_WSMAN_CLIENT_CREATESHELL_NULL_PARAM: u32 = 2150859130u32;
100 pub const ERROR_WSMAN_CLIENT_CREDENTIALS_FLAG_NEEDED: u32 = 2150858931u32;
101 pub const ERROR_WSMAN_CLIENT_CREDENTIALS_FOR_DEFAULT_AUTHENTICATION: u32 = 2150859078u32;
102 pub const ERROR_WSMAN_CLIENT_CREDENTIALS_FOR_PROXY_AUTHENTICATION: u32 = 2150859163u32;
103 pub const ERROR_WSMAN_CLIENT_CREDENTIALS_NEEDED: u32 = 2150858930u32;
104 pub const ERROR_WSMAN_CLIENT_CREDSSP_AUTHENTICATION_DISABLED: u32 = 2150859170u32;
105 pub const ERROR_WSMAN_CLIENT_DECODEOBJECT_NULL_PARAM: u32 = 2150858961u32;
106 pub const ERROR_WSMAN_CLIENT_DELIVERENDSUBSCRIPTION_NULL_PARAM: u32 = 2150858958u32;
107 pub const ERROR_WSMAN_CLIENT_DELIVEREVENTS_NULL_PARAM: u32 = 2150858959u32;
108 pub const ERROR_WSMAN_CLIENT_DIGEST_AUTHENTICATION_DISABLED: u32 = 2150858976u32;
109 pub const ERROR_WSMAN_CLIENT_DISABLE_LOOPBACK_WITH_EXPLICIT_CREDENTIALS: u32 = 2150859073u32;
110 pub const ERROR_WSMAN_CLIENT_DISCONNECTSHELL_NULL_PARAM: u32 = 2150859207u32;
111 pub const ERROR_WSMAN_CLIENT_ENCODEOBJECT_NULL_PARAM: u32 = 2150858962u32;
112 pub const ERROR_WSMAN_CLIENT_ENUMERATE_NULL_PARAM: u32 = 2150858939u32;
113 pub const ERROR_WSMAN_CLIENT_ENUMERATORADDEVENT_NULL_PARAM: u32 = 2150859043u32;
114 pub const ERROR_WSMAN_CLIENT_ENUMERATORADDOBJECT_NULL_PARAM: u32 = 2150858963u32;
115 pub const ERROR_WSMAN_CLIENT_ENUMERATORNEXTOBJECT_NULL_PARAM: u32 = 2150858964u32;
116 pub const ERROR_WSMAN_CLIENT_ENUM_RECEIVED_TOO_MANY_ITEMS: u32 = 2150859075u32;
117 pub const ERROR_WSMAN_CLIENT_GETBOOKMARK_NULL_PARAM: u32 = 2150858960u32;
118 pub const ERROR_WSMAN_CLIENT_GETERRORMESSAGE_NULL_PARAM: u32 = 2150859158u32;
119 pub const ERROR_WSMAN_CLIENT_GETSESSIONOPTION_DWORD_INVALID_PARAM: u32 = 2150859167u32;
120 pub const ERROR_WSMAN_CLIENT_GETSESSIONOPTION_DWORD_NULL_PARAM: u32 = 2150859166u32;
121 pub const ERROR_WSMAN_CLIENT_GETSESSIONOPTION_INVALID_PARAM: u32 = 2150859129u32;
122 pub const ERROR_WSMAN_CLIENT_GETSESSIONOPTION_STRING_INVALID_PARAM: u32 = 2150859168u32;
123 pub const ERROR_WSMAN_CLIENT_INITIALIZE_NULL_PARAM: u32 = 2150859124u32;
124 pub const ERROR_WSMAN_CLIENT_INVALID_CERT: u32 = 2150858935u32;
125 pub const ERROR_WSMAN_CLIENT_INVALID_CERT_DNS_OR_UPN: u32 = 2150859080u32;
126 pub const ERROR_WSMAN_CLIENT_INVALID_CLOSE_COMMAND_FLAG: u32 = 2150859133u32;
127 pub const ERROR_WSMAN_CLIENT_INVALID_CLOSE_SHELL_FLAG: u32 = 2150859132u32;
128 pub const ERROR_WSMAN_CLIENT_INVALID_CREATE_SHELL_FLAG: u32 = 2150859131u32;
129 pub const ERROR_WSMAN_CLIENT_INVALID_DEINIT_APPLICATION_FLAG: u32 = 2150859126u32;
130 pub const ERROR_WSMAN_CLIENT_INVALID_DELIVERY_RETRY: u32 = 2150859108u32;
131 pub const ERROR_WSMAN_CLIENT_INVALID_DISABLE_LOOPBACK: u32 = 2150859074u32;
132 pub const ERROR_WSMAN_CLIENT_INVALID_DISCONNECT_SHELL_FLAG: u32 = 2150859226u32;
133 pub const ERROR_WSMAN_CLIENT_INVALID_FLAG: u32 = 2150858924u32;
134 pub const ERROR_WSMAN_CLIENT_INVALID_GETERRORMESSAGE_FLAG: u32 = 2150859160u32;
135 pub const ERROR_WSMAN_CLIENT_INVALID_INIT_APPLICATION_FLAG: u32 = 2150859125u32;
136 pub const ERROR_WSMAN_CLIENT_INVALID_LANGUAGE_CODE: u32 = 2150859159u32;
137 pub const ERROR_WSMAN_CLIENT_INVALID_LOCALE: u32 = 2150859156u32;
138 pub const ERROR_WSMAN_CLIENT_INVALID_RECEIVE_SHELL_FLAG: u32 = 2150859150u32;
139 pub const ERROR_WSMAN_CLIENT_INVALID_RESOURCE_LOCATOR: u32 = 2150858944u32;
140 pub const ERROR_WSMAN_CLIENT_INVALID_RUNCOMMAND_FLAG: u32 = 2150859137u32;
141 pub const ERROR_WSMAN_CLIENT_INVALID_SEND_SHELL_FLAG: u32 = 2150859145u32;
142 pub const ERROR_WSMAN_CLIENT_INVALID_SEND_SHELL_PARAMETER: u32 = 2150859146u32;
143 pub const ERROR_WSMAN_CLIENT_INVALID_SHELL_COMMAND_PAIR: u32 = 2150859227u32;
144 pub const ERROR_WSMAN_CLIENT_INVALID_SIGNAL_SHELL_FLAG: u32 = 2150859143u32;
145 pub const ERROR_WSMAN_CLIENT_INVALID_UI_LANGUAGE: u32 = 2150859157u32;
146 pub const ERROR_WSMAN_CLIENT_KERBEROS_AUTHENTICATION_DISABLED: u32 = 2150858978u32;
147 pub const ERROR_WSMAN_CLIENT_LOCAL_INVALID_CONNECTION_OPTIONS: u32 = 2150858937u32;
148 pub const ERROR_WSMAN_CLIENT_LOCAL_INVALID_CREDS: u32 = 2150858936u32;
149 pub const ERROR_WSMAN_CLIENT_MAX_CHARS_TOO_SMALL: u32 = 2150858947u32;
150 pub const ERROR_WSMAN_CLIENT_MISSING_EXPIRATION: u32 = 2150858953u32;
151 pub const ERROR_WSMAN_CLIENT_MULTIPLE_AUTH_FLAGS: u32 = 2150858925u32;
152 pub const ERROR_WSMAN_CLIENT_MULTIPLE_DELIVERY_MODES: u32 = 2150858950u32;
153 pub const ERROR_WSMAN_CLIENT_MULTIPLE_ENUM_MODE_FLAGS: u32 = 2150859039u32;
154 pub const ERROR_WSMAN_CLIENT_MULTIPLE_ENVELOPE_POLICIES: u32 = 2150858951u32;
155 pub const ERROR_WSMAN_CLIENT_MULTIPLE_PROXY_AUTH_FLAGS: u32 = 2150859188u32;
156 pub const ERROR_WSMAN_CLIENT_NEGOTIATE_AUTHENTICATION_DISABLED: u32 = 2150858977u32;
157 pub const ERROR_WSMAN_CLIENT_NO_HANDLE: u32 = 2150858942u32;
158 pub const ERROR_WSMAN_CLIENT_NO_SOURCES: u32 = 2150859111u32;
159 pub const ERROR_WSMAN_CLIENT_NULL_ISSUERS: u32 = 2150859110u32;
160 pub const ERROR_WSMAN_CLIENT_NULL_PUBLISHERS: u32 = 2150859109u32;
161 pub const ERROR_WSMAN_CLIENT_NULL_RESULT_PARAM: u32 = 2150858941u32;
162 pub const ERROR_WSMAN_CLIENT_PULL_INVALID_FLAGS: u32 = 2150858954u32;
163 pub const ERROR_WSMAN_CLIENT_PUSH_HOST_TOO_LONG: u32 = 2150858956u32;
164 pub const ERROR_WSMAN_CLIENT_PUSH_UNSUPPORTED_TRANSPORT: u32 = 2150858955u32;
165 pub const ERROR_WSMAN_CLIENT_RECEIVE_NULL_PARAM: u32 = 2150859148u32;
166 pub const ERROR_WSMAN_CLIENT_RECONNECTSHELLCOMMAND_NULL_PARAM: u32 = 2150859218u32;
167 pub const ERROR_WSMAN_CLIENT_RECONNECTSHELL_NULL_PARAM: u32 = 2150859208u32;
168 pub const ERROR_WSMAN_CLIENT_RUNCOMMAND_NOTCOMPLETED: u32 = 2150859138u32;
169 pub const ERROR_WSMAN_CLIENT_RUNCOMMAND_NULL_PARAM: u32 = 2150859136u32;
170 pub const ERROR_WSMAN_CLIENT_SEND_NULL_PARAM: u32 = 2150859144u32;
171 pub const ERROR_WSMAN_CLIENT_SESSION_UNUSABLE: u32 = 2150859258u32;
172 pub const ERROR_WSMAN_CLIENT_SETSESSIONOPTION_INVALID_PARAM: u32 = 2150859128u32;
173 pub const ERROR_WSMAN_CLIENT_SETSESSIONOPTION_NULL_PARAM: u32 = 2150859127u32;
174 pub const ERROR_WSMAN_CLIENT_SIGNAL_NULL_PARAM: u32 = 2150859142u32;
175 pub const ERROR_WSMAN_CLIENT_SPN_WRONG_AUTH: u32 = 2150858926u32;
176 pub const ERROR_WSMAN_CLIENT_SUBSCRIBE_NULL_PARAM: u32 = 2150858940u32;
177 pub const ERROR_WSMAN_CLIENT_UNENCRYPTED_DISABLED: u32 = 2150858974u32;
178 pub const ERROR_WSMAN_CLIENT_UNENCRYPTED_HTTP_ONLY: u32 = 2150858967u32;
179 pub const ERROR_WSMAN_CLIENT_UNKNOWN_EXPIRATION_TYPE: u32 = 2150858952u32;
180 pub const ERROR_WSMAN_CLIENT_USERNAME_AND_PASSWORD_NEEDED: u32 = 2150859079u32;
181 pub const ERROR_WSMAN_CLIENT_USERNAME_PASSWORD_NEEDED: u32 = 2150858928u32;
182 pub const ERROR_WSMAN_CLIENT_WORKGROUP_NO_KERBEROS: u32 = 2150859020u32;
183 pub const ERROR_WSMAN_CLIENT_ZERO_HEARTBEAT: u32 = 2150858949u32;
184 pub const ERROR_WSMAN_COMMAND_ALREADY_CLOSED: u32 = 2150859087u32;
185 pub const ERROR_WSMAN_COMMAND_TERMINATED: u32 = 2150859212u32;
186 pub const ERROR_WSMAN_CONCURRENCY: u32 = 2150858802u32;
187 pub const ERROR_WSMAN_CONFIG_CANNOT_CHANGE_CERTMAPPING_KEYS: u32 = 2150859122u32;
188 pub const ERROR_WSMAN_CONFIG_CANNOT_CHANGE_GPO_CONTROLLED_SETTING: u32 = 2150858890u32;
189 pub const ERROR_WSMAN_CONFIG_CANNOT_CHANGE_MUTUAL: u32 = 2150858885u32;
190 pub const ERROR_WSMAN_CONFIG_CANNOT_SHARE_SSL_CONFIG: u32 = 2150858984u32;
191 pub const ERROR_WSMAN_CONFIG_CERT_CN_DOES_NOT_MATCH_HOSTNAME: u32 = 2150858985u32;
192 pub const ERROR_WSMAN_CONFIG_CORRUPTED: u32 = 2150858757u32;
193 pub const ERROR_WSMAN_CONFIG_GROUP_POLICY_CHANGE_NOTIFICATION_SUBSCRIPTION_FAILED: u32 = 2150859217u32;
194 pub const ERROR_WSMAN_CONFIG_HOSTNAME_CHANGE_WITHOUT_CERT: u32 = 2150858986u32;
195 pub const ERROR_WSMAN_CONFIG_PORT_INVALID: u32 = 2150858972u32;
196 pub const ERROR_WSMAN_CONFIG_READONLY_PROPERTY: u32 = 2150859071u32;
197 pub const ERROR_WSMAN_CONFIG_SHELLURI_INVALID_OPERATION_ON_KEY: u32 = 2150859119u32;
198 pub const ERROR_WSMAN_CONFIG_SHELLURI_INVALID_PROCESSPATH: u32 = 2150859098u32;
199 pub const ERROR_WSMAN_CONFIG_SHELL_URI_CMDSHELLURI_NOTPERMITTED: u32 = 2150859097u32;
200 pub const ERROR_WSMAN_CONFIG_SHELL_URI_INVALID: u32 = 2150859096u32;
201 pub const ERROR_WSMAN_CONFIG_THUMBPRINT_SHOULD_BE_EMPTY: u32 = 2150858987u32;
202 pub const ERROR_WSMAN_CONNECTIONSTR_INVALID: u32 = 2150858969u32;
203 pub const ERROR_WSMAN_CONNECTOR_GET: u32 = 2150858873u32;
204 pub const ERROR_WSMAN_CREATESHELL_NULL_ENVIRONMENT_VARIABLE_NAME: u32 = 2150859081u32;
205 pub const ERROR_WSMAN_CREATESHELL_NULL_STREAMID: u32 = 2150859083u32;
206 pub const ERROR_WSMAN_CREATESHELL_RUNAS_FAILED: u32 = 2150859231u32;
207 pub const ERROR_WSMAN_CREATE_RESPONSE_NO_EPR: u32 = 2150858992u32;
208 pub const ERROR_WSMAN_CREDSSP_USERNAME_PASSWORD_NEEDED: u32 = 2150859169u32;
209 pub const ERROR_WSMAN_CREDS_PASSED_WITH_NO_AUTH_FLAG: u32 = 2150858923u32;
210 pub const ERROR_WSMAN_CUSTOMREMOTESHELL_DEPRECATED: u32 = 2150859196u32;
211 pub const ERROR_WSMAN_DEFAULTAUTH_IPADDRESS: u32 = 2150859195u32;
212 pub const ERROR_WSMAN_DELIVERY_REFUSED: u32 = 2150858804u32;
213 pub const ERROR_WSMAN_DELIVERY_RETRIES_NOT_SUPPORTED: u32 = 2150858857u32;
214 pub const ERROR_WSMAN_DELIVER_IN_PROGRESS: u32 = 2150858821u32;
215 pub const ERROR_WSMAN_DEPRECATED_CONFIG_SETTING: u32 = 2150859182u32;
216 pub const ERROR_WSMAN_DESERIALIZE_CLASS: u32 = 2150859244u32;
217 pub const ERROR_WSMAN_DESTINATION_INVALID: u32 = 2150859256u32;
218 pub const ERROR_WSMAN_DESTINATION_UNREACHABLE: u32 = 2150858770u32;
219 pub const ERROR_WSMAN_DIFFERENT_AUTHZ_TOKEN: u32 = 2150859177u32;
220 pub const ERROR_WSMAN_DIFFERENT_CIM_SELECTOR: u32 = 2150859067u32;
221 pub const ERROR_WSMAN_DUPLICATE_SELECTORS: u32 = 2150858847u32;
222 pub const ERROR_WSMAN_ENCODING_LIMIT: u32 = 2150858805u32;
223 pub const ERROR_WSMAN_ENCODING_TYPE: u32 = 2150859033u32;
224 pub const ERROR_WSMAN_ENDPOINT_UNAVAILABLE: u32 = 2150858772u32;
225 pub const ERROR_WSMAN_ENDPOINT_UNAVAILABLE_INVALID_VALUE: u32 = 2150859034u32;
226 pub const ERROR_WSMAN_ENUMERATE_CANNOT_PROCESS_FILTER: u32 = 2150858778u32;
227 pub const ERROR_WSMAN_ENUMERATE_FILTERING_NOT_SUPPORTED: u32 = 2150858776u32;
228 pub const ERROR_WSMAN_ENUMERATE_FILTER_DIALECT_REQUESTED_UNAVAILABLE: u32 = 2150858777u32;
229 pub const ERROR_WSMAN_ENUMERATE_INVALID_ENUMERATION_CONTEXT: u32 = 2150858779u32;
230 pub const ERROR_WSMAN_ENUMERATE_INVALID_EXPIRATION_TIME: u32 = 2150858774u32;
231 pub const ERROR_WSMAN_ENUMERATE_SHELLCOMAMNDS_FILTER_EXPECTED: u32 = 2150859200u32;
232 pub const ERROR_WSMAN_ENUMERATE_SHELLCOMMANDS_EPRS_NOTSUPPORTED: u32 = 2150859201u32;
233 pub const ERROR_WSMAN_ENUMERATE_TIMED_OUT: u32 = 2150858780u32;
234 pub const ERROR_WSMAN_ENUMERATE_UNABLE_TO_RENEW: u32 = 2150858781u32;
235 pub const ERROR_WSMAN_ENUMERATE_UNSUPPORTED_EXPIRATION_TIME: u32 = 2150858775u32;
236 pub const ERROR_WSMAN_ENUMERATE_UNSUPPORTED_EXPIRATION_TYPE: u32 = 2150859036u32;
237 pub const ERROR_WSMAN_ENUMERATE_WMI_INVALID_KEY: u32 = 2150859016u32;
238 pub const ERROR_WSMAN_ENUMERATION_CLOSED: u32 = 2150858759u32;
239 pub const ERROR_WSMAN_ENUMERATION_INITIALIZING: u32 = 2150858872u32;
240 pub const ERROR_WSMAN_ENUMERATION_INVALID: u32 = 2150858884u32;
241 pub const ERROR_WSMAN_ENUMERATION_MODE_UNSUPPORTED: u32 = 2150858886u32;
242 pub const ERROR_WSMAN_ENVELOPE_TOO_LARGE: u32 = 2150858790u32;
243 pub const ERROR_WSMAN_EPR_NESTING_EXCEEDED: u32 = 2150858879u32;
244 pub const ERROR_WSMAN_EVENTING_CONCURRENT_CLIENT_RECEIVE: u32 = 2150858891u32;
245 pub const ERROR_WSMAN_EVENTING_DELIVERYFAILED_FROMSOURCE: u32 = 2150858908u32;
246 pub const ERROR_WSMAN_EVENTING_DELIVERY_MODE_REQUESTED_INVALID: u32 = 2150858920u32;
247 pub const ERROR_WSMAN_EVENTING_DELIVERY_MODE_REQUESTED_UNAVAILABLE: u32 = 2150858782u32;
248 pub const ERROR_WSMAN_EVENTING_FAST_SENDER: u32 = 2150858892u32;
249 pub const ERROR_WSMAN_EVENTING_FILTERING_NOT_SUPPORTED: u32 = 2150858785u32;
250 pub const ERROR_WSMAN_EVENTING_FILTERING_REQUESTED_UNAVAILABLE: u32 = 2150858786u32;
251 pub const ERROR_WSMAN_EVENTING_INCOMPATIBLE_BATCHPARAMS_AND_DELIVERYMODE: u32 = 2150858900u32;
252 pub const ERROR_WSMAN_EVENTING_INSECURE_PUSHSUBSCRIPTION_CONNECTION: u32 = 2150858893u32;
253 pub const ERROR_WSMAN_EVENTING_INVALID_ENCODING_IN_DELIVERY: u32 = 2150859255u32;
254 pub const ERROR_WSMAN_EVENTING_INVALID_ENDTO_ADDRESSS: u32 = 2150858902u32;
255 pub const ERROR_WSMAN_EVENTING_INVALID_EVENTSOURCE: u32 = 2150858894u32;
256 pub const ERROR_WSMAN_EVENTING_INVALID_EXPIRATION_TIME: u32 = 2150858783u32;
257 pub const ERROR_WSMAN_EVENTING_INVALID_HEARTBEAT: u32 = 2150858916u32;
258 pub const ERROR_WSMAN_EVENTING_INVALID_INCOMING_EVENT_PACKET_HEADER: u32 = 2150858903u32;
259 pub const ERROR_WSMAN_EVENTING_INVALID_LOCALE_IN_DELIVERY: u32 = 2150858915u32;
260 pub const ERROR_WSMAN_EVENTING_INVALID_MESSAGE: u32 = 2150858789u32;
261 pub const ERROR_WSMAN_EVENTING_INVALID_NOTIFYTO_ADDRESSS: u32 = 2150858914u32;
262 pub const ERROR_WSMAN_EVENTING_LOOPBACK_TESTFAILED: u32 = 2150858901u32;
263 pub const ERROR_WSMAN_EVENTING_MISSING_LOCALE_IN_DELIVERY: u32 = 2150859028u32;
264 pub const ERROR_WSMAN_EVENTING_MISSING_NOTIFYTO: u32 = 2150858912u32;
265 pub const ERROR_WSMAN_EVENTING_MISSING_NOTIFYTO_ADDRESSS: u32 = 2150858913u32;
266 pub const ERROR_WSMAN_EVENTING_NOMATCHING_LISTENER: u32 = 2150858895u32;
267 pub const ERROR_WSMAN_EVENTING_NONDOMAINJOINED_COLLECTOR: u32 = 2150859070u32;
268 pub const ERROR_WSMAN_EVENTING_NONDOMAINJOINED_PUBLISHER: u32 = 2150859069u32;
269 pub const ERROR_WSMAN_EVENTING_SOURCE_UNABLE_TO_PROCESS: u32 = 2150858787u32;
270 pub const ERROR_WSMAN_EVENTING_SUBSCRIPTIONCLOSED_BYREMOTESERVICE: u32 = 2150858907u32;
271 pub const ERROR_WSMAN_EVENTING_SUBSCRIPTION_CANCELLED_BYSOURCE: u32 = 2150858910u32;
272 pub const ERROR_WSMAN_EVENTING_UNABLE_TO_RENEW: u32 = 2150858788u32;
273 pub const ERROR_WSMAN_EVENTING_UNSUPPORTED_EXPIRATION_TYPE: u32 = 2150858784u32;
274 pub const ERROR_WSMAN_EXPIRATION_TIME_NOT_SUPPORTED: u32 = 2150858856u32;
275 pub const ERROR_WSMAN_EXPLICIT_CREDENTIALS_REQUIRED: u32 = 2150858981u32;
276 pub const ERROR_WSMAN_FAILED_AUTHENTICATION: u32 = 2150858806u32;
277 pub const ERROR_WSMAN_FEATURE_DEPRECATED: u32 = 2150859197u32;
278 pub const ERROR_WSMAN_FILE_NOT_PRESENT: u32 = 2150859154u32;
279 pub const ERROR_WSMAN_FILTERING_REQUIRED: u32 = 2150858831u32;
280 pub const ERROR_WSMAN_FILTERING_REQUIRED_NOT_SUPPORTED: u32 = 2150858864u32;
281 pub const ERROR_WSMAN_FORMAT_MISMATCH_NOT_SUPPORTED: u32 = 2150858866u32;
282 pub const ERROR_WSMAN_FORMAT_SECURITY_TOKEN_NOT_SUPPORTED: u32 = 2150858867u32;
283 pub const ERROR_WSMAN_FRAGMENT_DIALECT_REQUESTED_UNAVAILABLE: u32 = 2150858896u32;
284 pub const ERROR_WSMAN_FRAGMENT_TRANSFER_NOT_SUPPORTED: u32 = 2150858871u32;
285 pub const ERROR_WSMAN_GETCLASS: u32 = 2150859245u32;
286 pub const ERROR_WSMAN_HEARTBEATS_NOT_SUPPORTED: u32 = 2150858858u32;
287 pub const ERROR_WSMAN_HTML_ERROR: u32 = 2150859123u32;
288 pub const ERROR_WSMAN_HTTP_CONTENT_TYPE_MISSMATCH_RESPONSE_DATA: u32 = 2150859000u32;
289 pub const ERROR_WSMAN_HTTP_INVALID_CONTENT_TYPE_IN_RESPONSE_DATA: u32 = 2150858999u32;
290 pub const ERROR_WSMAN_HTTP_NOT_FOUND_STATUS: u32 = 2150859027u32;
291 pub const ERROR_WSMAN_HTTP_NO_RESPONSE_DATA: u32 = 2150858997u32;
292 pub const ERROR_WSMAN_HTTP_REQUEST_TOO_LARGE_STATUS: u32 = 2150859025u32;
293 pub const ERROR_WSMAN_HTTP_SERVICE_UNAVAILABLE_STATUS: u32 = 2150859026u32;
294 pub const ERROR_WSMAN_HTTP_STATUS_BAD_REQUEST: u32 = 2150859121u32;
295 pub const ERROR_WSMAN_HTTP_STATUS_SERVER_ERROR: u32 = 2150859120u32;
296 pub const ERROR_WSMAN_IISCONFIGURATION_READ_FAILED: u32 = 2150859155u32;
297 pub const ERROR_WSMAN_INCOMPATIBLE_EPR: u32 = 2150858807u32;
298 pub const ERROR_WSMAN_INEXISTENT_MAC_ADDRESS: u32 = 2150858875u32;
299 pub const ERROR_WSMAN_INSECURE_ADDRESS_NOT_SUPPORTED: u32 = 2150858865u32;
300 pub const ERROR_WSMAN_INSUFFCIENT_SELECTORS: u32 = 2150858842u32;
301 pub const ERROR_WSMAN_INSUFFICIENT_METADATA_FOR_BASIC: u32 = 2150859251u32;
302 pub const ERROR_WSMAN_INVALID_ACTIONURI: u32 = 2150858753u32;
303 pub const ERROR_WSMAN_INVALID_BATCH_PARAMETER: u32 = 2150858799u32;
304 pub const ERROR_WSMAN_INVALID_BATCH_SETTINGS_PARAMETER: u32 = 2150859021u32;
305 pub const ERROR_WSMAN_INVALID_BOOKMARK: u32 = 2150858808u32;
306 pub const ERROR_WSMAN_INVALID_CHARACTERS_IN_RESPONSE: u32 = 2150859018u32;
307 pub const ERROR_WSMAN_INVALID_CONFIGSDDL_URL: u32 = 2150859199u32;
308 pub const ERROR_WSMAN_INVALID_CONNECTIONRETRY: u32 = 2150859103u32;
309 pub const ERROR_WSMAN_INVALID_FILEPATH: u32 = 2150859153u32;
310 pub const ERROR_WSMAN_INVALID_FILTER_XML: u32 = 2150859015u32;
311 pub const ERROR_WSMAN_INVALID_FRAGMENT_DIALECT: u32 = 2150858898u32;
312 pub const ERROR_WSMAN_INVALID_FRAGMENT_PATH: u32 = 2150858899u32;
313 pub const ERROR_WSMAN_INVALID_FRAGMENT_PATH_BLANK: u32 = 2150859017u32;
314 pub const ERROR_WSMAN_INVALID_HEADER: u32 = 2150859035u32;
315 pub const ERROR_WSMAN_INVALID_HOSTNAME_PATTERN: u32 = 2150858911u32;
316 pub const ERROR_WSMAN_INVALID_IPFILTER: u32 = 2150858988u32;
317 pub const ERROR_WSMAN_INVALID_KEY: u32 = 2150858820u32;
318 pub const ERROR_WSMAN_INVALID_LITERAL_URI: u32 = 2150859252u32;
319 pub const ERROR_WSMAN_INVALID_MESSAGE_INFORMATION_HEADER: u32 = 2150858767u32;
320 pub const ERROR_WSMAN_INVALID_OPTIONS: u32 = 2150858809u32;
321 pub const ERROR_WSMAN_INVALID_OPTIONSET: u32 = 2150859140u32;
322 pub const ERROR_WSMAN_INVALID_OPTION_NO_PROXY_SERVER: u32 = 2150859165u32;
323 pub const ERROR_WSMAN_INVALID_PARAMETER: u32 = 2150858810u32;
324 pub const ERROR_WSMAN_INVALID_PARAMETER_NAME: u32 = 2150858837u32;
325 pub const ERROR_WSMAN_INVALID_PROPOSED_ID: u32 = 2150858798u32;
326 pub const ERROR_WSMAN_INVALID_PROVIDER_RESPONSE: u32 = 2150859117u32;
327 pub const ERROR_WSMAN_INVALID_PUBLISHERS_TYPE: u32 = 2150859107u32;
328 pub const ERROR_WSMAN_INVALID_REDIRECT_ERROR: u32 = 2150859189u32;
329 pub const ERROR_WSMAN_INVALID_REPRESENTATION: u32 = 2150858773u32;
330 pub const ERROR_WSMAN_INVALID_RESOURCE_URI: u32 = 2150858811u32;
331 pub const ERROR_WSMAN_INVALID_RESUMPTION_CONTEXT: u32 = 2150858792u32;
332 pub const ERROR_WSMAN_INVALID_SECURITY_DESCRIPTOR: u32 = 2150859100u32;
333 pub const ERROR_WSMAN_INVALID_SELECTORS: u32 = 2150858813u32;
334 pub const ERROR_WSMAN_INVALID_SELECTOR_NAME: u32 = 2150859032u32;
335 pub const ERROR_WSMAN_INVALID_SELECTOR_VALUE: u32 = 2150858845u32;
336 pub const ERROR_WSMAN_INVALID_SOAP_BODY: u32 = 2150858791u32;
337 pub const ERROR_WSMAN_INVALID_SUBSCRIBE_OBJECT: u32 = 2150859112u32;
338 pub const ERROR_WSMAN_INVALID_SUBSCRIPTION_MANAGER: u32 = 2150859006u32;
339 pub const ERROR_WSMAN_INVALID_SYSTEM: u32 = 2150858812u32;
340 pub const ERROR_WSMAN_INVALID_TARGET_RESOURCEURI: u32 = 2150858849u32;
341 pub const ERROR_WSMAN_INVALID_TARGET_SELECTORS: u32 = 2150858848u32;
342 pub const ERROR_WSMAN_INVALID_TARGET_SYSTEM: u32 = 2150858850u32;
343 pub const ERROR_WSMAN_INVALID_TIMEOUT_HEADER: u32 = 2150858881u32;
344 pub const ERROR_WSMAN_INVALID_URI: u32 = 2150858754u32;
345 pub const ERROR_WSMAN_INVALID_URI_WMI_ENUM_WQL: u32 = 2150859003u32;
346 pub const ERROR_WSMAN_INVALID_URI_WMI_SINGLETON: u32 = 2150859002u32;
347 pub const ERROR_WSMAN_INVALID_USESSL_PARAM: u32 = 2150859198u32;
348 pub const ERROR_WSMAN_INVALID_XML: u32 = 2150858819u32;
349 pub const ERROR_WSMAN_INVALID_XML_FRAGMENT: u32 = 2150858841u32;
350 pub const ERROR_WSMAN_INVALID_XML_MISSING_VALUES: u32 = 2150858839u32;
351 pub const ERROR_WSMAN_INVALID_XML_NAMESPACE: u32 = 2150858840u32;
352 pub const ERROR_WSMAN_INVALID_XML_RUNAS_DISABLED: u32 = 2150859232u32;
353 pub const ERROR_WSMAN_INVALID_XML_VALUES: u32 = 2150858838u32;
354 pub const ERROR_WSMAN_KERBEROS_IPADDRESS: u32 = 2150859019u32;
355 pub const ERROR_WSMAN_LISTENER_ADDRESS_INVALID: u32 = 2150858889u32;
356 pub const ERROR_WSMAN_LOCALE_NOT_SUPPORTED: u32 = 2150858855u32;
357 pub const ERROR_WSMAN_MACHINE_OPTION_REQUIRED: u32 = 2150858917u32;
358 pub const ERROR_WSMAN_MAXENVELOPE_POLICY_NOT_SUPPORTED: u32 = 2150858863u32;
359 pub const ERROR_WSMAN_MAXENVELOPE_SIZE_NOT_SUPPORTED: u32 = 2150858862u32;
360 pub const ERROR_WSMAN_MAXITEMS_NOT_SUPPORTED: u32 = 2150858860u32;
361 pub const ERROR_WSMAN_MAXTIME_NOT_SUPPORTED: u32 = 2150858861u32;
362 pub const ERROR_WSMAN_MAX_ELEMENTS_NOT_SUPPORTED: u32 = 2150859037u32;
363 pub const ERROR_WSMAN_MAX_ENVELOPE_SIZE: u32 = 2150858823u32;
364 pub const ERROR_WSMAN_MAX_ENVELOPE_SIZE_EXCEEDED: u32 = 2150858824u32;
365 pub const ERROR_WSMAN_MESSAGE_INFORMATION_HEADER_REQUIRED: u32 = 2150858769u32;
366 pub const ERROR_WSMAN_METADATA_REDIRECT: u32 = 2150858814u32;
367 pub const ERROR_WSMAN_MIN_ENVELOPE_SIZE: u32 = 2150858878u32;
368 pub const ERROR_WSMAN_MISSING_CLASSNAME: u32 = 2150859254u32;
369 pub const ERROR_WSMAN_MISSING_FRAGMENT_PATH: u32 = 2150858897u32;
370 pub const ERROR_WSMAN_MULTIPLE_CREDENTIALS: u32 = 2150859076u32;
371 pub const ERROR_WSMAN_MUSTUNDERSTAND_ON_LOCALE_UNSUPPORTED: u32 = 2150858887u32;
372 pub const ERROR_WSMAN_MUTUAL_AUTH_FAILED: u32 = 2150859248u32;
373 pub const ERROR_WSMAN_NAME_NOT_RESOLVED: u32 = 2150859193u32;
374 pub const ERROR_WSMAN_NETWORK_TIMEDOUT: u32 = 2150859046u32;
375 pub const ERROR_WSMAN_NEW_DESERIALIZER: u32 = 2150859243u32;
376 pub const ERROR_WSMAN_NEW_SESSION: u32 = 2150859246u32;
377 pub const ERROR_WSMAN_NON_PULL_SUBSCRIPTION_NOT_SUPPORTED: u32 = 2150859007u32;
378 pub const ERROR_WSMAN_NO_ACK: u32 = 2150858800u32;
379 pub const ERROR_WSMAN_NO_CERTMAPPING_OPERATION_FOR_LOCAL_SESSION: u32 = 2150859090u32;
380 pub const ERROR_WSMAN_NO_COMMANDID: u32 = 2150859141u32;
381 pub const ERROR_WSMAN_NO_COMMAND_RESPONSE: u32 = 2150859139u32;
382 pub const ERROR_WSMAN_NO_DHCP_ADDRESSES: u32 = 2150858877u32;
383 pub const ERROR_WSMAN_NO_IDENTIFY_FOR_LOCAL_SESSION: u32 = 2150859004u32;
384 pub const ERROR_WSMAN_NO_PUSH_SUBSCRIPTION_FOR_LOCAL_SESSION: u32 = 2150859005u32;
385 pub const ERROR_WSMAN_NO_RECEIVE_RESPONSE: u32 = 2150859151u32;
386 pub const ERROR_WSMAN_NO_UNICAST_ADDRESSES: u32 = 2150858876u32;
387 pub const ERROR_WSMAN_NULL_KEY: u32 = 2150859247u32;
388 pub const ERROR_WSMAN_OBJECTONLY_INVALID: u32 = 2150859253u32;
389 pub const ERROR_WSMAN_OPERATION_TIMEDOUT: u32 = 2150858793u32;
390 pub const ERROR_WSMAN_OPERATION_TIMEOUT_NOT_SUPPORTED: u32 = 2150858854u32;
391 pub const ERROR_WSMAN_OPTIONS_INVALID_NAME: u32 = 2150858834u32;
392 pub const ERROR_WSMAN_OPTIONS_INVALID_VALUE: u32 = 2150858835u32;
393 pub const ERROR_WSMAN_OPTIONS_NOT_SUPPORTED: u32 = 2150858833u32;
394 pub const ERROR_WSMAN_OPTION_LIMIT: u32 = 2150858827u32;
395 pub const ERROR_WSMAN_PARAMETER_TYPE_MISMATCH: u32 = 2150858836u32;
396 pub const ERROR_WSMAN_PLUGIN_CONFIGURATION_CORRUPTED: u32 = 2150859152u32;
397 pub const ERROR_WSMAN_PLUGIN_FAILED: u32 = 2150858883u32;
398 pub const ERROR_WSMAN_POLICY_CANNOT_COMPLY: u32 = 2150859102u32;
399 pub const ERROR_WSMAN_POLICY_CORRUPTED: u32 = 2150858888u32;
400 pub const ERROR_WSMAN_POLICY_TOO_COMPLEX: u32 = 2150859101u32;
401 pub const ERROR_WSMAN_POLYMORPHISM_MODE_UNSUPPORTED: u32 = 2150859063u32;
402 pub const ERROR_WSMAN_PORT_INVALID: u32 = 2150858971u32;
403 pub const ERROR_WSMAN_PROVIDER_FAILURE: u32 = 2150858755u32;
404 pub const ERROR_WSMAN_PROVIDER_LOAD_FAILED: u32 = 2150858906u32;
405 pub const ERROR_WSMAN_PROVSYS_NOT_SUPPORTED: u32 = 2150858921u32;
406 pub const ERROR_WSMAN_PROXY_ACCESS_TYPE: u32 = 2150859164u32;
407 pub const ERROR_WSMAN_PROXY_AUTHENTICATION_INVALID_FLAG: u32 = 2150859162u32;
408 pub const ERROR_WSMAN_PUBLIC_FIREWALL_PROFILE_ACTIVE: u32 = 2150859113u32;
409 pub const ERROR_WSMAN_PULL_IN_PROGRESS: u32 = 2150858758u32;
410 pub const ERROR_WSMAN_PULL_PARAMS_NOT_SAME_AS_ENUM: u32 = 2150859181u32;
411 pub const ERROR_WSMAN_PUSHSUBSCRIPTION_INVALIDUSERACCOUNT: u32 = 2150859068u32;
412 pub const ERROR_WSMAN_PUSH_SUBSCRIPTION_CONFIG_INVALID: u32 = 2150858922u32;
413 pub const ERROR_WSMAN_QUICK_CONFIG_FAILED_CERT_REQUIRED: u32 = 2150859029u32;
414 pub const ERROR_WSMAN_QUICK_CONFIG_FIREWALL_EXCEPTIONS_DISALLOWED: u32 = 2150859030u32;
415 pub const ERROR_WSMAN_QUICK_CONFIG_LOCAL_POLICY_CHANGE_DISALLOWED: u32 = 2150859031u32;
416 pub const ERROR_WSMAN_QUOTA_LIMIT: u32 = 2150858815u32;
417 pub const ERROR_WSMAN_QUOTA_MAX_COMMANDS_PER_SHELL_PPQ: u32 = 2150859241u32;
418 pub const ERROR_WSMAN_QUOTA_MAX_OPERATIONS: u32 = 2150859174u32;
419 pub const ERROR_WSMAN_QUOTA_MAX_OPERATIONS_USER_PPQ: u32 = 2150859240u32;
420 pub const ERROR_WSMAN_QUOTA_MAX_PLUGINOPERATIONS_PPQ: u32 = 2150859239u32;
421 pub const ERROR_WSMAN_QUOTA_MAX_PLUGINSHELLS_PPQ: u32 = 2150859238u32;
422 pub const ERROR_WSMAN_QUOTA_MAX_SHELLS: u32 = 2150859173u32;
423 pub const ERROR_WSMAN_QUOTA_MAX_SHELLS_PPQ: u32 = 2150859236u32;
424 pub const ERROR_WSMAN_QUOTA_MAX_SHELLUSERS: u32 = 2150859179u32;
425 pub const ERROR_WSMAN_QUOTA_MAX_USERS_PPQ: u32 = 2150859237u32;
426 pub const ERROR_WSMAN_QUOTA_MIN_REQUIREMENT_NOT_AVAILABLE_PPQ: u32 = 2150859242u32;
427 pub const ERROR_WSMAN_QUOTA_SYSTEM: u32 = 2150859176u32;
428 pub const ERROR_WSMAN_QUOTA_USER: u32 = 2150859175u32;
429 pub const ERROR_WSMAN_REDIRECT_LOCATION_NOT_AVAILABLE: u32 = 2150859178u32;
430 pub const ERROR_WSMAN_REDIRECT_REQUESTED: u32 = 2150859161u32;
431 pub const ERROR_WSMAN_REMOTESHELLS_NOT_ALLOWED: u32 = 2150859180u32;
432 pub const ERROR_WSMAN_REMOTE_CIMPATH_NOT_SUPPORTED: u32 = 2150859009u32;
433 pub const ERROR_WSMAN_REMOTE_CONNECTION_NOT_ALLOWED: u32 = 2150859235u32;
434 pub const ERROR_WSMAN_RENAME_FAILURE: u32 = 2150858816u32;
435 pub const ERROR_WSMAN_REQUEST_INIT_ERROR: u32 = 2150858880u32;
436 pub const ERROR_WSMAN_REQUEST_NOT_SUPPORTED_AT_SERVICE: u32 = 2150859064u32;
437 pub const ERROR_WSMAN_RESOURCE_NOT_FOUND: u32 = 2150858752u32;
438 pub const ERROR_WSMAN_RESPONSE_INVALID_ENUMERATION_CONTEXT: u32 = 2150858993u32;
439 pub const ERROR_WSMAN_RESPONSE_INVALID_MESSAGE_INFORMATION_HEADER: u32 = 2150858995u32;
440 pub const ERROR_WSMAN_RESPONSE_INVALID_SOAP_FAULT: u32 = 2150858998u32;
441 pub const ERROR_WSMAN_RESPONSE_NO_RESULTS: u32 = 2150858991u32;
442 pub const ERROR_WSMAN_RESPONSE_NO_SOAP_HEADER_BODY: u32 = 2150858996u32;
443 pub const ERROR_WSMAN_RESPONSE_NO_XML_FRAGMENT_WRAPPER: u32 = 2150858994u32;
444 pub const ERROR_WSMAN_RESUMPTION_NOT_SUPPORTED: u32 = 2150858794u32;
445 pub const ERROR_WSMAN_RESUMPTION_TYPE_NOT_SUPPORTED: u32 = 2150858795u32;
446 pub const ERROR_WSMAN_RUNASUSER_MANAGEDACCOUNT_LOGON_FAILED: u32 = 2150859261u32;
447 pub const ERROR_WSMAN_RUNAS_INVALIDUSERCREDENTIALS: u32 = 2150859203u32;
448 pub const ERROR_WSMAN_RUNSHELLCOMMAND_NULL_ARGUMENT: u32 = 2150859086u32;
449 pub const ERROR_WSMAN_SCHEMA_VALIDATION_ERROR: u32 = 2150858817u32;
450 pub const ERROR_WSMAN_SECURITY_UNMAPPED: u32 = 2150858909u32;
451 pub const ERROR_WSMAN_SELECTOR_LIMIT: u32 = 2150858826u32;
452 pub const ERROR_WSMAN_SELECTOR_TYPEMISMATCH: u32 = 2150858844u32;
453 pub const ERROR_WSMAN_SEMANTICCALLBACK_TIMEDOUT: u32 = 2150859228u32;
454 pub const ERROR_WSMAN_SENDHEARBEAT_EMPTY_ENUMERATOR: u32 = 2150858973u32;
455 pub const ERROR_WSMAN_SENDSHELLINPUT_INVALID_STREAMID_INDEX: u32 = 2150859088u32;
456 pub const ERROR_WSMAN_SERVER_DESTINATION_LOCALHOST: u32 = 2150859022u32;
457 pub const ERROR_WSMAN_SERVER_ENVELOPE_LIMIT: u32 = 2150858825u32;
458 pub const ERROR_WSMAN_SERVER_NONPULLSUBSCRIBE_NULL_PARAM: u32 = 2150858966u32;
459 pub const ERROR_WSMAN_SERVER_NOT_TRUSTED: u32 = 2150858980u32;
460 pub const ERROR_WSMAN_SERVICE_REMOTE_ACCESS_DISABLED: u32 = 2150859229u32;
461 pub const ERROR_WSMAN_SERVICE_STREAM_DISCONNECTED: u32 = 2150859230u32;
462 pub const ERROR_WSMAN_SESSION_ALREADY_CLOSED: u32 = 2150858904u32;
463 pub const ERROR_WSMAN_SHELL_ALREADY_CLOSED: u32 = 2150859082u32;
464 pub const ERROR_WSMAN_SHELL_INVALID_COMMAND_HANDLE: u32 = 2150859085u32;
465 pub const ERROR_WSMAN_SHELL_INVALID_DESIRED_STREAMS: u32 = 2150859149u32;
466 pub const ERROR_WSMAN_SHELL_INVALID_INPUT_STREAM: u32 = 2150859147u32;
467 pub const ERROR_WSMAN_SHELL_INVALID_SHELL_HANDLE: u32 = 2150859084u32;
468 pub const ERROR_WSMAN_SHELL_NOT_INITIALIZED: u32 = 2150859118u32;
469 pub const ERROR_WSMAN_SHELL_SYNCHRONOUS_NOT_SUPPORTED: u32 = 2150859089u32;
470 pub const ERROR_WSMAN_SOAP_DATA_ENCODING_UNKNOWN: u32 = 2150858766u32;
471 pub const ERROR_WSMAN_SOAP_FAULT_MUST_UNDERSTAND: u32 = 2150858768u32;
472 pub const ERROR_WSMAN_SOAP_VERSION_MISMATCH: u32 = 2150858765u32;
473 pub const ERROR_WSMAN_SSL_CONNECTION_ABORTED: u32 = 2150859194u32;
474 pub const ERROR_WSMAN_SUBSCRIBE_WMI_INVALID_KEY: u32 = 2150859225u32;
475 pub const ERROR_WSMAN_SUBSCRIPTION_CLIENT_DID_NOT_CALL_WITHIN_HEARTBEAT: u32 = 2150858762u32;
476 pub const ERROR_WSMAN_SUBSCRIPTION_CLOSED: u32 = 2150858760u32;
477 pub const ERROR_WSMAN_SUBSCRIPTION_CLOSE_IN_PROGRESS: u32 = 2150858761u32;
478 pub const ERROR_WSMAN_SUBSCRIPTION_LISTENER_NOLONGERVALID: u32 = 2150858905u32;
479 pub const ERROR_WSMAN_SUBSCRIPTION_NO_HEARTBEAT: u32 = 2150858763u32;
480 pub const ERROR_WSMAN_SYSTEM_NOT_FOUND: u32 = 2150858822u32;
481 pub const ERROR_WSMAN_TARGET_ALREADY_EXISTS: u32 = 2150858851u32;
482 pub const ERROR_WSMAN_TRANSPORT_NOT_SUPPORTED: u32 = 2150858970u32;
483 pub const ERROR_WSMAN_UNEXPECTED_SELECTORS: u32 = 2150858843u32;
484 pub const ERROR_WSMAN_UNKNOWN_HTTP_STATUS_RETURNED: u32 = 2150859023u32;
485 pub const ERROR_WSMAN_UNREPORTABLE_SUCCESS: u32 = 2150858829u32;
486 pub const ERROR_WSMAN_UNSUPPORTED_ADDRESSING_MODE: u32 = 2150858870u32;
487 pub const ERROR_WSMAN_UNSUPPORTED_ENCODING: u32 = 2150858796u32;
488 pub const ERROR_WSMAN_UNSUPPORTED_FEATURE: u32 = 2150858818u32;
489 pub const ERROR_WSMAN_UNSUPPORTED_FEATURE_IDENTIFY: u32 = 2150859257u32;
490 pub const ERROR_WSMAN_UNSUPPORTED_FEATURE_OPTIONS: u32 = 2150858918u32;
491 pub const ERROR_WSMAN_UNSUPPORTED_HTTP_STATUS_REDIRECT: u32 = 2150859024u32;
492 pub const ERROR_WSMAN_UNSUPPORTED_MEDIA: u32 = 2150858869u32;
493 pub const ERROR_WSMAN_UNSUPPORTED_OCTETTYPE: u32 = 2150859249u32;
494 pub const ERROR_WSMAN_UNSUPPORTED_TIMEOUT: u32 = 2150858764u32;
495 pub const ERROR_WSMAN_UNSUPPORTED_TYPE: u32 = 2150859234u32;
496 pub const ERROR_WSMAN_URISECURITY_INVALIDURIKEY: u32 = 2150859104u32;
497 pub const ERROR_WSMAN_URI_LIMIT: u32 = 2150858797u32;
498 pub const ERROR_WSMAN_URI_NON_DMTF_CLASS: u32 = 2150859065u32;
499 pub const ERROR_WSMAN_URI_QUERY_STRING_SYNTAX_ERROR: u32 = 2150858874u32;
500 pub const ERROR_WSMAN_URI_SECURITY_URI: u32 = 2150859183u32;
501 pub const ERROR_WSMAN_URI_WRONG_DMTF_VERSION: u32 = 2150859066u32;
502 pub const ERROR_WSMAN_VIRTUALACCOUNT_NOTSUPPORTED: u32 = 2150859259u32;
503 pub const ERROR_WSMAN_VIRTUALACCOUNT_NOTSUPPORTED_DOWNLEVEL: u32 = 2150859260u32;
504 pub const ERROR_WSMAN_WHITESPACE: u32 = 2150858830u32;
505 pub const ERROR_WSMAN_WMI_CANNOT_CONNECT_ACCESS_DENIED: u32 = 2150859014u32;
506 pub const ERROR_WSMAN_WMI_INVALID_VALUE: u32 = 2150859011u32;
507 pub const ERROR_WSMAN_WMI_MAX_NESTED: u32 = 2150859008u32;
508 pub const ERROR_WSMAN_WMI_PROVIDER_ACCESS_DENIED: u32 = 2150859013u32;
509 pub const ERROR_WSMAN_WMI_PROVIDER_INVALID_PARAMETER: u32 = 2150859038u32;
510 pub const ERROR_WSMAN_WMI_PROVIDER_NOT_CAPABLE: u32 = 2150859010u32;
511 pub const ERROR_WSMAN_WMI_SVC_ACCESS_DENIED: u32 = 2150859012u32;
512 pub const ERROR_WSMAN_WRONG_METADATA: u32 = 2150859233u32;
513 #[repr(transparent)]
514 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
515 pub struct IWSMan(::windows::runtime::IUnknown);
516 impl IWSMan {
517     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>518     pub unsafe fn CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
519         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
520         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), connection.into_param().abi(), ::std::mem::transmute(flags), connectionoptions.into_param().abi(), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
521     }
522     #[cfg(feature = "Win32_System_Ole_Automation")]
CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>523     pub unsafe fn CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
524         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
525         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
526     }
527     #[cfg(feature = "Win32_Foundation")]
CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>528     pub unsafe fn CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
529         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
530         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
531     }
532     #[cfg(feature = "Win32_Foundation")]
Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>533     pub unsafe fn Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
534         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
535         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
536     }
537 }
538 unsafe impl ::windows::runtime::Interface for IWSMan {
539     type Vtable = IWSMan_abi;
540     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(420316727, 23763, 18797, [173, 36, 105, 99, 107, 181, 163, 181]);
541 }
542 impl ::std::convert::From<IWSMan> for ::windows::runtime::IUnknown {
from(value: IWSMan) -> Self543     fn from(value: IWSMan) -> Self {
544         unsafe { ::std::mem::transmute(value) }
545     }
546 }
547 impl ::std::convert::From<&IWSMan> for ::windows::runtime::IUnknown {
from(value: &IWSMan) -> Self548     fn from(value: &IWSMan) -> Self {
549         ::std::convert::From::from(::std::clone::Clone::clone(value))
550     }
551 }
552 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSMan {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>553     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
554         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
555     }
556 }
557 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSMan {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>558     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
559         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
560     }
561 }
562 #[cfg(feature = "Win32_System_Ole_Automation")]
563 impl ::std::convert::From<IWSMan> for super::Ole::Automation::IDispatch {
from(value: IWSMan) -> Self564     fn from(value: IWSMan) -> Self {
565         unsafe { ::std::mem::transmute(value) }
566     }
567 }
568 #[cfg(feature = "Win32_System_Ole_Automation")]
569 impl ::std::convert::From<&IWSMan> for super::Ole::Automation::IDispatch {
from(value: &IWSMan) -> Self570     fn from(value: &IWSMan) -> Self {
571         ::std::convert::From::from(::std::clone::Clone::clone(value))
572     }
573 }
574 #[cfg(feature = "Win32_System_Ole_Automation")]
575 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSMan {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>576     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
577         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
578     }
579 }
580 #[cfg(feature = "Win32_System_Ole_Automation")]
581 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSMan {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>582     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
583         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
584     }
585 }
586 #[repr(C)]
587 #[doc(hidden)]
588 pub struct IWSMan_abi(
589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
591     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
592     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
593     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
594     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
595     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
596     #[cfg(not(feature = "Win32_Foundation"))] usize,
597     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
598     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
599     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
600     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connection: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, connectionoptions: ::windows::runtime::RawPtr, session: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
601     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
602     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connectionoptions: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
603     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
604     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
605     #[cfg(not(feature = "Win32_Foundation"))] usize,
606     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
607     #[cfg(not(feature = "Win32_Foundation"))] usize,
608 );
609 #[repr(transparent)]
610 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
611 pub struct IWSManConnectionOptions(::windows::runtime::IUnknown);
612 impl IWSManConnectionOptions {
613     #[cfg(feature = "Win32_Foundation")]
UserName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>614     pub unsafe fn UserName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
615         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
616         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
617     }
618     #[cfg(feature = "Win32_Foundation")]
SetUserName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>619     pub unsafe fn SetUserName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
620         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
621     }
622     #[cfg(feature = "Win32_Foundation")]
SetPassword<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, password: Param0) -> ::windows::runtime::Result<()>623     pub unsafe fn SetPassword<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, password: Param0) -> ::windows::runtime::Result<()> {
624         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), password.into_param().abi()).ok()
625     }
626 }
627 unsafe impl ::windows::runtime::Interface for IWSManConnectionOptions {
628     type Vtable = IWSManConnectionOptions_abi;
629     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4144293985, 40530, 17999, [183, 134, 218, 94, 178, 50, 15, 221]);
630 }
631 impl ::std::convert::From<IWSManConnectionOptions> for ::windows::runtime::IUnknown {
from(value: IWSManConnectionOptions) -> Self632     fn from(value: IWSManConnectionOptions) -> Self {
633         unsafe { ::std::mem::transmute(value) }
634     }
635 }
636 impl ::std::convert::From<&IWSManConnectionOptions> for ::windows::runtime::IUnknown {
from(value: &IWSManConnectionOptions) -> Self637     fn from(value: &IWSManConnectionOptions) -> Self {
638         ::std::convert::From::from(::std::clone::Clone::clone(value))
639     }
640 }
641 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManConnectionOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>642     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
643         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
644     }
645 }
646 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManConnectionOptions {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>647     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
648         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
649     }
650 }
651 #[cfg(feature = "Win32_System_Ole_Automation")]
652 impl ::std::convert::From<IWSManConnectionOptions> for super::Ole::Automation::IDispatch {
from(value: IWSManConnectionOptions) -> Self653     fn from(value: IWSManConnectionOptions) -> Self {
654         unsafe { ::std::mem::transmute(value) }
655     }
656 }
657 #[cfg(feature = "Win32_System_Ole_Automation")]
658 impl ::std::convert::From<&IWSManConnectionOptions> for super::Ole::Automation::IDispatch {
from(value: &IWSManConnectionOptions) -> Self659     fn from(value: &IWSManConnectionOptions) -> Self {
660         ::std::convert::From::from(::std::clone::Clone::clone(value))
661     }
662 }
663 #[cfg(feature = "Win32_System_Ole_Automation")]
664 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManConnectionOptions {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>665     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
666         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
667     }
668 }
669 #[cfg(feature = "Win32_System_Ole_Automation")]
670 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManConnectionOptions {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>671     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
672         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
673     }
674 }
675 #[repr(C)]
676 #[doc(hidden)]
677 pub struct IWSManConnectionOptions_abi(
678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
679     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
680     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
682     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
683     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
684     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
685     #[cfg(not(feature = "Win32_Foundation"))] usize,
686     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
687     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
688     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
689     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
690     #[cfg(not(feature = "Win32_Foundation"))] usize,
691     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
692     #[cfg(not(feature = "Win32_Foundation"))] usize,
693     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, password: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
694     #[cfg(not(feature = "Win32_Foundation"))] usize,
695 );
696 #[repr(transparent)]
697 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
698 pub struct IWSManConnectionOptionsEx(::windows::runtime::IUnknown);
699 impl IWSManConnectionOptionsEx {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>700     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
701         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
702         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
703     }
704     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>705     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
706         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
707         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
708     }
709     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>710     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
711         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
712     }
713     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>714     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
715         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
716     }
717     #[cfg(feature = "Win32_Foundation")]
UserName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>718     pub unsafe fn UserName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
719         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
720         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
721     }
722     #[cfg(feature = "Win32_Foundation")]
SetUserName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>723     pub unsafe fn SetUserName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
724         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
725     }
726     #[cfg(feature = "Win32_Foundation")]
SetPassword<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, password: Param0) -> ::windows::runtime::Result<()>727     pub unsafe fn SetPassword<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, password: Param0) -> ::windows::runtime::Result<()> {
728         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), password.into_param().abi()).ok()
729     }
730     #[cfg(feature = "Win32_Foundation")]
CertificateThumbprint(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>731     pub unsafe fn CertificateThumbprint(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
732         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
733         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
734     }
735     #[cfg(feature = "Win32_Foundation")]
SetCertificateThumbprint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, thumbprint: Param0) -> ::windows::runtime::Result<()>736     pub unsafe fn SetCertificateThumbprint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, thumbprint: Param0) -> ::windows::runtime::Result<()> {
737         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), thumbprint.into_param().abi()).ok()
738     }
739 }
740 unsafe impl ::windows::runtime::Interface for IWSManConnectionOptionsEx {
741     type Vtable = IWSManConnectionOptionsEx_abi;
742     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4014206455, 10824, 19859, [149, 38, 139, 214, 171, 109, 74, 107]);
743 }
744 impl ::std::convert::From<IWSManConnectionOptionsEx> for ::windows::runtime::IUnknown {
from(value: IWSManConnectionOptionsEx) -> Self745     fn from(value: IWSManConnectionOptionsEx) -> Self {
746         unsafe { ::std::mem::transmute(value) }
747     }
748 }
749 impl ::std::convert::From<&IWSManConnectionOptionsEx> for ::windows::runtime::IUnknown {
from(value: &IWSManConnectionOptionsEx) -> Self750     fn from(value: &IWSManConnectionOptionsEx) -> Self {
751         ::std::convert::From::from(::std::clone::Clone::clone(value))
752     }
753 }
754 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManConnectionOptionsEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>755     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
756         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
757     }
758 }
759 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManConnectionOptionsEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>760     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
761         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
762     }
763 }
764 impl ::std::convert::From<IWSManConnectionOptionsEx> for IWSManConnectionOptions {
from(value: IWSManConnectionOptionsEx) -> Self765     fn from(value: IWSManConnectionOptionsEx) -> Self {
766         unsafe { ::std::mem::transmute(value) }
767     }
768 }
769 impl ::std::convert::From<&IWSManConnectionOptionsEx> for IWSManConnectionOptions {
from(value: &IWSManConnectionOptionsEx) -> Self770     fn from(value: &IWSManConnectionOptionsEx) -> Self {
771         ::std::convert::From::from(::std::clone::Clone::clone(value))
772     }
773 }
774 impl<'a> ::windows::runtime::IntoParam<'a, IWSManConnectionOptions> for IWSManConnectionOptionsEx {
into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions>775     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions> {
776         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManConnectionOptions>::into(self))
777     }
778 }
779 impl<'a> ::windows::runtime::IntoParam<'a, IWSManConnectionOptions> for &IWSManConnectionOptionsEx {
into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions>780     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions> {
781         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManConnectionOptions>::into(::std::clone::Clone::clone(self)))
782     }
783 }
784 #[cfg(feature = "Win32_System_Ole_Automation")]
785 impl ::std::convert::From<IWSManConnectionOptionsEx> for super::Ole::Automation::IDispatch {
from(value: IWSManConnectionOptionsEx) -> Self786     fn from(value: IWSManConnectionOptionsEx) -> Self {
787         unsafe { ::std::mem::transmute(value) }
788     }
789 }
790 #[cfg(feature = "Win32_System_Ole_Automation")]
791 impl ::std::convert::From<&IWSManConnectionOptionsEx> for super::Ole::Automation::IDispatch {
from(value: &IWSManConnectionOptionsEx) -> Self792     fn from(value: &IWSManConnectionOptionsEx) -> Self {
793         ::std::convert::From::from(::std::clone::Clone::clone(value))
794     }
795 }
796 #[cfg(feature = "Win32_System_Ole_Automation")]
797 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManConnectionOptionsEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>798     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
799         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
800     }
801 }
802 #[cfg(feature = "Win32_System_Ole_Automation")]
803 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManConnectionOptionsEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>804     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
805         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
806     }
807 }
808 #[repr(C)]
809 #[doc(hidden)]
810 pub struct IWSManConnectionOptionsEx_abi(
811     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
812     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
813     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
814     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
815     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
816     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
817     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
818     #[cfg(not(feature = "Win32_Foundation"))] usize,
819     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
820     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
821     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
822     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
823     #[cfg(not(feature = "Win32_Foundation"))] usize,
824     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
825     #[cfg(not(feature = "Win32_Foundation"))] usize,
826     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, password: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
827     #[cfg(not(feature = "Win32_Foundation"))] usize,
828     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, thumbprint: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
829     #[cfg(not(feature = "Win32_Foundation"))] usize,
830     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, thumbprint: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
831     #[cfg(not(feature = "Win32_Foundation"))] usize,
832 );
833 #[repr(transparent)]
834 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
835 pub struct IWSManConnectionOptionsEx2(::windows::runtime::IUnknown);
836 impl IWSManConnectionOptionsEx2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>837     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
838         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
839         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
840     }
841     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>842     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
843         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
844         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
845     }
846     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>847     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
848         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
849     }
850     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>851     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
852         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
853     }
854     #[cfg(feature = "Win32_Foundation")]
UserName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>855     pub unsafe fn UserName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
856         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
857         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
858     }
859     #[cfg(feature = "Win32_Foundation")]
SetUserName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>860     pub unsafe fn SetUserName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
861         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
862     }
863     #[cfg(feature = "Win32_Foundation")]
SetPassword<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, password: Param0) -> ::windows::runtime::Result<()>864     pub unsafe fn SetPassword<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, password: Param0) -> ::windows::runtime::Result<()> {
865         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), password.into_param().abi()).ok()
866     }
867     #[cfg(feature = "Win32_Foundation")]
CertificateThumbprint(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>868     pub unsafe fn CertificateThumbprint(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
869         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
870         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
871     }
872     #[cfg(feature = "Win32_Foundation")]
SetCertificateThumbprint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, thumbprint: Param0) -> ::windows::runtime::Result<()>873     pub unsafe fn SetCertificateThumbprint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, thumbprint: Param0) -> ::windows::runtime::Result<()> {
874         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), thumbprint.into_param().abi()).ok()
875     }
876     #[cfg(feature = "Win32_Foundation")]
SetProxy<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, accesstype: i32, authenticationmechanism: i32, username: Param2, password: Param3) -> ::windows::runtime::Result<()>877     pub unsafe fn SetProxy<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, accesstype: i32, authenticationmechanism: i32, username: Param2, password: Param3) -> ::windows::runtime::Result<()> {
878         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(accesstype), ::std::mem::transmute(authenticationmechanism), username.into_param().abi(), password.into_param().abi()).ok()
879     }
ProxyIEConfig(&self) -> ::windows::runtime::Result<i32>880     pub unsafe fn ProxyIEConfig(&self) -> ::windows::runtime::Result<i32> {
881         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
882         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
883     }
ProxyWinHttpConfig(&self) -> ::windows::runtime::Result<i32>884     pub unsafe fn ProxyWinHttpConfig(&self) -> ::windows::runtime::Result<i32> {
885         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
886         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
887     }
ProxyAutoDetect(&self) -> ::windows::runtime::Result<i32>888     pub unsafe fn ProxyAutoDetect(&self) -> ::windows::runtime::Result<i32> {
889         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
890         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
891     }
ProxyNoProxyServer(&self) -> ::windows::runtime::Result<i32>892     pub unsafe fn ProxyNoProxyServer(&self) -> ::windows::runtime::Result<i32> {
893         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
894         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
895     }
ProxyAuthenticationUseNegotiate(&self) -> ::windows::runtime::Result<i32>896     pub unsafe fn ProxyAuthenticationUseNegotiate(&self) -> ::windows::runtime::Result<i32> {
897         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
898         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
899     }
ProxyAuthenticationUseBasic(&self) -> ::windows::runtime::Result<i32>900     pub unsafe fn ProxyAuthenticationUseBasic(&self) -> ::windows::runtime::Result<i32> {
901         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
902         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
903     }
ProxyAuthenticationUseDigest(&self) -> ::windows::runtime::Result<i32>904     pub unsafe fn ProxyAuthenticationUseDigest(&self) -> ::windows::runtime::Result<i32> {
905         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
906         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
907     }
908 }
909 unsafe impl ::windows::runtime::Interface for IWSManConnectionOptionsEx2 {
910     type Vtable = IWSManConnectionOptionsEx2_abi;
911     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4110469612, 9454, 18603, [179, 141, 252, 154, 22, 76, 101, 142]);
912 }
913 impl ::std::convert::From<IWSManConnectionOptionsEx2> for ::windows::runtime::IUnknown {
from(value: IWSManConnectionOptionsEx2) -> Self914     fn from(value: IWSManConnectionOptionsEx2) -> Self {
915         unsafe { ::std::mem::transmute(value) }
916     }
917 }
918 impl ::std::convert::From<&IWSManConnectionOptionsEx2> for ::windows::runtime::IUnknown {
from(value: &IWSManConnectionOptionsEx2) -> Self919     fn from(value: &IWSManConnectionOptionsEx2) -> Self {
920         ::std::convert::From::from(::std::clone::Clone::clone(value))
921     }
922 }
923 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>924     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
925         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
926     }
927 }
928 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>929     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
930         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
931     }
932 }
933 impl ::std::convert::From<IWSManConnectionOptionsEx2> for IWSManConnectionOptionsEx {
from(value: IWSManConnectionOptionsEx2) -> Self934     fn from(value: IWSManConnectionOptionsEx2) -> Self {
935         unsafe { ::std::mem::transmute(value) }
936     }
937 }
938 impl ::std::convert::From<&IWSManConnectionOptionsEx2> for IWSManConnectionOptionsEx {
from(value: &IWSManConnectionOptionsEx2) -> Self939     fn from(value: &IWSManConnectionOptionsEx2) -> Self {
940         ::std::convert::From::from(::std::clone::Clone::clone(value))
941     }
942 }
943 impl<'a> ::windows::runtime::IntoParam<'a, IWSManConnectionOptionsEx> for IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptionsEx>944     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptionsEx> {
945         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManConnectionOptionsEx>::into(self))
946     }
947 }
948 impl<'a> ::windows::runtime::IntoParam<'a, IWSManConnectionOptionsEx> for &IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptionsEx>949     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptionsEx> {
950         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManConnectionOptionsEx>::into(::std::clone::Clone::clone(self)))
951     }
952 }
953 impl ::std::convert::From<IWSManConnectionOptionsEx2> for IWSManConnectionOptions {
from(value: IWSManConnectionOptionsEx2) -> Self954     fn from(value: IWSManConnectionOptionsEx2) -> Self {
955         unsafe { ::std::mem::transmute(value) }
956     }
957 }
958 impl ::std::convert::From<&IWSManConnectionOptionsEx2> for IWSManConnectionOptions {
from(value: &IWSManConnectionOptionsEx2) -> Self959     fn from(value: &IWSManConnectionOptionsEx2) -> Self {
960         ::std::convert::From::from(::std::clone::Clone::clone(value))
961     }
962 }
963 impl<'a> ::windows::runtime::IntoParam<'a, IWSManConnectionOptions> for IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions>964     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions> {
965         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManConnectionOptions>::into(self))
966     }
967 }
968 impl<'a> ::windows::runtime::IntoParam<'a, IWSManConnectionOptions> for &IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions>969     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManConnectionOptions> {
970         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManConnectionOptions>::into(::std::clone::Clone::clone(self)))
971     }
972 }
973 #[cfg(feature = "Win32_System_Ole_Automation")]
974 impl ::std::convert::From<IWSManConnectionOptionsEx2> for super::Ole::Automation::IDispatch {
from(value: IWSManConnectionOptionsEx2) -> Self975     fn from(value: IWSManConnectionOptionsEx2) -> Self {
976         unsafe { ::std::mem::transmute(value) }
977     }
978 }
979 #[cfg(feature = "Win32_System_Ole_Automation")]
980 impl ::std::convert::From<&IWSManConnectionOptionsEx2> for super::Ole::Automation::IDispatch {
from(value: &IWSManConnectionOptionsEx2) -> Self981     fn from(value: &IWSManConnectionOptionsEx2) -> Self {
982         ::std::convert::From::from(::std::clone::Clone::clone(value))
983     }
984 }
985 #[cfg(feature = "Win32_System_Ole_Automation")]
986 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>987     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
988         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
989     }
990 }
991 #[cfg(feature = "Win32_System_Ole_Automation")]
992 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManConnectionOptionsEx2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>993     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
994         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
995     }
996 }
997 #[repr(C)]
998 #[doc(hidden)]
999 pub struct IWSManConnectionOptionsEx2_abi(
1000     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1001     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1002     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1003     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1004     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1005     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1006     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1007     #[cfg(not(feature = "Win32_Foundation"))] usize,
1008     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1009     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1010     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1011     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1012     #[cfg(not(feature = "Win32_Foundation"))] usize,
1013     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1014     #[cfg(not(feature = "Win32_Foundation"))] usize,
1015     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, password: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1016     #[cfg(not(feature = "Win32_Foundation"))] usize,
1017     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, thumbprint: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1018     #[cfg(not(feature = "Win32_Foundation"))] usize,
1019     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, thumbprint: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1020     #[cfg(not(feature = "Win32_Foundation"))] usize,
1021     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, accesstype: i32, authenticationmechanism: i32, username: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, password: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1022     #[cfg(not(feature = "Win32_Foundation"))] usize,
1023     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1024     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1025     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1026     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1027     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1028     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1029     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
1030 );
1031 #[repr(transparent)]
1032 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1033 pub struct IWSManEnumerator(::windows::runtime::IUnknown);
1034 impl IWSManEnumerator {
1035     #[cfg(feature = "Win32_Foundation")]
ReadItem(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1036     pub unsafe fn ReadItem(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1037         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1038         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1039     }
AtEndOfStream(&self) -> ::windows::runtime::Result<i16>1040     pub unsafe fn AtEndOfStream(&self) -> ::windows::runtime::Result<i16> {
1041         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1042         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1043     }
1044     #[cfg(feature = "Win32_Foundation")]
Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1045     pub unsafe fn Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1046         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1047         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1048     }
1049 }
1050 unsafe impl ::windows::runtime::Interface for IWSManEnumerator {
1051     type Vtable = IWSManEnumerator_abi;
1052     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4081417385, 43961, 20389, [184, 80, 144, 232, 202, 48, 14, 127]);
1053 }
1054 impl ::std::convert::From<IWSManEnumerator> for ::windows::runtime::IUnknown {
from(value: IWSManEnumerator) -> Self1055     fn from(value: IWSManEnumerator) -> Self {
1056         unsafe { ::std::mem::transmute(value) }
1057     }
1058 }
1059 impl ::std::convert::From<&IWSManEnumerator> for ::windows::runtime::IUnknown {
from(value: &IWSManEnumerator) -> Self1060     fn from(value: &IWSManEnumerator) -> Self {
1061         ::std::convert::From::from(::std::clone::Clone::clone(value))
1062     }
1063 }
1064 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1065     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1066         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1067     }
1068 }
1069 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1070     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1071         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1072     }
1073 }
1074 #[cfg(feature = "Win32_System_Ole_Automation")]
1075 impl ::std::convert::From<IWSManEnumerator> for super::Ole::Automation::IDispatch {
from(value: IWSManEnumerator) -> Self1076     fn from(value: IWSManEnumerator) -> Self {
1077         unsafe { ::std::mem::transmute(value) }
1078     }
1079 }
1080 #[cfg(feature = "Win32_System_Ole_Automation")]
1081 impl ::std::convert::From<&IWSManEnumerator> for super::Ole::Automation::IDispatch {
from(value: &IWSManEnumerator) -> Self1082     fn from(value: &IWSManEnumerator) -> Self {
1083         ::std::convert::From::from(::std::clone::Clone::clone(value))
1084     }
1085 }
1086 #[cfg(feature = "Win32_System_Ole_Automation")]
1087 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1088     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1089         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1090     }
1091 }
1092 #[cfg(feature = "Win32_System_Ole_Automation")]
1093 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManEnumerator {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1094     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1095         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1096     }
1097 }
1098 #[repr(C)]
1099 #[doc(hidden)]
1100 pub struct IWSManEnumerator_abi(
1101     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1102     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1103     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1104     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1105     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1106     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1107     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1108     #[cfg(not(feature = "Win32_Foundation"))] usize,
1109     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1110     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1111     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1112     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resource: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1113     #[cfg(not(feature = "Win32_Foundation"))] usize,
1114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eos: *mut i16) -> ::windows::runtime::HRESULT,
1115     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1116     #[cfg(not(feature = "Win32_Foundation"))] usize,
1117 );
1118 #[repr(transparent)]
1119 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1120 pub struct IWSManEx(::windows::runtime::IUnknown);
1121 impl IWSManEx {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1122     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1123         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1124         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1125     }
1126     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1127     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
1128         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1129         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
1130     }
1131     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>1132     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
1133         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
1134     }
1135     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1136     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1137         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
1138     }
1139     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1140     pub unsafe fn CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1141         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1142         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), connection.into_param().abi(), ::std::mem::transmute(flags), connectionoptions.into_param().abi(), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1143     }
1144     #[cfg(feature = "Win32_System_Ole_Automation")]
CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1145     pub unsafe fn CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1146         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1147         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1148     }
1149     #[cfg(feature = "Win32_Foundation")]
CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1150     pub unsafe fn CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1151         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1152         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1153     }
1154     #[cfg(feature = "Win32_Foundation")]
Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1155     pub unsafe fn Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1156         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1157         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1158     }
1159     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
CreateResourceLocator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strresourcelocator: Param0) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1160     pub unsafe fn CreateResourceLocator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strresourcelocator: Param0) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1161         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1162         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strresourcelocator.into_param().abi(), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1163     }
SessionFlagUTF8(&self) -> ::windows::runtime::Result<i32>1164     pub unsafe fn SessionFlagUTF8(&self) -> ::windows::runtime::Result<i32> {
1165         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1166         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1167     }
SessionFlagCredUsernamePassword(&self) -> ::windows::runtime::Result<i32>1168     pub unsafe fn SessionFlagCredUsernamePassword(&self) -> ::windows::runtime::Result<i32> {
1169         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1170         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1171     }
SessionFlagSkipCACheck(&self) -> ::windows::runtime::Result<i32>1172     pub unsafe fn SessionFlagSkipCACheck(&self) -> ::windows::runtime::Result<i32> {
1173         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1174         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1175     }
SessionFlagSkipCNCheck(&self) -> ::windows::runtime::Result<i32>1176     pub unsafe fn SessionFlagSkipCNCheck(&self) -> ::windows::runtime::Result<i32> {
1177         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1178         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1179     }
SessionFlagUseDigest(&self) -> ::windows::runtime::Result<i32>1180     pub unsafe fn SessionFlagUseDigest(&self) -> ::windows::runtime::Result<i32> {
1181         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1182         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1183     }
SessionFlagUseNegotiate(&self) -> ::windows::runtime::Result<i32>1184     pub unsafe fn SessionFlagUseNegotiate(&self) -> ::windows::runtime::Result<i32> {
1185         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1186         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1187     }
SessionFlagUseBasic(&self) -> ::windows::runtime::Result<i32>1188     pub unsafe fn SessionFlagUseBasic(&self) -> ::windows::runtime::Result<i32> {
1189         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1190         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1191     }
SessionFlagUseKerberos(&self) -> ::windows::runtime::Result<i32>1192     pub unsafe fn SessionFlagUseKerberos(&self) -> ::windows::runtime::Result<i32> {
1193         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1194         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1195     }
SessionFlagNoEncryption(&self) -> ::windows::runtime::Result<i32>1196     pub unsafe fn SessionFlagNoEncryption(&self) -> ::windows::runtime::Result<i32> {
1197         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1198         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1199     }
SessionFlagEnableSPNServerPort(&self) -> ::windows::runtime::Result<i32>1200     pub unsafe fn SessionFlagEnableSPNServerPort(&self) -> ::windows::runtime::Result<i32> {
1201         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1202         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1203     }
SessionFlagUseNoAuthentication(&self) -> ::windows::runtime::Result<i32>1204     pub unsafe fn SessionFlagUseNoAuthentication(&self) -> ::windows::runtime::Result<i32> {
1205         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1206         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1207     }
EnumerationFlagNonXmlText(&self) -> ::windows::runtime::Result<i32>1208     pub unsafe fn EnumerationFlagNonXmlText(&self) -> ::windows::runtime::Result<i32> {
1209         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1210         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1211     }
EnumerationFlagReturnEPR(&self) -> ::windows::runtime::Result<i32>1212     pub unsafe fn EnumerationFlagReturnEPR(&self) -> ::windows::runtime::Result<i32> {
1213         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1214         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1215     }
EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::runtime::Result<i32>1216     pub unsafe fn EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::runtime::Result<i32> {
1217         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1218         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1219     }
1220     #[cfg(feature = "Win32_Foundation")]
GetErrorMessage(&self, errornumber: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1221     pub unsafe fn GetErrorMessage(&self, errornumber: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1222         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1223         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(errornumber), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1224     }
EnumerationFlagHierarchyDeep(&self) -> ::windows::runtime::Result<i32>1225     pub unsafe fn EnumerationFlagHierarchyDeep(&self) -> ::windows::runtime::Result<i32> {
1226         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1227         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1228     }
EnumerationFlagHierarchyShallow(&self) -> ::windows::runtime::Result<i32>1229     pub unsafe fn EnumerationFlagHierarchyShallow(&self) -> ::windows::runtime::Result<i32> {
1230         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1231         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1232     }
EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::runtime::Result<i32>1233     pub unsafe fn EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::runtime::Result<i32> {
1234         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1235         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1236     }
EnumerationFlagReturnObject(&self) -> ::windows::runtime::Result<i32>1237     pub unsafe fn EnumerationFlagReturnObject(&self) -> ::windows::runtime::Result<i32> {
1238         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1239         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1240     }
1241 }
1242 unsafe impl ::windows::runtime::Interface for IWSManEx {
1243     type Vtable = IWSManEx_abi;
1244     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(760462762, 31118, 18918, [161, 170, 116, 208, 18, 86, 244, 17]);
1245 }
1246 impl ::std::convert::From<IWSManEx> for ::windows::runtime::IUnknown {
from(value: IWSManEx) -> Self1247     fn from(value: IWSManEx) -> Self {
1248         unsafe { ::std::mem::transmute(value) }
1249     }
1250 }
1251 impl ::std::convert::From<&IWSManEx> for ::windows::runtime::IUnknown {
from(value: &IWSManEx) -> Self1252     fn from(value: &IWSManEx) -> Self {
1253         ::std::convert::From::from(::std::clone::Clone::clone(value))
1254     }
1255 }
1256 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1257     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1258         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1259     }
1260 }
1261 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1262     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1263         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1264     }
1265 }
1266 impl ::std::convert::From<IWSManEx> for IWSMan {
from(value: IWSManEx) -> Self1267     fn from(value: IWSManEx) -> Self {
1268         unsafe { ::std::mem::transmute(value) }
1269     }
1270 }
1271 impl ::std::convert::From<&IWSManEx> for IWSMan {
from(value: &IWSManEx) -> Self1272     fn from(value: &IWSManEx) -> Self {
1273         ::std::convert::From::from(::std::clone::Clone::clone(value))
1274     }
1275 }
1276 impl<'a> ::windows::runtime::IntoParam<'a, IWSMan> for IWSManEx {
into_param(self) -> ::windows::runtime::Param<'a, IWSMan>1277     fn into_param(self) -> ::windows::runtime::Param<'a, IWSMan> {
1278         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSMan>::into(self))
1279     }
1280 }
1281 impl<'a> ::windows::runtime::IntoParam<'a, IWSMan> for &IWSManEx {
into_param(self) -> ::windows::runtime::Param<'a, IWSMan>1282     fn into_param(self) -> ::windows::runtime::Param<'a, IWSMan> {
1283         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSMan>::into(::std::clone::Clone::clone(self)))
1284     }
1285 }
1286 #[cfg(feature = "Win32_System_Ole_Automation")]
1287 impl ::std::convert::From<IWSManEx> for super::Ole::Automation::IDispatch {
from(value: IWSManEx) -> Self1288     fn from(value: IWSManEx) -> Self {
1289         unsafe { ::std::mem::transmute(value) }
1290     }
1291 }
1292 #[cfg(feature = "Win32_System_Ole_Automation")]
1293 impl ::std::convert::From<&IWSManEx> for super::Ole::Automation::IDispatch {
from(value: &IWSManEx) -> Self1294     fn from(value: &IWSManEx) -> Self {
1295         ::std::convert::From::from(::std::clone::Clone::clone(value))
1296     }
1297 }
1298 #[cfg(feature = "Win32_System_Ole_Automation")]
1299 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1300     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1301         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1302     }
1303 }
1304 #[cfg(feature = "Win32_System_Ole_Automation")]
1305 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1306     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1307         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1308     }
1309 }
1310 #[repr(C)]
1311 #[doc(hidden)]
1312 pub struct IWSManEx_abi(
1313     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1314     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1315     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1316     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1317     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1318     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1319     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1320     #[cfg(not(feature = "Win32_Foundation"))] usize,
1321     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1322     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1323     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1324     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connection: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, connectionoptions: ::windows::runtime::RawPtr, session: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1325     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1326     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connectionoptions: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1327     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1328     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1329     #[cfg(not(feature = "Win32_Foundation"))] usize,
1330     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1331     #[cfg(not(feature = "Win32_Foundation"))] usize,
1332     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strresourcelocator: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, newresourcelocator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1333     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1334     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1335     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1336     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1337     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1338     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1339     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1340     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1347     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1348     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, errornumber: u32, errormessage: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1349     #[cfg(not(feature = "Win32_Foundation"))] usize,
1350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1351     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1354 );
1355 #[repr(transparent)]
1356 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1357 pub struct IWSManEx2(::windows::runtime::IUnknown);
1358 impl IWSManEx2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1359     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1360         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1361         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1362     }
1363     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1364     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
1365         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1366         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
1367     }
1368     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>1369     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
1370         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
1371     }
1372     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1373     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1374         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
1375     }
1376     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1377     pub unsafe fn CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1378         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1379         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), connection.into_param().abi(), ::std::mem::transmute(flags), connectionoptions.into_param().abi(), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1380     }
1381     #[cfg(feature = "Win32_System_Ole_Automation")]
CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1382     pub unsafe fn CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1383         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1384         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1385     }
1386     #[cfg(feature = "Win32_Foundation")]
CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1387     pub unsafe fn CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1388         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1389         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1390     }
1391     #[cfg(feature = "Win32_Foundation")]
Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1392     pub unsafe fn Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1393         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1394         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1395     }
1396     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
CreateResourceLocator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strresourcelocator: Param0) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1397     pub unsafe fn CreateResourceLocator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strresourcelocator: Param0) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1398         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1399         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strresourcelocator.into_param().abi(), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1400     }
SessionFlagUTF8(&self) -> ::windows::runtime::Result<i32>1401     pub unsafe fn SessionFlagUTF8(&self) -> ::windows::runtime::Result<i32> {
1402         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1403         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1404     }
SessionFlagCredUsernamePassword(&self) -> ::windows::runtime::Result<i32>1405     pub unsafe fn SessionFlagCredUsernamePassword(&self) -> ::windows::runtime::Result<i32> {
1406         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1407         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1408     }
SessionFlagSkipCACheck(&self) -> ::windows::runtime::Result<i32>1409     pub unsafe fn SessionFlagSkipCACheck(&self) -> ::windows::runtime::Result<i32> {
1410         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1411         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1412     }
SessionFlagSkipCNCheck(&self) -> ::windows::runtime::Result<i32>1413     pub unsafe fn SessionFlagSkipCNCheck(&self) -> ::windows::runtime::Result<i32> {
1414         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1415         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1416     }
SessionFlagUseDigest(&self) -> ::windows::runtime::Result<i32>1417     pub unsafe fn SessionFlagUseDigest(&self) -> ::windows::runtime::Result<i32> {
1418         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1419         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1420     }
SessionFlagUseNegotiate(&self) -> ::windows::runtime::Result<i32>1421     pub unsafe fn SessionFlagUseNegotiate(&self) -> ::windows::runtime::Result<i32> {
1422         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1423         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1424     }
SessionFlagUseBasic(&self) -> ::windows::runtime::Result<i32>1425     pub unsafe fn SessionFlagUseBasic(&self) -> ::windows::runtime::Result<i32> {
1426         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1427         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1428     }
SessionFlagUseKerberos(&self) -> ::windows::runtime::Result<i32>1429     pub unsafe fn SessionFlagUseKerberos(&self) -> ::windows::runtime::Result<i32> {
1430         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1431         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1432     }
SessionFlagNoEncryption(&self) -> ::windows::runtime::Result<i32>1433     pub unsafe fn SessionFlagNoEncryption(&self) -> ::windows::runtime::Result<i32> {
1434         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1435         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1436     }
SessionFlagEnableSPNServerPort(&self) -> ::windows::runtime::Result<i32>1437     pub unsafe fn SessionFlagEnableSPNServerPort(&self) -> ::windows::runtime::Result<i32> {
1438         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1439         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1440     }
SessionFlagUseNoAuthentication(&self) -> ::windows::runtime::Result<i32>1441     pub unsafe fn SessionFlagUseNoAuthentication(&self) -> ::windows::runtime::Result<i32> {
1442         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1443         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1444     }
EnumerationFlagNonXmlText(&self) -> ::windows::runtime::Result<i32>1445     pub unsafe fn EnumerationFlagNonXmlText(&self) -> ::windows::runtime::Result<i32> {
1446         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1447         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1448     }
EnumerationFlagReturnEPR(&self) -> ::windows::runtime::Result<i32>1449     pub unsafe fn EnumerationFlagReturnEPR(&self) -> ::windows::runtime::Result<i32> {
1450         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1451         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1452     }
EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::runtime::Result<i32>1453     pub unsafe fn EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::runtime::Result<i32> {
1454         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1455         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1456     }
1457     #[cfg(feature = "Win32_Foundation")]
GetErrorMessage(&self, errornumber: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1458     pub unsafe fn GetErrorMessage(&self, errornumber: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1459         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1460         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(errornumber), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1461     }
EnumerationFlagHierarchyDeep(&self) -> ::windows::runtime::Result<i32>1462     pub unsafe fn EnumerationFlagHierarchyDeep(&self) -> ::windows::runtime::Result<i32> {
1463         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1464         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1465     }
EnumerationFlagHierarchyShallow(&self) -> ::windows::runtime::Result<i32>1466     pub unsafe fn EnumerationFlagHierarchyShallow(&self) -> ::windows::runtime::Result<i32> {
1467         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1468         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1469     }
EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::runtime::Result<i32>1470     pub unsafe fn EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::runtime::Result<i32> {
1471         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1472         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1473     }
EnumerationFlagReturnObject(&self) -> ::windows::runtime::Result<i32>1474     pub unsafe fn EnumerationFlagReturnObject(&self) -> ::windows::runtime::Result<i32> {
1475         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1476         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1477     }
SessionFlagUseClientCertificate(&self) -> ::windows::runtime::Result<i32>1478     pub unsafe fn SessionFlagUseClientCertificate(&self) -> ::windows::runtime::Result<i32> {
1479         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1480         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1481     }
1482 }
1483 unsafe impl ::windows::runtime::Interface for IWSManEx2 {
1484     type Vtable = IWSManEx2_abi;
1485     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(488332000, 17113, 16417, [130, 97, 57, 135, 97, 149, 18, 233]);
1486 }
1487 impl ::std::convert::From<IWSManEx2> for ::windows::runtime::IUnknown {
from(value: IWSManEx2) -> Self1488     fn from(value: IWSManEx2) -> Self {
1489         unsafe { ::std::mem::transmute(value) }
1490     }
1491 }
1492 impl ::std::convert::From<&IWSManEx2> for ::windows::runtime::IUnknown {
from(value: &IWSManEx2) -> Self1493     fn from(value: &IWSManEx2) -> Self {
1494         ::std::convert::From::from(::std::clone::Clone::clone(value))
1495     }
1496 }
1497 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1498     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1499         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1500     }
1501 }
1502 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1503     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1504         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1505     }
1506 }
1507 impl ::std::convert::From<IWSManEx2> for IWSManEx {
from(value: IWSManEx2) -> Self1508     fn from(value: IWSManEx2) -> Self {
1509         unsafe { ::std::mem::transmute(value) }
1510     }
1511 }
1512 impl ::std::convert::From<&IWSManEx2> for IWSManEx {
from(value: &IWSManEx2) -> Self1513     fn from(value: &IWSManEx2) -> Self {
1514         ::std::convert::From::from(::std::clone::Clone::clone(value))
1515     }
1516 }
1517 impl<'a> ::windows::runtime::IntoParam<'a, IWSManEx> for IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManEx>1518     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManEx> {
1519         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManEx>::into(self))
1520     }
1521 }
1522 impl<'a> ::windows::runtime::IntoParam<'a, IWSManEx> for &IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManEx>1523     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManEx> {
1524         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManEx>::into(::std::clone::Clone::clone(self)))
1525     }
1526 }
1527 impl ::std::convert::From<IWSManEx2> for IWSMan {
from(value: IWSManEx2) -> Self1528     fn from(value: IWSManEx2) -> Self {
1529         unsafe { ::std::mem::transmute(value) }
1530     }
1531 }
1532 impl ::std::convert::From<&IWSManEx2> for IWSMan {
from(value: &IWSManEx2) -> Self1533     fn from(value: &IWSManEx2) -> Self {
1534         ::std::convert::From::from(::std::clone::Clone::clone(value))
1535     }
1536 }
1537 impl<'a> ::windows::runtime::IntoParam<'a, IWSMan> for IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSMan>1538     fn into_param(self) -> ::windows::runtime::Param<'a, IWSMan> {
1539         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSMan>::into(self))
1540     }
1541 }
1542 impl<'a> ::windows::runtime::IntoParam<'a, IWSMan> for &IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, IWSMan>1543     fn into_param(self) -> ::windows::runtime::Param<'a, IWSMan> {
1544         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSMan>::into(::std::clone::Clone::clone(self)))
1545     }
1546 }
1547 #[cfg(feature = "Win32_System_Ole_Automation")]
1548 impl ::std::convert::From<IWSManEx2> for super::Ole::Automation::IDispatch {
from(value: IWSManEx2) -> Self1549     fn from(value: IWSManEx2) -> Self {
1550         unsafe { ::std::mem::transmute(value) }
1551     }
1552 }
1553 #[cfg(feature = "Win32_System_Ole_Automation")]
1554 impl ::std::convert::From<&IWSManEx2> for super::Ole::Automation::IDispatch {
from(value: &IWSManEx2) -> Self1555     fn from(value: &IWSManEx2) -> Self {
1556         ::std::convert::From::from(::std::clone::Clone::clone(value))
1557     }
1558 }
1559 #[cfg(feature = "Win32_System_Ole_Automation")]
1560 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1561     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1562         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1563     }
1564 }
1565 #[cfg(feature = "Win32_System_Ole_Automation")]
1566 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManEx2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1567     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1568         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1569     }
1570 }
1571 #[repr(C)]
1572 #[doc(hidden)]
1573 pub struct IWSManEx2_abi(
1574     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1575     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1576     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1577     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1578     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1579     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1580     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1581     #[cfg(not(feature = "Win32_Foundation"))] usize,
1582     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1583     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1584     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1585     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connection: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, connectionoptions: ::windows::runtime::RawPtr, session: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1586     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1587     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connectionoptions: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1588     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1589     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1590     #[cfg(not(feature = "Win32_Foundation"))] usize,
1591     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1592     #[cfg(not(feature = "Win32_Foundation"))] usize,
1593     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strresourcelocator: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, newresourcelocator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1594     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1595     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1596     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1597     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1598     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1599     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1600     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1608     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1609     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, errornumber: u32, errormessage: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1610     #[cfg(not(feature = "Win32_Foundation"))] usize,
1611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1612     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1613     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1614     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1615     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1616 );
1617 #[repr(transparent)]
1618 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1619 pub struct IWSManEx3(::windows::runtime::IUnknown);
1620 impl IWSManEx3 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>1621     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
1622         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1623         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1624     }
1625     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>1626     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
1627         let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1628         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
1629     }
1630     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>1631     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
1632         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
1633     }
1634     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>1635     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
1636         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
1637     }
1638     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1639     pub unsafe fn CreateSession<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, connection: Param0, flags: i32, connectionoptions: Param2) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1640         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1641         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), connection.into_param().abi(), ::std::mem::transmute(flags), connectionoptions.into_param().abi(), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1642     }
1643     #[cfg(feature = "Win32_System_Ole_Automation")]
CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1644     pub unsafe fn CreateConnectionOptions(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1645         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1646         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1647     }
1648     #[cfg(feature = "Win32_Foundation")]
CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1649     pub unsafe fn CommandLine(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1650         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1651         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1652     }
1653     #[cfg(feature = "Win32_Foundation")]
Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1654     pub unsafe fn Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1655         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1656         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1657     }
1658     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
CreateResourceLocator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strresourcelocator: Param0) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>1659     pub unsafe fn CreateResourceLocator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strresourcelocator: Param0) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
1660         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1661         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), strresourcelocator.into_param().abi(), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
1662     }
SessionFlagUTF8(&self) -> ::windows::runtime::Result<i32>1663     pub unsafe fn SessionFlagUTF8(&self) -> ::windows::runtime::Result<i32> {
1664         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1665         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1666     }
SessionFlagCredUsernamePassword(&self) -> ::windows::runtime::Result<i32>1667     pub unsafe fn SessionFlagCredUsernamePassword(&self) -> ::windows::runtime::Result<i32> {
1668         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1669         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1670     }
SessionFlagSkipCACheck(&self) -> ::windows::runtime::Result<i32>1671     pub unsafe fn SessionFlagSkipCACheck(&self) -> ::windows::runtime::Result<i32> {
1672         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1673         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1674     }
SessionFlagSkipCNCheck(&self) -> ::windows::runtime::Result<i32>1675     pub unsafe fn SessionFlagSkipCNCheck(&self) -> ::windows::runtime::Result<i32> {
1676         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1677         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1678     }
SessionFlagUseDigest(&self) -> ::windows::runtime::Result<i32>1679     pub unsafe fn SessionFlagUseDigest(&self) -> ::windows::runtime::Result<i32> {
1680         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1681         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1682     }
SessionFlagUseNegotiate(&self) -> ::windows::runtime::Result<i32>1683     pub unsafe fn SessionFlagUseNegotiate(&self) -> ::windows::runtime::Result<i32> {
1684         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1685         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1686     }
SessionFlagUseBasic(&self) -> ::windows::runtime::Result<i32>1687     pub unsafe fn SessionFlagUseBasic(&self) -> ::windows::runtime::Result<i32> {
1688         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1689         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1690     }
SessionFlagUseKerberos(&self) -> ::windows::runtime::Result<i32>1691     pub unsafe fn SessionFlagUseKerberos(&self) -> ::windows::runtime::Result<i32> {
1692         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1693         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1694     }
SessionFlagNoEncryption(&self) -> ::windows::runtime::Result<i32>1695     pub unsafe fn SessionFlagNoEncryption(&self) -> ::windows::runtime::Result<i32> {
1696         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1697         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1698     }
SessionFlagEnableSPNServerPort(&self) -> ::windows::runtime::Result<i32>1699     pub unsafe fn SessionFlagEnableSPNServerPort(&self) -> ::windows::runtime::Result<i32> {
1700         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1701         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1702     }
SessionFlagUseNoAuthentication(&self) -> ::windows::runtime::Result<i32>1703     pub unsafe fn SessionFlagUseNoAuthentication(&self) -> ::windows::runtime::Result<i32> {
1704         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1705         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1706     }
EnumerationFlagNonXmlText(&self) -> ::windows::runtime::Result<i32>1707     pub unsafe fn EnumerationFlagNonXmlText(&self) -> ::windows::runtime::Result<i32> {
1708         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1709         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1710     }
EnumerationFlagReturnEPR(&self) -> ::windows::runtime::Result<i32>1711     pub unsafe fn EnumerationFlagReturnEPR(&self) -> ::windows::runtime::Result<i32> {
1712         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1713         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1714     }
EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::runtime::Result<i32>1715     pub unsafe fn EnumerationFlagReturnObjectAndEPR(&self) -> ::windows::runtime::Result<i32> {
1716         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1717         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1718     }
1719     #[cfg(feature = "Win32_Foundation")]
GetErrorMessage(&self, errornumber: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1720     pub unsafe fn GetErrorMessage(&self, errornumber: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1721         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1722         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(errornumber), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1723     }
EnumerationFlagHierarchyDeep(&self) -> ::windows::runtime::Result<i32>1724     pub unsafe fn EnumerationFlagHierarchyDeep(&self) -> ::windows::runtime::Result<i32> {
1725         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1726         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1727     }
EnumerationFlagHierarchyShallow(&self) -> ::windows::runtime::Result<i32>1728     pub unsafe fn EnumerationFlagHierarchyShallow(&self) -> ::windows::runtime::Result<i32> {
1729         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1730         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1731     }
EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::runtime::Result<i32>1732     pub unsafe fn EnumerationFlagHierarchyDeepBasePropsOnly(&self) -> ::windows::runtime::Result<i32> {
1733         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1734         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1735     }
EnumerationFlagReturnObject(&self) -> ::windows::runtime::Result<i32>1736     pub unsafe fn EnumerationFlagReturnObject(&self) -> ::windows::runtime::Result<i32> {
1737         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1738         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1739     }
SessionFlagUseClientCertificate(&self) -> ::windows::runtime::Result<i32>1740     pub unsafe fn SessionFlagUseClientCertificate(&self) -> ::windows::runtime::Result<i32> {
1741         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1742         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1743     }
SessionFlagUTF16(&self) -> ::windows::runtime::Result<i32>1744     pub unsafe fn SessionFlagUTF16(&self) -> ::windows::runtime::Result<i32> {
1745         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1746         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1747     }
SessionFlagUseCredSsp(&self) -> ::windows::runtime::Result<i32>1748     pub unsafe fn SessionFlagUseCredSsp(&self) -> ::windows::runtime::Result<i32> {
1749         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1750         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1751     }
EnumerationFlagAssociationInstance(&self) -> ::windows::runtime::Result<i32>1752     pub unsafe fn EnumerationFlagAssociationInstance(&self) -> ::windows::runtime::Result<i32> {
1753         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1754         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1755     }
EnumerationFlagAssociatedInstance(&self) -> ::windows::runtime::Result<i32>1756     pub unsafe fn EnumerationFlagAssociatedInstance(&self) -> ::windows::runtime::Result<i32> {
1757         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1758         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1759     }
SessionFlagSkipRevocationCheck(&self) -> ::windows::runtime::Result<i32>1760     pub unsafe fn SessionFlagSkipRevocationCheck(&self) -> ::windows::runtime::Result<i32> {
1761         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1762         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1763     }
SessionFlagAllowNegotiateImplicitCredentials(&self) -> ::windows::runtime::Result<i32>1764     pub unsafe fn SessionFlagAllowNegotiateImplicitCredentials(&self) -> ::windows::runtime::Result<i32> {
1765         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1766         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1767     }
SessionFlagUseSsl(&self) -> ::windows::runtime::Result<i32>1768     pub unsafe fn SessionFlagUseSsl(&self) -> ::windows::runtime::Result<i32> {
1769         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1770         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1771     }
1772 }
1773 unsafe impl ::windows::runtime::Interface for IWSManEx3 {
1774     type Vtable = IWSManEx3_abi;
1775     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1677781350, 285, 20140, [132, 116, 4, 158, 8, 72, 175, 173]);
1776 }
1777 impl ::std::convert::From<IWSManEx3> for ::windows::runtime::IUnknown {
from(value: IWSManEx3) -> Self1778     fn from(value: IWSManEx3) -> Self {
1779         unsafe { ::std::mem::transmute(value) }
1780     }
1781 }
1782 impl ::std::convert::From<&IWSManEx3> for ::windows::runtime::IUnknown {
from(value: &IWSManEx3) -> Self1783     fn from(value: &IWSManEx3) -> Self {
1784         ::std::convert::From::from(::std::clone::Clone::clone(value))
1785     }
1786 }
1787 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1788     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1789         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1790     }
1791 }
1792 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1793     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1794         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1795     }
1796 }
1797 impl ::std::convert::From<IWSManEx3> for IWSManEx2 {
from(value: IWSManEx3) -> Self1798     fn from(value: IWSManEx3) -> Self {
1799         unsafe { ::std::mem::transmute(value) }
1800     }
1801 }
1802 impl ::std::convert::From<&IWSManEx3> for IWSManEx2 {
from(value: &IWSManEx3) -> Self1803     fn from(value: &IWSManEx3) -> Self {
1804         ::std::convert::From::from(::std::clone::Clone::clone(value))
1805     }
1806 }
1807 impl<'a> ::windows::runtime::IntoParam<'a, IWSManEx2> for IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManEx2>1808     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManEx2> {
1809         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManEx2>::into(self))
1810     }
1811 }
1812 impl<'a> ::windows::runtime::IntoParam<'a, IWSManEx2> for &IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManEx2>1813     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManEx2> {
1814         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManEx2>::into(::std::clone::Clone::clone(self)))
1815     }
1816 }
1817 impl ::std::convert::From<IWSManEx3> for IWSManEx {
from(value: IWSManEx3) -> Self1818     fn from(value: IWSManEx3) -> Self {
1819         unsafe { ::std::mem::transmute(value) }
1820     }
1821 }
1822 impl ::std::convert::From<&IWSManEx3> for IWSManEx {
from(value: &IWSManEx3) -> Self1823     fn from(value: &IWSManEx3) -> Self {
1824         ::std::convert::From::from(::std::clone::Clone::clone(value))
1825     }
1826 }
1827 impl<'a> ::windows::runtime::IntoParam<'a, IWSManEx> for IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManEx>1828     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManEx> {
1829         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManEx>::into(self))
1830     }
1831 }
1832 impl<'a> ::windows::runtime::IntoParam<'a, IWSManEx> for &IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, IWSManEx>1833     fn into_param(self) -> ::windows::runtime::Param<'a, IWSManEx> {
1834         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSManEx>::into(::std::clone::Clone::clone(self)))
1835     }
1836 }
1837 impl ::std::convert::From<IWSManEx3> for IWSMan {
from(value: IWSManEx3) -> Self1838     fn from(value: IWSManEx3) -> Self {
1839         unsafe { ::std::mem::transmute(value) }
1840     }
1841 }
1842 impl ::std::convert::From<&IWSManEx3> for IWSMan {
from(value: &IWSManEx3) -> Self1843     fn from(value: &IWSManEx3) -> Self {
1844         ::std::convert::From::from(::std::clone::Clone::clone(value))
1845     }
1846 }
1847 impl<'a> ::windows::runtime::IntoParam<'a, IWSMan> for IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, IWSMan>1848     fn into_param(self) -> ::windows::runtime::Param<'a, IWSMan> {
1849         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSMan>::into(self))
1850     }
1851 }
1852 impl<'a> ::windows::runtime::IntoParam<'a, IWSMan> for &IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, IWSMan>1853     fn into_param(self) -> ::windows::runtime::Param<'a, IWSMan> {
1854         ::windows::runtime::Param::Owned(::std::convert::Into::<IWSMan>::into(::std::clone::Clone::clone(self)))
1855     }
1856 }
1857 #[cfg(feature = "Win32_System_Ole_Automation")]
1858 impl ::std::convert::From<IWSManEx3> for super::Ole::Automation::IDispatch {
from(value: IWSManEx3) -> Self1859     fn from(value: IWSManEx3) -> Self {
1860         unsafe { ::std::mem::transmute(value) }
1861     }
1862 }
1863 #[cfg(feature = "Win32_System_Ole_Automation")]
1864 impl ::std::convert::From<&IWSManEx3> for super::Ole::Automation::IDispatch {
from(value: &IWSManEx3) -> Self1865     fn from(value: &IWSManEx3) -> Self {
1866         ::std::convert::From::from(::std::clone::Clone::clone(value))
1867     }
1868 }
1869 #[cfg(feature = "Win32_System_Ole_Automation")]
1870 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1871     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1872         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1873     }
1874 }
1875 #[cfg(feature = "Win32_System_Ole_Automation")]
1876 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManEx3 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1877     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1878         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1879     }
1880 }
1881 #[repr(C)]
1882 #[doc(hidden)]
1883 pub struct IWSManEx3_abi(
1884     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1887     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1888     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1889     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1890     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1891     #[cfg(not(feature = "Win32_Foundation"))] usize,
1892     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1893     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1894     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1895     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connection: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, connectionoptions: ::windows::runtime::RawPtr, session: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1896     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1897     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, connectionoptions: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1898     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1899     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1900     #[cfg(not(feature = "Win32_Foundation"))] usize,
1901     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1902     #[cfg(not(feature = "Win32_Foundation"))] usize,
1903     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strresourcelocator: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, newresourcelocator: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1904     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
1905     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1906     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1907     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1908     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1909     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1910     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1911     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1912     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1913     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1914     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1915     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1916     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1917     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1918     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1919     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, errornumber: u32, errormessage: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1920     #[cfg(not(feature = "Win32_Foundation"))] usize,
1921     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1922     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1923     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1924     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1925     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1926     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1927     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1928     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1929     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1930     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1931     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1932     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: *mut i32) -> ::windows::runtime::HRESULT,
1933 );
1934 #[repr(transparent)]
1935 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1936 pub struct IWSManInternal(::windows::runtime::IUnknown);
1937 impl IWSManInternal {
1938     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ConfigSDDL<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, session: Param0, resourceuri: Param1, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1939     pub unsafe fn ConfigSDDL<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, session: Param0, resourceuri: Param1, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1940         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1941         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), session.into_param().abi(), resourceuri.into_param().abi(), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1942     }
1943 }
1944 unsafe impl ::windows::runtime::Interface for IWSManInternal {
1945     type Vtable = IWSManInternal_abi;
1946     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(78523165, 39252, 19865, [148, 169, 169, 97, 231, 44, 58, 19]);
1947 }
1948 impl ::std::convert::From<IWSManInternal> for ::windows::runtime::IUnknown {
from(value: IWSManInternal) -> Self1949     fn from(value: IWSManInternal) -> Self {
1950         unsafe { ::std::mem::transmute(value) }
1951     }
1952 }
1953 impl ::std::convert::From<&IWSManInternal> for ::windows::runtime::IUnknown {
from(value: &IWSManInternal) -> Self1954     fn from(value: &IWSManInternal) -> Self {
1955         ::std::convert::From::from(::std::clone::Clone::clone(value))
1956     }
1957 }
1958 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1959     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1960         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1961     }
1962 }
1963 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1964     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1965         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1966     }
1967 }
1968 #[cfg(feature = "Win32_System_Ole_Automation")]
1969 impl ::std::convert::From<IWSManInternal> for super::Ole::Automation::IDispatch {
from(value: IWSManInternal) -> Self1970     fn from(value: IWSManInternal) -> Self {
1971         unsafe { ::std::mem::transmute(value) }
1972     }
1973 }
1974 #[cfg(feature = "Win32_System_Ole_Automation")]
1975 impl ::std::convert::From<&IWSManInternal> for super::Ole::Automation::IDispatch {
from(value: &IWSManInternal) -> Self1976     fn from(value: &IWSManInternal) -> Self {
1977         ::std::convert::From::from(::std::clone::Clone::clone(value))
1978     }
1979 }
1980 #[cfg(feature = "Win32_System_Ole_Automation")]
1981 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManInternal {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1982     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1983         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1984     }
1985 }
1986 #[cfg(feature = "Win32_System_Ole_Automation")]
1987 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManInternal {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1988     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1989         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1990     }
1991 }
1992 #[repr(C)]
1993 #[doc(hidden)]
1994 pub struct IWSManInternal_abi(
1995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1997     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1998     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1999     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2000     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2001     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2002     #[cfg(not(feature = "Win32_Foundation"))] usize,
2003     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2004     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2005     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2006     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, session: ::windows::runtime::RawPtr, resourceuri: ::std::mem::ManuallyDrop<super::Com::VARIANT>, flags: i32, resource: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2007     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2008 );
2009 #[repr(transparent)]
2010 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2011 pub struct IWSManResourceLocator(::windows::runtime::IUnknown);
2012 impl IWSManResourceLocator {
2013     #[cfg(feature = "Win32_Foundation")]
SetResourceURI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uri: Param0) -> ::windows::runtime::Result<()>2014     pub unsafe fn SetResourceURI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uri: Param0) -> ::windows::runtime::Result<()> {
2015         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), uri.into_param().abi()).ok()
2016     }
2017     #[cfg(feature = "Win32_Foundation")]
ResourceURI(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2018     pub unsafe fn ResourceURI(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2019         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2020         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2021     }
2022     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddSelector<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, resourceselname: Param0, selvalue: Param1) -> ::windows::runtime::Result<()>2023     pub unsafe fn AddSelector<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, resourceselname: Param0, selvalue: Param1) -> ::windows::runtime::Result<()> {
2024         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), resourceselname.into_param().abi(), selvalue.into_param().abi()).ok()
2025     }
ClearSelectors(&self) -> ::windows::runtime::Result<()>2026     pub unsafe fn ClearSelectors(&self) -> ::windows::runtime::Result<()> {
2027         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
2028     }
2029     #[cfg(feature = "Win32_Foundation")]
FragmentPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2030     pub unsafe fn FragmentPath(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2031         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2032         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2033     }
2034     #[cfg(feature = "Win32_Foundation")]
SetFragmentPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, text: Param0) -> ::windows::runtime::Result<()>2035     pub unsafe fn SetFragmentPath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, text: Param0) -> ::windows::runtime::Result<()> {
2036         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), text.into_param().abi()).ok()
2037     }
2038     #[cfg(feature = "Win32_Foundation")]
FragmentDialect(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2039     pub unsafe fn FragmentDialect(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2040         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2041         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2042     }
2043     #[cfg(feature = "Win32_Foundation")]
SetFragmentDialect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, text: Param0) -> ::windows::runtime::Result<()>2044     pub unsafe fn SetFragmentDialect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, text: Param0) -> ::windows::runtime::Result<()> {
2045         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), text.into_param().abi()).ok()
2046     }
2047     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddOption<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, optionname: Param0, optionvalue: Param1, mustcomply: Param2) -> ::windows::runtime::Result<()>2048     pub unsafe fn AddOption<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, optionname: Param0, optionvalue: Param1, mustcomply: Param2) -> ::windows::runtime::Result<()> {
2049         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), optionname.into_param().abi(), optionvalue.into_param().abi(), mustcomply.into_param().abi()).ok()
2050     }
2051     #[cfg(feature = "Win32_Foundation")]
SetMustUnderstandOptions<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, mustunderstand: Param0) -> ::windows::runtime::Result<()>2052     pub unsafe fn SetMustUnderstandOptions<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, mustunderstand: Param0) -> ::windows::runtime::Result<()> {
2053         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), mustunderstand.into_param().abi()).ok()
2054     }
2055     #[cfg(feature = "Win32_Foundation")]
MustUnderstandOptions(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2056     pub unsafe fn MustUnderstandOptions(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2057         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2058         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2059     }
ClearOptions(&self) -> ::windows::runtime::Result<()>2060     pub unsafe fn ClearOptions(&self) -> ::windows::runtime::Result<()> {
2061         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)).ok()
2062     }
2063     #[cfg(feature = "Win32_Foundation")]
Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2064     pub unsafe fn Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2065         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2066         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2067     }
2068 }
2069 unsafe impl ::windows::runtime::Interface for IWSManResourceLocator {
2070     type Vtable = IWSManResourceLocator_abi;
2071     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2812394024, 56897, 18026, [173, 10, 196, 5, 158, 173, 116, 40]);
2072 }
2073 impl ::std::convert::From<IWSManResourceLocator> for ::windows::runtime::IUnknown {
from(value: IWSManResourceLocator) -> Self2074     fn from(value: IWSManResourceLocator) -> Self {
2075         unsafe { ::std::mem::transmute(value) }
2076     }
2077 }
2078 impl ::std::convert::From<&IWSManResourceLocator> for ::windows::runtime::IUnknown {
from(value: &IWSManResourceLocator) -> Self2079     fn from(value: &IWSManResourceLocator) -> Self {
2080         ::std::convert::From::from(::std::clone::Clone::clone(value))
2081     }
2082 }
2083 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManResourceLocator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2084     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2085         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2086     }
2087 }
2088 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManResourceLocator {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2089     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2090         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2091     }
2092 }
2093 #[cfg(feature = "Win32_System_Ole_Automation")]
2094 impl ::std::convert::From<IWSManResourceLocator> for super::Ole::Automation::IDispatch {
from(value: IWSManResourceLocator) -> Self2095     fn from(value: IWSManResourceLocator) -> Self {
2096         unsafe { ::std::mem::transmute(value) }
2097     }
2098 }
2099 #[cfg(feature = "Win32_System_Ole_Automation")]
2100 impl ::std::convert::From<&IWSManResourceLocator> for super::Ole::Automation::IDispatch {
from(value: &IWSManResourceLocator) -> Self2101     fn from(value: &IWSManResourceLocator) -> Self {
2102         ::std::convert::From::from(::std::clone::Clone::clone(value))
2103     }
2104 }
2105 #[cfg(feature = "Win32_System_Ole_Automation")]
2106 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManResourceLocator {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2107     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2108         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2109     }
2110 }
2111 #[cfg(feature = "Win32_System_Ole_Automation")]
2112 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManResourceLocator {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2113     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2114         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2115     }
2116 }
2117 #[repr(C)]
2118 #[doc(hidden)]
2119 pub struct IWSManResourceLocator_abi(
2120     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2121     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2122     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2123     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2124     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2125     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2126     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2127     #[cfg(not(feature = "Win32_Foundation"))] usize,
2128     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2129     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2130     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2131     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2132     #[cfg(not(feature = "Win32_Foundation"))] usize,
2133     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2134     #[cfg(not(feature = "Win32_Foundation"))] usize,
2135     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourceselname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, selvalue: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2136     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2138     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, text: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2139     #[cfg(not(feature = "Win32_Foundation"))] usize,
2140     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, text: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2141     #[cfg(not(feature = "Win32_Foundation"))] usize,
2142     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, text: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2143     #[cfg(not(feature = "Win32_Foundation"))] usize,
2144     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, text: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2145     #[cfg(not(feature = "Win32_Foundation"))] usize,
2146     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, optionname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, optionvalue: ::std::mem::ManuallyDrop<super::Com::VARIANT>, mustcomply: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2147     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2148     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mustunderstand: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2149     #[cfg(not(feature = "Win32_Foundation"))] usize,
2150     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mustunderstand: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2151     #[cfg(not(feature = "Win32_Foundation"))] usize,
2152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2153     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2154     #[cfg(not(feature = "Win32_Foundation"))] usize,
2155 );
2156 #[repr(transparent)]
2157 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2158 pub struct IWSManResourceLocatorInternal(::windows::runtime::IUnknown);
2159 impl IWSManResourceLocatorInternal {}
2160 unsafe impl ::windows::runtime::Interface for IWSManResourceLocatorInternal {
2161     type Vtable = IWSManResourceLocatorInternal_abi;
2162     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4026198743, 32456, 18198, [185, 190, 242, 231, 233, 251, 74, 219]);
2163 }
2164 impl ::std::convert::From<IWSManResourceLocatorInternal> for ::windows::runtime::IUnknown {
from(value: IWSManResourceLocatorInternal) -> Self2165     fn from(value: IWSManResourceLocatorInternal) -> Self {
2166         unsafe { ::std::mem::transmute(value) }
2167     }
2168 }
2169 impl ::std::convert::From<&IWSManResourceLocatorInternal> for ::windows::runtime::IUnknown {
from(value: &IWSManResourceLocatorInternal) -> Self2170     fn from(value: &IWSManResourceLocatorInternal) -> Self {
2171         ::std::convert::From::from(::std::clone::Clone::clone(value))
2172     }
2173 }
2174 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManResourceLocatorInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2175     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2176         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2177     }
2178 }
2179 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManResourceLocatorInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2180     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2181         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2182     }
2183 }
2184 #[repr(C)]
2185 #[doc(hidden)]
2186 pub struct IWSManResourceLocatorInternal_abi(
2187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2190 );
2191 #[repr(transparent)]
2192 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2193 pub struct IWSManSession(::windows::runtime::IUnknown);
2194 impl IWSManSession {
2195     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, resourceuri: Param0, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2196     pub unsafe fn Get<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, resourceuri: Param0, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2197         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2198         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), resourceuri.into_param().abi(), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2199     }
2200     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, resourceuri: Param0, resource: Param1, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2201     pub unsafe fn Put<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, resourceuri: Param0, resource: Param1, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2202         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2203         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), resourceuri.into_param().abi(), resource.into_param().abi(), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2204     }
2205     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, resourceuri: Param0, resource: Param1, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2206     pub unsafe fn Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, resourceuri: Param0, resource: Param1, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2207         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2208         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), resourceuri.into_param().abi(), resource.into_param().abi(), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2209     }
2210     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, resourceuri: Param0, flags: i32) -> ::windows::runtime::Result<()>2211     pub unsafe fn Delete<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, resourceuri: Param0, flags: i32) -> ::windows::runtime::Result<()> {
2212         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), resourceuri.into_param().abi(), ::std::mem::transmute(flags)).ok()
2213     }
2214     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, actionuri: Param0, resourceuri: Param1, parameters: Param2, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2215     pub unsafe fn Invoke<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, actionuri: Param0, resourceuri: Param1, parameters: Param2, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2216         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2217         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), actionuri.into_param().abi(), resourceuri.into_param().abi(), parameters.into_param().abi(), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2218     }
2219     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Enumerate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, resourceuri: Param0, filter: Param1, dialect: Param2, flags: i32) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>2220     pub unsafe fn Enumerate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, resourceuri: Param0, filter: Param1, dialect: Param2, flags: i32) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
2221         let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2222         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), resourceuri.into_param().abi(), filter.into_param().abi(), dialect.into_param().abi(), ::std::mem::transmute(flags), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
2223     }
2224     #[cfg(feature = "Win32_Foundation")]
Identify(&self, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2225     pub unsafe fn Identify(&self, flags: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2226         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2227         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2228     }
2229     #[cfg(feature = "Win32_Foundation")]
Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2230     pub unsafe fn Error(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2231         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2232         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2233     }
BatchItems(&self) -> ::windows::runtime::Result<i32>2234     pub unsafe fn BatchItems(&self) -> ::windows::runtime::Result<i32> {
2235         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2236         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2237     }
SetBatchItems(&self, value: i32) -> ::windows::runtime::Result<()>2238     pub unsafe fn SetBatchItems(&self, value: i32) -> ::windows::runtime::Result<()> {
2239         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2240     }
Timeout(&self) -> ::windows::runtime::Result<i32>2241     pub unsafe fn Timeout(&self) -> ::windows::runtime::Result<i32> {
2242         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2243         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2244     }
SetTimeout(&self, value: i32) -> ::windows::runtime::Result<()>2245     pub unsafe fn SetTimeout(&self, value: i32) -> ::windows::runtime::Result<()> {
2246         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2247     }
2248 }
2249 unsafe impl ::windows::runtime::Interface for IWSManSession {
2250     type Vtable = IWSManSession_abi;
2251     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4236573784, 4742, 16580, [157, 160, 200, 239, 110, 194, 65, 224]);
2252 }
2253 impl ::std::convert::From<IWSManSession> for ::windows::runtime::IUnknown {
from(value: IWSManSession) -> Self2254     fn from(value: IWSManSession) -> Self {
2255         unsafe { ::std::mem::transmute(value) }
2256     }
2257 }
2258 impl ::std::convert::From<&IWSManSession> for ::windows::runtime::IUnknown {
from(value: &IWSManSession) -> Self2259     fn from(value: &IWSManSession) -> Self {
2260         ::std::convert::From::from(::std::clone::Clone::clone(value))
2261     }
2262 }
2263 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IWSManSession {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2264     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2265         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2266     }
2267 }
2268 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IWSManSession {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2269     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2270         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2271     }
2272 }
2273 #[cfg(feature = "Win32_System_Ole_Automation")]
2274 impl ::std::convert::From<IWSManSession> for super::Ole::Automation::IDispatch {
from(value: IWSManSession) -> Self2275     fn from(value: IWSManSession) -> Self {
2276         unsafe { ::std::mem::transmute(value) }
2277     }
2278 }
2279 #[cfg(feature = "Win32_System_Ole_Automation")]
2280 impl ::std::convert::From<&IWSManSession> for super::Ole::Automation::IDispatch {
from(value: &IWSManSession) -> Self2281     fn from(value: &IWSManSession) -> Self {
2282         ::std::convert::From::from(::std::clone::Clone::clone(value))
2283     }
2284 }
2285 #[cfg(feature = "Win32_System_Ole_Automation")]
2286 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IWSManSession {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2287     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2288         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
2289     }
2290 }
2291 #[cfg(feature = "Win32_System_Ole_Automation")]
2292 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IWSManSession {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>2293     fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
2294         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2295     }
2296 }
2297 #[repr(C)]
2298 #[doc(hidden)]
2299 pub struct IWSManSession_abi(
2300     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2301     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2302     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2303     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2304     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2305     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2306     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2307     #[cfg(not(feature = "Win32_Foundation"))] usize,
2308     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2309     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2310     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2311     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourceuri: ::std::mem::ManuallyDrop<super::Com::VARIANT>, flags: i32, resource: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2312     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2313     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourceuri: ::std::mem::ManuallyDrop<super::Com::VARIANT>, resource: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, resultresource: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2314     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2315     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourceuri: ::std::mem::ManuallyDrop<super::Com::VARIANT>, resource: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, newuri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2316     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2317     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourceuri: ::std::mem::ManuallyDrop<super::Com::VARIANT>, flags: i32) -> ::windows::runtime::HRESULT,
2318     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2319     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, actionuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, resourceuri: ::std::mem::ManuallyDrop<super::Com::VARIANT>, parameters: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, result: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2320     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2321     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, resourceuri: ::std::mem::ManuallyDrop<super::Com::VARIANT>, filter: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, dialect: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flags: i32, resultset: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2322     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2323     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32, result: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2324     #[cfg(not(feature = "Win32_Foundation"))] usize,
2325     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2326     #[cfg(not(feature = "Win32_Foundation"))] usize,
2327     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2328     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
2329     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut i32) -> ::windows::runtime::HRESULT,
2330     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
2331 );
2332 #[repr(C)]
2333 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
2334 pub struct WSMAN_API(pub u8);
2335 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2336 #[repr(C)]
2337 #[cfg(feature = "Win32_Foundation")]
2338 pub struct WSMAN_AUTHENTICATION_CREDENTIALS {
2339     pub authenticationMechanism: u32,
2340     pub Anonymous: WSMAN_AUTHENTICATION_CREDENTIALS_0,
2341 }
2342 #[cfg(feature = "Win32_Foundation")]
2343 impl WSMAN_AUTHENTICATION_CREDENTIALS {}
2344 #[cfg(feature = "Win32_Foundation")]
2345 impl ::std::default::Default for WSMAN_AUTHENTICATION_CREDENTIALS {
default() -> Self2346     fn default() -> Self {
2347         unsafe { ::std::mem::zeroed() }
2348     }
2349 }
2350 #[cfg(feature = "Win32_Foundation")]
2351 impl ::std::cmp::PartialEq for WSMAN_AUTHENTICATION_CREDENTIALS {
eq(&self, _other: &Self) -> bool2352     fn eq(&self, _other: &Self) -> bool {
2353         unimplemented!()
2354     }
2355 }
2356 #[cfg(feature = "Win32_Foundation")]
2357 impl ::std::cmp::Eq for WSMAN_AUTHENTICATION_CREDENTIALS {}
2358 #[cfg(feature = "Win32_Foundation")]
2359 unsafe impl ::windows::runtime::Abi for WSMAN_AUTHENTICATION_CREDENTIALS {
2360     type Abi = Self;
2361     type DefaultType = Self;
2362 }
2363 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2364 #[repr(C)]
2365 #[cfg(feature = "Win32_Foundation")]
2366 pub union WSMAN_AUTHENTICATION_CREDENTIALS_0 {
2367     pub userAccount: WSMAN_USERNAME_PASSWORD_CREDS,
2368     pub certificateThumbprint: super::super::Foundation::PWSTR,
2369 }
2370 #[cfg(feature = "Win32_Foundation")]
2371 impl WSMAN_AUTHENTICATION_CREDENTIALS_0 {}
2372 #[cfg(feature = "Win32_Foundation")]
2373 impl ::std::default::Default for WSMAN_AUTHENTICATION_CREDENTIALS_0 {
default() -> Self2374     fn default() -> Self {
2375         unsafe { ::std::mem::zeroed() }
2376     }
2377 }
2378 #[cfg(feature = "Win32_Foundation")]
2379 impl ::std::cmp::PartialEq for WSMAN_AUTHENTICATION_CREDENTIALS_0 {
eq(&self, _other: &Self) -> bool2380     fn eq(&self, _other: &Self) -> bool {
2381         unimplemented!()
2382     }
2383 }
2384 #[cfg(feature = "Win32_Foundation")]
2385 impl ::std::cmp::Eq for WSMAN_AUTHENTICATION_CREDENTIALS_0 {}
2386 #[cfg(feature = "Win32_Foundation")]
2387 unsafe impl ::windows::runtime::Abi for WSMAN_AUTHENTICATION_CREDENTIALS_0 {
2388     type Abi = Self;
2389     type DefaultType = Self;
2390 }
2391 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2392 #[repr(C)]
2393 pub struct WSMAN_AUTHZ_QUOTA {
2394     pub maxAllowedConcurrentShells: u32,
2395     pub maxAllowedConcurrentOperations: u32,
2396     pub timeslotSize: u32,
2397     pub maxAllowedOperationsPerTimeslot: u32,
2398 }
2399 impl WSMAN_AUTHZ_QUOTA {}
2400 impl ::std::default::Default for WSMAN_AUTHZ_QUOTA {
default() -> Self2401     fn default() -> Self {
2402         unsafe { ::std::mem::zeroed() }
2403     }
2404 }
2405 impl ::std::fmt::Debug for WSMAN_AUTHZ_QUOTA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2406     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2407         fmt.debug_struct("WSMAN_AUTHZ_QUOTA")
2408             .field("maxAllowedConcurrentShells", &self.maxAllowedConcurrentShells)
2409             .field("maxAllowedConcurrentOperations", &self.maxAllowedConcurrentOperations)
2410             .field("timeslotSize", &self.timeslotSize)
2411             .field("maxAllowedOperationsPerTimeslot", &self.maxAllowedOperationsPerTimeslot)
2412             .finish()
2413     }
2414 }
2415 impl ::std::cmp::PartialEq for WSMAN_AUTHZ_QUOTA {
eq(&self, other: &Self) -> bool2416     fn eq(&self, other: &Self) -> bool {
2417         self.maxAllowedConcurrentShells == other.maxAllowedConcurrentShells && self.maxAllowedConcurrentOperations == other.maxAllowedConcurrentOperations && self.timeslotSize == other.timeslotSize && self.maxAllowedOperationsPerTimeslot == other.maxAllowedOperationsPerTimeslot
2418     }
2419 }
2420 impl ::std::cmp::Eq for WSMAN_AUTHZ_QUOTA {}
2421 unsafe impl ::windows::runtime::Abi for WSMAN_AUTHZ_QUOTA {
2422     type Abi = Self;
2423     type DefaultType = Self;
2424 }
2425 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2426 #[repr(C)]
2427 #[cfg(feature = "Win32_Foundation")]
2428 pub struct WSMAN_CERTIFICATE_DETAILS {
2429     pub subject: super::super::Foundation::PWSTR,
2430     pub issuerName: super::super::Foundation::PWSTR,
2431     pub issuerThumbprint: super::super::Foundation::PWSTR,
2432     pub subjectName: super::super::Foundation::PWSTR,
2433 }
2434 #[cfg(feature = "Win32_Foundation")]
2435 impl WSMAN_CERTIFICATE_DETAILS {}
2436 #[cfg(feature = "Win32_Foundation")]
2437 impl ::std::default::Default for WSMAN_CERTIFICATE_DETAILS {
default() -> Self2438     fn default() -> Self {
2439         unsafe { ::std::mem::zeroed() }
2440     }
2441 }
2442 #[cfg(feature = "Win32_Foundation")]
2443 impl ::std::fmt::Debug for WSMAN_CERTIFICATE_DETAILS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2444     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2445         fmt.debug_struct("WSMAN_CERTIFICATE_DETAILS").field("subject", &self.subject).field("issuerName", &self.issuerName).field("issuerThumbprint", &self.issuerThumbprint).field("subjectName", &self.subjectName).finish()
2446     }
2447 }
2448 #[cfg(feature = "Win32_Foundation")]
2449 impl ::std::cmp::PartialEq for WSMAN_CERTIFICATE_DETAILS {
eq(&self, other: &Self) -> bool2450     fn eq(&self, other: &Self) -> bool {
2451         self.subject == other.subject && self.issuerName == other.issuerName && self.issuerThumbprint == other.issuerThumbprint && self.subjectName == other.subjectName
2452     }
2453 }
2454 #[cfg(feature = "Win32_Foundation")]
2455 impl ::std::cmp::Eq for WSMAN_CERTIFICATE_DETAILS {}
2456 #[cfg(feature = "Win32_Foundation")]
2457 unsafe impl ::windows::runtime::Abi for WSMAN_CERTIFICATE_DETAILS {
2458     type Abi = Self;
2459     type DefaultType = Self;
2460 }
2461 #[repr(C)]
2462 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
2463 pub struct WSMAN_COMMAND(pub u8);
2464 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2465 #[repr(C)]
2466 #[cfg(feature = "Win32_Foundation")]
2467 pub struct WSMAN_COMMAND_ARG_SET {
2468     pub argsCount: u32,
2469     pub args: *mut super::super::Foundation::PWSTR,
2470 }
2471 #[cfg(feature = "Win32_Foundation")]
2472 impl WSMAN_COMMAND_ARG_SET {}
2473 #[cfg(feature = "Win32_Foundation")]
2474 impl ::std::default::Default for WSMAN_COMMAND_ARG_SET {
default() -> Self2475     fn default() -> Self {
2476         unsafe { ::std::mem::zeroed() }
2477     }
2478 }
2479 #[cfg(feature = "Win32_Foundation")]
2480 impl ::std::fmt::Debug for WSMAN_COMMAND_ARG_SET {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2481     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2482         fmt.debug_struct("WSMAN_COMMAND_ARG_SET").field("argsCount", &self.argsCount).field("args", &self.args).finish()
2483     }
2484 }
2485 #[cfg(feature = "Win32_Foundation")]
2486 impl ::std::cmp::PartialEq for WSMAN_COMMAND_ARG_SET {
eq(&self, other: &Self) -> bool2487     fn eq(&self, other: &Self) -> bool {
2488         self.argsCount == other.argsCount && self.args == other.args
2489     }
2490 }
2491 #[cfg(feature = "Win32_Foundation")]
2492 impl ::std::cmp::Eq for WSMAN_COMMAND_ARG_SET {}
2493 #[cfg(feature = "Win32_Foundation")]
2494 unsafe impl ::windows::runtime::Abi for WSMAN_COMMAND_ARG_SET {
2495     type Abi = Self;
2496     type DefaultType = Self;
2497 }
2498 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2499 #[repr(C)]
2500 #[cfg(feature = "Win32_Foundation")]
2501 pub struct WSMAN_CONNECT_DATA {
2502     pub data: WSMAN_DATA,
2503 }
2504 #[cfg(feature = "Win32_Foundation")]
2505 impl WSMAN_CONNECT_DATA {}
2506 #[cfg(feature = "Win32_Foundation")]
2507 impl ::std::default::Default for WSMAN_CONNECT_DATA {
default() -> Self2508     fn default() -> Self {
2509         unsafe { ::std::mem::zeroed() }
2510     }
2511 }
2512 #[cfg(feature = "Win32_Foundation")]
2513 impl ::std::cmp::PartialEq for WSMAN_CONNECT_DATA {
eq(&self, _other: &Self) -> bool2514     fn eq(&self, _other: &Self) -> bool {
2515         unimplemented!()
2516     }
2517 }
2518 #[cfg(feature = "Win32_Foundation")]
2519 impl ::std::cmp::Eq for WSMAN_CONNECT_DATA {}
2520 #[cfg(feature = "Win32_Foundation")]
2521 unsafe impl ::windows::runtime::Abi for WSMAN_CONNECT_DATA {
2522     type Abi = Self;
2523     type DefaultType = Self;
2524 }
2525 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2526 #[repr(C)]
2527 #[cfg(feature = "Win32_Foundation")]
2528 pub struct WSMAN_CREATE_SHELL_DATA {
2529     pub data: WSMAN_DATA,
2530 }
2531 #[cfg(feature = "Win32_Foundation")]
2532 impl WSMAN_CREATE_SHELL_DATA {}
2533 #[cfg(feature = "Win32_Foundation")]
2534 impl ::std::default::Default for WSMAN_CREATE_SHELL_DATA {
default() -> Self2535     fn default() -> Self {
2536         unsafe { ::std::mem::zeroed() }
2537     }
2538 }
2539 #[cfg(feature = "Win32_Foundation")]
2540 impl ::std::cmp::PartialEq for WSMAN_CREATE_SHELL_DATA {
eq(&self, _other: &Self) -> bool2541     fn eq(&self, _other: &Self) -> bool {
2542         unimplemented!()
2543     }
2544 }
2545 #[cfg(feature = "Win32_Foundation")]
2546 impl ::std::cmp::Eq for WSMAN_CREATE_SHELL_DATA {}
2547 #[cfg(feature = "Win32_Foundation")]
2548 unsafe impl ::windows::runtime::Abi for WSMAN_CREATE_SHELL_DATA {
2549     type Abi = Self;
2550     type DefaultType = Self;
2551 }
2552 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2553 #[repr(C)]
2554 #[cfg(feature = "Win32_Foundation")]
2555 pub struct WSMAN_DATA {
2556     pub r#type: WSManDataType,
2557     pub Anonymous: WSMAN_DATA_0,
2558 }
2559 #[cfg(feature = "Win32_Foundation")]
2560 impl WSMAN_DATA {}
2561 #[cfg(feature = "Win32_Foundation")]
2562 impl ::std::default::Default for WSMAN_DATA {
default() -> Self2563     fn default() -> Self {
2564         unsafe { ::std::mem::zeroed() }
2565     }
2566 }
2567 #[cfg(feature = "Win32_Foundation")]
2568 impl ::std::cmp::PartialEq for WSMAN_DATA {
eq(&self, _other: &Self) -> bool2569     fn eq(&self, _other: &Self) -> bool {
2570         unimplemented!()
2571     }
2572 }
2573 #[cfg(feature = "Win32_Foundation")]
2574 impl ::std::cmp::Eq for WSMAN_DATA {}
2575 #[cfg(feature = "Win32_Foundation")]
2576 unsafe impl ::windows::runtime::Abi for WSMAN_DATA {
2577     type Abi = Self;
2578     type DefaultType = Self;
2579 }
2580 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2581 #[repr(C)]
2582 #[cfg(feature = "Win32_Foundation")]
2583 pub union WSMAN_DATA_0 {
2584     pub text: WSMAN_DATA_TEXT,
2585     pub binaryData: WSMAN_DATA_BINARY,
2586     pub number: u32,
2587 }
2588 #[cfg(feature = "Win32_Foundation")]
2589 impl WSMAN_DATA_0 {}
2590 #[cfg(feature = "Win32_Foundation")]
2591 impl ::std::default::Default for WSMAN_DATA_0 {
default() -> Self2592     fn default() -> Self {
2593         unsafe { ::std::mem::zeroed() }
2594     }
2595 }
2596 #[cfg(feature = "Win32_Foundation")]
2597 impl ::std::cmp::PartialEq for WSMAN_DATA_0 {
eq(&self, _other: &Self) -> bool2598     fn eq(&self, _other: &Self) -> bool {
2599         unimplemented!()
2600     }
2601 }
2602 #[cfg(feature = "Win32_Foundation")]
2603 impl ::std::cmp::Eq for WSMAN_DATA_0 {}
2604 #[cfg(feature = "Win32_Foundation")]
2605 unsafe impl ::windows::runtime::Abi for WSMAN_DATA_0 {
2606     type Abi = Self;
2607     type DefaultType = Self;
2608 }
2609 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2610 #[repr(C)]
2611 pub struct WSMAN_DATA_BINARY {
2612     pub dataLength: u32,
2613     pub data: *mut u8,
2614 }
2615 impl WSMAN_DATA_BINARY {}
2616 impl ::std::default::Default for WSMAN_DATA_BINARY {
default() -> Self2617     fn default() -> Self {
2618         unsafe { ::std::mem::zeroed() }
2619     }
2620 }
2621 impl ::std::fmt::Debug for WSMAN_DATA_BINARY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2622     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2623         fmt.debug_struct("WSMAN_DATA_BINARY").field("dataLength", &self.dataLength).field("data", &self.data).finish()
2624     }
2625 }
2626 impl ::std::cmp::PartialEq for WSMAN_DATA_BINARY {
eq(&self, other: &Self) -> bool2627     fn eq(&self, other: &Self) -> bool {
2628         self.dataLength == other.dataLength && self.data == other.data
2629     }
2630 }
2631 impl ::std::cmp::Eq for WSMAN_DATA_BINARY {}
2632 unsafe impl ::windows::runtime::Abi for WSMAN_DATA_BINARY {
2633     type Abi = Self;
2634     type DefaultType = Self;
2635 }
2636 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2637 #[repr(C)]
2638 #[cfg(feature = "Win32_Foundation")]
2639 pub struct WSMAN_DATA_TEXT {
2640     pub bufferLength: u32,
2641     pub buffer: super::super::Foundation::PWSTR,
2642 }
2643 #[cfg(feature = "Win32_Foundation")]
2644 impl WSMAN_DATA_TEXT {}
2645 #[cfg(feature = "Win32_Foundation")]
2646 impl ::std::default::Default for WSMAN_DATA_TEXT {
default() -> Self2647     fn default() -> Self {
2648         unsafe { ::std::mem::zeroed() }
2649     }
2650 }
2651 #[cfg(feature = "Win32_Foundation")]
2652 impl ::std::fmt::Debug for WSMAN_DATA_TEXT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2653     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2654         fmt.debug_struct("WSMAN_DATA_TEXT").field("bufferLength", &self.bufferLength).field("buffer", &self.buffer).finish()
2655     }
2656 }
2657 #[cfg(feature = "Win32_Foundation")]
2658 impl ::std::cmp::PartialEq for WSMAN_DATA_TEXT {
eq(&self, other: &Self) -> bool2659     fn eq(&self, other: &Self) -> bool {
2660         self.bufferLength == other.bufferLength && self.buffer == other.buffer
2661     }
2662 }
2663 #[cfg(feature = "Win32_Foundation")]
2664 impl ::std::cmp::Eq for WSMAN_DATA_TEXT {}
2665 #[cfg(feature = "Win32_Foundation")]
2666 unsafe impl ::windows::runtime::Abi for WSMAN_DATA_TEXT {
2667     type Abi = Self;
2668     type DefaultType = Self;
2669 }
2670 pub const WSMAN_DEFAULT_TIMEOUT_MS: u32 = 60000u32;
2671 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2672 #[repr(C)]
2673 #[cfg(feature = "Win32_Foundation")]
2674 pub struct WSMAN_ENVIRONMENT_VARIABLE {
2675     pub name: super::super::Foundation::PWSTR,
2676     pub value: super::super::Foundation::PWSTR,
2677 }
2678 #[cfg(feature = "Win32_Foundation")]
2679 impl WSMAN_ENVIRONMENT_VARIABLE {}
2680 #[cfg(feature = "Win32_Foundation")]
2681 impl ::std::default::Default for WSMAN_ENVIRONMENT_VARIABLE {
default() -> Self2682     fn default() -> Self {
2683         unsafe { ::std::mem::zeroed() }
2684     }
2685 }
2686 #[cfg(feature = "Win32_Foundation")]
2687 impl ::std::fmt::Debug for WSMAN_ENVIRONMENT_VARIABLE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2688     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2689         fmt.debug_struct("WSMAN_ENVIRONMENT_VARIABLE").field("name", &self.name).field("value", &self.value).finish()
2690     }
2691 }
2692 #[cfg(feature = "Win32_Foundation")]
2693 impl ::std::cmp::PartialEq for WSMAN_ENVIRONMENT_VARIABLE {
eq(&self, other: &Self) -> bool2694     fn eq(&self, other: &Self) -> bool {
2695         self.name == other.name && self.value == other.value
2696     }
2697 }
2698 #[cfg(feature = "Win32_Foundation")]
2699 impl ::std::cmp::Eq for WSMAN_ENVIRONMENT_VARIABLE {}
2700 #[cfg(feature = "Win32_Foundation")]
2701 unsafe impl ::windows::runtime::Abi for WSMAN_ENVIRONMENT_VARIABLE {
2702     type Abi = Self;
2703     type DefaultType = Self;
2704 }
2705 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2706 #[repr(C)]
2707 #[cfg(feature = "Win32_Foundation")]
2708 pub struct WSMAN_ENVIRONMENT_VARIABLE_SET {
2709     pub varsCount: u32,
2710     pub vars: *mut WSMAN_ENVIRONMENT_VARIABLE,
2711 }
2712 #[cfg(feature = "Win32_Foundation")]
2713 impl WSMAN_ENVIRONMENT_VARIABLE_SET {}
2714 #[cfg(feature = "Win32_Foundation")]
2715 impl ::std::default::Default for WSMAN_ENVIRONMENT_VARIABLE_SET {
default() -> Self2716     fn default() -> Self {
2717         unsafe { ::std::mem::zeroed() }
2718     }
2719 }
2720 #[cfg(feature = "Win32_Foundation")]
2721 impl ::std::fmt::Debug for WSMAN_ENVIRONMENT_VARIABLE_SET {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2722     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2723         fmt.debug_struct("WSMAN_ENVIRONMENT_VARIABLE_SET").field("varsCount", &self.varsCount).field("vars", &self.vars).finish()
2724     }
2725 }
2726 #[cfg(feature = "Win32_Foundation")]
2727 impl ::std::cmp::PartialEq for WSMAN_ENVIRONMENT_VARIABLE_SET {
eq(&self, other: &Self) -> bool2728     fn eq(&self, other: &Self) -> bool {
2729         self.varsCount == other.varsCount && self.vars == other.vars
2730     }
2731 }
2732 #[cfg(feature = "Win32_Foundation")]
2733 impl ::std::cmp::Eq for WSMAN_ENVIRONMENT_VARIABLE_SET {}
2734 #[cfg(feature = "Win32_Foundation")]
2735 unsafe impl ::windows::runtime::Abi for WSMAN_ENVIRONMENT_VARIABLE_SET {
2736     type Abi = Self;
2737     type DefaultType = Self;
2738 }
2739 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2740 #[repr(C)]
2741 #[cfg(feature = "Win32_Foundation")]
2742 pub struct WSMAN_ERROR {
2743     pub code: u32,
2744     pub errorDetail: super::super::Foundation::PWSTR,
2745     pub language: super::super::Foundation::PWSTR,
2746     pub machineName: super::super::Foundation::PWSTR,
2747     pub pluginName: super::super::Foundation::PWSTR,
2748 }
2749 #[cfg(feature = "Win32_Foundation")]
2750 impl WSMAN_ERROR {}
2751 #[cfg(feature = "Win32_Foundation")]
2752 impl ::std::default::Default for WSMAN_ERROR {
default() -> Self2753     fn default() -> Self {
2754         unsafe { ::std::mem::zeroed() }
2755     }
2756 }
2757 #[cfg(feature = "Win32_Foundation")]
2758 impl ::std::fmt::Debug for WSMAN_ERROR {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2759     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2760         fmt.debug_struct("WSMAN_ERROR").field("code", &self.code).field("errorDetail", &self.errorDetail).field("language", &self.language).field("machineName", &self.machineName).field("pluginName", &self.pluginName).finish()
2761     }
2762 }
2763 #[cfg(feature = "Win32_Foundation")]
2764 impl ::std::cmp::PartialEq for WSMAN_ERROR {
eq(&self, other: &Self) -> bool2765     fn eq(&self, other: &Self) -> bool {
2766         self.code == other.code && self.errorDetail == other.errorDetail && self.language == other.language && self.machineName == other.machineName && self.pluginName == other.pluginName
2767     }
2768 }
2769 #[cfg(feature = "Win32_Foundation")]
2770 impl ::std::cmp::Eq for WSMAN_ERROR {}
2771 #[cfg(feature = "Win32_Foundation")]
2772 unsafe impl ::windows::runtime::Abi for WSMAN_ERROR {
2773     type Abi = Self;
2774     type DefaultType = Self;
2775 }
2776 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2777 #[repr(C)]
2778 #[cfg(feature = "Win32_Foundation")]
2779 pub struct WSMAN_FILTER {
2780     pub filter: super::super::Foundation::PWSTR,
2781     pub dialect: super::super::Foundation::PWSTR,
2782 }
2783 #[cfg(feature = "Win32_Foundation")]
2784 impl WSMAN_FILTER {}
2785 #[cfg(feature = "Win32_Foundation")]
2786 impl ::std::default::Default for WSMAN_FILTER {
default() -> Self2787     fn default() -> Self {
2788         unsafe { ::std::mem::zeroed() }
2789     }
2790 }
2791 #[cfg(feature = "Win32_Foundation")]
2792 impl ::std::fmt::Debug for WSMAN_FILTER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2793     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2794         fmt.debug_struct("WSMAN_FILTER").field("filter", &self.filter).field("dialect", &self.dialect).finish()
2795     }
2796 }
2797 #[cfg(feature = "Win32_Foundation")]
2798 impl ::std::cmp::PartialEq for WSMAN_FILTER {
eq(&self, other: &Self) -> bool2799     fn eq(&self, other: &Self) -> bool {
2800         self.filter == other.filter && self.dialect == other.dialect
2801     }
2802 }
2803 #[cfg(feature = "Win32_Foundation")]
2804 impl ::std::cmp::Eq for WSMAN_FILTER {}
2805 #[cfg(feature = "Win32_Foundation")]
2806 unsafe impl ::windows::runtime::Abi for WSMAN_FILTER {
2807     type Abi = Self;
2808     type DefaultType = Self;
2809 }
2810 pub const WSMAN_FLAG_RECEIVE_FLUSH: u32 = 2u32;
2811 pub const WSMAN_FLAG_RECEIVE_RESULT_DATA_BOUNDARY: u32 = 4u32;
2812 pub const WSMAN_FLAG_RECEIVE_RESULT_NO_MORE_DATA: u32 = 1u32;
2813 pub const WSMAN_FLAG_REQUESTED_API_VERSION_1_0: u32 = 0u32;
2814 pub const WSMAN_FLAG_REQUESTED_API_VERSION_1_1: u32 = 1u32;
2815 pub const WSMAN_FLAG_SEND_NO_MORE_DATA: u32 = 1u32;
2816 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2817 #[repr(C)]
2818 #[cfg(feature = "Win32_Foundation")]
2819 pub struct WSMAN_FRAGMENT {
2820     pub path: super::super::Foundation::PWSTR,
2821     pub dialect: super::super::Foundation::PWSTR,
2822 }
2823 #[cfg(feature = "Win32_Foundation")]
2824 impl WSMAN_FRAGMENT {}
2825 #[cfg(feature = "Win32_Foundation")]
2826 impl ::std::default::Default for WSMAN_FRAGMENT {
default() -> Self2827     fn default() -> Self {
2828         unsafe { ::std::mem::zeroed() }
2829     }
2830 }
2831 #[cfg(feature = "Win32_Foundation")]
2832 impl ::std::fmt::Debug for WSMAN_FRAGMENT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2833     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2834         fmt.debug_struct("WSMAN_FRAGMENT").field("path", &self.path).field("dialect", &self.dialect).finish()
2835     }
2836 }
2837 #[cfg(feature = "Win32_Foundation")]
2838 impl ::std::cmp::PartialEq for WSMAN_FRAGMENT {
eq(&self, other: &Self) -> bool2839     fn eq(&self, other: &Self) -> bool {
2840         self.path == other.path && self.dialect == other.dialect
2841     }
2842 }
2843 #[cfg(feature = "Win32_Foundation")]
2844 impl ::std::cmp::Eq for WSMAN_FRAGMENT {}
2845 #[cfg(feature = "Win32_Foundation")]
2846 unsafe impl ::windows::runtime::Abi for WSMAN_FRAGMENT {
2847     type Abi = Self;
2848     type DefaultType = Self;
2849 }
2850 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2851 #[repr(C)]
2852 #[cfg(feature = "Win32_Foundation")]
2853 pub struct WSMAN_KEY {
2854     pub key: super::super::Foundation::PWSTR,
2855     pub value: super::super::Foundation::PWSTR,
2856 }
2857 #[cfg(feature = "Win32_Foundation")]
2858 impl WSMAN_KEY {}
2859 #[cfg(feature = "Win32_Foundation")]
2860 impl ::std::default::Default for WSMAN_KEY {
default() -> Self2861     fn default() -> Self {
2862         unsafe { ::std::mem::zeroed() }
2863     }
2864 }
2865 #[cfg(feature = "Win32_Foundation")]
2866 impl ::std::fmt::Debug for WSMAN_KEY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2867     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2868         fmt.debug_struct("WSMAN_KEY").field("key", &self.key).field("value", &self.value).finish()
2869     }
2870 }
2871 #[cfg(feature = "Win32_Foundation")]
2872 impl ::std::cmp::PartialEq for WSMAN_KEY {
eq(&self, other: &Self) -> bool2873     fn eq(&self, other: &Self) -> bool {
2874         self.key == other.key && self.value == other.value
2875     }
2876 }
2877 #[cfg(feature = "Win32_Foundation")]
2878 impl ::std::cmp::Eq for WSMAN_KEY {}
2879 #[cfg(feature = "Win32_Foundation")]
2880 unsafe impl ::windows::runtime::Abi for WSMAN_KEY {
2881     type Abi = Self;
2882     type DefaultType = Self;
2883 }
2884 #[repr(C)]
2885 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
2886 pub struct WSMAN_OPERATION(pub u8);
2887 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2888 #[repr(C)]
2889 #[cfg(feature = "Win32_Foundation")]
2890 pub struct WSMAN_OPERATION_INFO {
2891     pub fragment: WSMAN_FRAGMENT,
2892     pub filter: WSMAN_FILTER,
2893     pub selectorSet: WSMAN_SELECTOR_SET,
2894     pub optionSet: WSMAN_OPTION_SET,
2895     pub reserved: *mut ::std::ffi::c_void,
2896     pub version: u32,
2897 }
2898 #[cfg(feature = "Win32_Foundation")]
2899 impl WSMAN_OPERATION_INFO {}
2900 #[cfg(feature = "Win32_Foundation")]
2901 impl ::std::default::Default for WSMAN_OPERATION_INFO {
default() -> Self2902     fn default() -> Self {
2903         unsafe { ::std::mem::zeroed() }
2904     }
2905 }
2906 #[cfg(feature = "Win32_Foundation")]
2907 impl ::std::fmt::Debug for WSMAN_OPERATION_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2908     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2909         fmt.debug_struct("WSMAN_OPERATION_INFO").field("fragment", &self.fragment).field("filter", &self.filter).field("selectorSet", &self.selectorSet).field("optionSet", &self.optionSet).field("reserved", &self.reserved).field("version", &self.version).finish()
2910     }
2911 }
2912 #[cfg(feature = "Win32_Foundation")]
2913 impl ::std::cmp::PartialEq for WSMAN_OPERATION_INFO {
eq(&self, other: &Self) -> bool2914     fn eq(&self, other: &Self) -> bool {
2915         self.fragment == other.fragment && self.filter == other.filter && self.selectorSet == other.selectorSet && self.optionSet == other.optionSet && self.reserved == other.reserved && self.version == other.version
2916     }
2917 }
2918 #[cfg(feature = "Win32_Foundation")]
2919 impl ::std::cmp::Eq for WSMAN_OPERATION_INFO {}
2920 #[cfg(feature = "Win32_Foundation")]
2921 unsafe impl ::windows::runtime::Abi for WSMAN_OPERATION_INFO {
2922     type Abi = Self;
2923     type DefaultType = Self;
2924 }
2925 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2926 #[repr(C)]
2927 #[cfg(feature = "Win32_Foundation")]
2928 pub struct WSMAN_OPERATION_INFOEX {
2929     pub fragment: WSMAN_FRAGMENT,
2930     pub filter: WSMAN_FILTER,
2931     pub selectorSet: WSMAN_SELECTOR_SET,
2932     pub optionSet: WSMAN_OPTION_SETEX,
2933     pub version: u32,
2934     pub uiLocale: super::super::Foundation::PWSTR,
2935     pub dataLocale: super::super::Foundation::PWSTR,
2936 }
2937 #[cfg(feature = "Win32_Foundation")]
2938 impl WSMAN_OPERATION_INFOEX {}
2939 #[cfg(feature = "Win32_Foundation")]
2940 impl ::std::default::Default for WSMAN_OPERATION_INFOEX {
default() -> Self2941     fn default() -> Self {
2942         unsafe { ::std::mem::zeroed() }
2943     }
2944 }
2945 #[cfg(feature = "Win32_Foundation")]
2946 impl ::std::fmt::Debug for WSMAN_OPERATION_INFOEX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2947     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2948         fmt.debug_struct("WSMAN_OPERATION_INFOEX").field("fragment", &self.fragment).field("filter", &self.filter).field("selectorSet", &self.selectorSet).field("optionSet", &self.optionSet).field("version", &self.version).field("uiLocale", &self.uiLocale).field("dataLocale", &self.dataLocale).finish()
2949     }
2950 }
2951 #[cfg(feature = "Win32_Foundation")]
2952 impl ::std::cmp::PartialEq for WSMAN_OPERATION_INFOEX {
eq(&self, other: &Self) -> bool2953     fn eq(&self, other: &Self) -> bool {
2954         self.fragment == other.fragment && self.filter == other.filter && self.selectorSet == other.selectorSet && self.optionSet == other.optionSet && self.version == other.version && self.uiLocale == other.uiLocale && self.dataLocale == other.dataLocale
2955     }
2956 }
2957 #[cfg(feature = "Win32_Foundation")]
2958 impl ::std::cmp::Eq for WSMAN_OPERATION_INFOEX {}
2959 #[cfg(feature = "Win32_Foundation")]
2960 unsafe impl ::windows::runtime::Abi for WSMAN_OPERATION_INFOEX {
2961     type Abi = Self;
2962     type DefaultType = Self;
2963 }
2964 pub const WSMAN_OPERATION_INFOV1: u32 = 0u32;
2965 pub const WSMAN_OPERATION_INFOV2: u32 = 2864434397u32;
2966 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2967 #[repr(C)]
2968 #[cfg(feature = "Win32_Foundation")]
2969 pub struct WSMAN_OPTION {
2970     pub name: super::super::Foundation::PWSTR,
2971     pub value: super::super::Foundation::PWSTR,
2972     pub mustComply: super::super::Foundation::BOOL,
2973 }
2974 #[cfg(feature = "Win32_Foundation")]
2975 impl WSMAN_OPTION {}
2976 #[cfg(feature = "Win32_Foundation")]
2977 impl ::std::default::Default for WSMAN_OPTION {
default() -> Self2978     fn default() -> Self {
2979         unsafe { ::std::mem::zeroed() }
2980     }
2981 }
2982 #[cfg(feature = "Win32_Foundation")]
2983 impl ::std::fmt::Debug for WSMAN_OPTION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2984     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2985         fmt.debug_struct("WSMAN_OPTION").field("name", &self.name).field("value", &self.value).field("mustComply", &self.mustComply).finish()
2986     }
2987 }
2988 #[cfg(feature = "Win32_Foundation")]
2989 impl ::std::cmp::PartialEq for WSMAN_OPTION {
eq(&self, other: &Self) -> bool2990     fn eq(&self, other: &Self) -> bool {
2991         self.name == other.name && self.value == other.value && self.mustComply == other.mustComply
2992     }
2993 }
2994 #[cfg(feature = "Win32_Foundation")]
2995 impl ::std::cmp::Eq for WSMAN_OPTION {}
2996 #[cfg(feature = "Win32_Foundation")]
2997 unsafe impl ::windows::runtime::Abi for WSMAN_OPTION {
2998     type Abi = Self;
2999     type DefaultType = Self;
3000 }
3001 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3002 #[repr(C)]
3003 #[cfg(feature = "Win32_Foundation")]
3004 pub struct WSMAN_OPTION_SET {
3005     pub optionsCount: u32,
3006     pub options: *mut WSMAN_OPTION,
3007     pub optionsMustUnderstand: super::super::Foundation::BOOL,
3008 }
3009 #[cfg(feature = "Win32_Foundation")]
3010 impl WSMAN_OPTION_SET {}
3011 #[cfg(feature = "Win32_Foundation")]
3012 impl ::std::default::Default for WSMAN_OPTION_SET {
default() -> Self3013     fn default() -> Self {
3014         unsafe { ::std::mem::zeroed() }
3015     }
3016 }
3017 #[cfg(feature = "Win32_Foundation")]
3018 impl ::std::fmt::Debug for WSMAN_OPTION_SET {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3019     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3020         fmt.debug_struct("WSMAN_OPTION_SET").field("optionsCount", &self.optionsCount).field("options", &self.options).field("optionsMustUnderstand", &self.optionsMustUnderstand).finish()
3021     }
3022 }
3023 #[cfg(feature = "Win32_Foundation")]
3024 impl ::std::cmp::PartialEq for WSMAN_OPTION_SET {
eq(&self, other: &Self) -> bool3025     fn eq(&self, other: &Self) -> bool {
3026         self.optionsCount == other.optionsCount && self.options == other.options && self.optionsMustUnderstand == other.optionsMustUnderstand
3027     }
3028 }
3029 #[cfg(feature = "Win32_Foundation")]
3030 impl ::std::cmp::Eq for WSMAN_OPTION_SET {}
3031 #[cfg(feature = "Win32_Foundation")]
3032 unsafe impl ::windows::runtime::Abi for WSMAN_OPTION_SET {
3033     type Abi = Self;
3034     type DefaultType = Self;
3035 }
3036 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3037 #[repr(C)]
3038 #[cfg(feature = "Win32_Foundation")]
3039 pub struct WSMAN_OPTION_SETEX {
3040     pub optionsCount: u32,
3041     pub options: *mut WSMAN_OPTION,
3042     pub optionsMustUnderstand: super::super::Foundation::BOOL,
3043     pub optionTypes: *mut super::super::Foundation::PWSTR,
3044 }
3045 #[cfg(feature = "Win32_Foundation")]
3046 impl WSMAN_OPTION_SETEX {}
3047 #[cfg(feature = "Win32_Foundation")]
3048 impl ::std::default::Default for WSMAN_OPTION_SETEX {
default() -> Self3049     fn default() -> Self {
3050         unsafe { ::std::mem::zeroed() }
3051     }
3052 }
3053 #[cfg(feature = "Win32_Foundation")]
3054 impl ::std::fmt::Debug for WSMAN_OPTION_SETEX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3055     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3056         fmt.debug_struct("WSMAN_OPTION_SETEX").field("optionsCount", &self.optionsCount).field("options", &self.options).field("optionsMustUnderstand", &self.optionsMustUnderstand).field("optionTypes", &self.optionTypes).finish()
3057     }
3058 }
3059 #[cfg(feature = "Win32_Foundation")]
3060 impl ::std::cmp::PartialEq for WSMAN_OPTION_SETEX {
eq(&self, other: &Self) -> bool3061     fn eq(&self, other: &Self) -> bool {
3062         self.optionsCount == other.optionsCount && self.options == other.options && self.optionsMustUnderstand == other.optionsMustUnderstand && self.optionTypes == other.optionTypes
3063     }
3064 }
3065 #[cfg(feature = "Win32_Foundation")]
3066 impl ::std::cmp::Eq for WSMAN_OPTION_SETEX {}
3067 #[cfg(feature = "Win32_Foundation")]
3068 unsafe impl ::windows::runtime::Abi for WSMAN_OPTION_SETEX {
3069     type Abi = Self;
3070     type DefaultType = Self;
3071 }
3072 #[cfg(feature = "Win32_Foundation")]
3073 pub type WSMAN_PLUGIN_AUTHORIZE_OPERATION = unsafe extern "system" fn(plugincontext: *const ::std::ffi::c_void, senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, operation: u32, action: super::super::Foundation::PWSTR, resourceuri: super::super::Foundation::PWSTR);
3074 #[cfg(feature = "Win32_Foundation")]
3075 pub type WSMAN_PLUGIN_AUTHORIZE_QUERY_QUOTA = unsafe extern "system" fn(plugincontext: *const ::std::ffi::c_void, senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32);
3076 pub type WSMAN_PLUGIN_AUTHORIZE_RELEASE_CONTEXT = unsafe extern "system" fn(userauthorizationcontext: *const ::std::ffi::c_void);
3077 #[cfg(feature = "Win32_Foundation")]
3078 pub type WSMAN_PLUGIN_AUTHORIZE_USER = unsafe extern "system" fn(plugincontext: *const ::std::ffi::c_void, senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32);
3079 #[cfg(feature = "Win32_Foundation")]
3080 pub type WSMAN_PLUGIN_COMMAND = unsafe extern "system" fn(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, shellcontext: *const ::std::ffi::c_void, commandline: super::super::Foundation::PWSTR, arguments: *const WSMAN_COMMAND_ARG_SET);
3081 #[cfg(feature = "Win32_Foundation")]
3082 pub type WSMAN_PLUGIN_CONNECT = unsafe extern "system" fn(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, shellcontext: *const ::std::ffi::c_void, commandcontext: *const ::std::ffi::c_void, inboundconnectinformation: *const WSMAN_DATA);
3083 pub const WSMAN_PLUGIN_PARAMS_AUTORESTART: u32 = 3u32;
3084 pub const WSMAN_PLUGIN_PARAMS_GET_REQUESTED_DATA_LOCALE: u32 = 6u32;
3085 pub const WSMAN_PLUGIN_PARAMS_GET_REQUESTED_LOCALE: u32 = 5u32;
3086 pub const WSMAN_PLUGIN_PARAMS_HOSTIDLETIMEOUTSECONDS: u32 = 4u32;
3087 pub const WSMAN_PLUGIN_PARAMS_LARGEST_RESULT_SIZE: u32 = 4u32;
3088 pub const WSMAN_PLUGIN_PARAMS_MAX_ENVELOPE_SIZE: u32 = 1u32;
3089 pub const WSMAN_PLUGIN_PARAMS_NAME: u32 = 5u32;
3090 pub const WSMAN_PLUGIN_PARAMS_REMAINING_RESULT_SIZE: u32 = 3u32;
3091 pub const WSMAN_PLUGIN_PARAMS_RUNAS_USER: u32 = 2u32;
3092 pub const WSMAN_PLUGIN_PARAMS_SHAREDHOST: u32 = 1u32;
3093 pub const WSMAN_PLUGIN_PARAMS_TIMEOUT: u32 = 2u32;
3094 #[cfg(feature = "Win32_Foundation")]
3095 pub type WSMAN_PLUGIN_RECEIVE = unsafe extern "system" fn(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, shellcontext: *const ::std::ffi::c_void, commandcontext: *const ::std::ffi::c_void, streamset: *const WSMAN_STREAM_ID_SET);
3096 pub type WSMAN_PLUGIN_RELEASE_COMMAND_CONTEXT = unsafe extern "system" fn(shellcontext: *const ::std::ffi::c_void, commandcontext: *const ::std::ffi::c_void);
3097 pub type WSMAN_PLUGIN_RELEASE_SHELL_CONTEXT = unsafe extern "system" fn(shellcontext: *const ::std::ffi::c_void);
3098 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3099 #[repr(C)]
3100 #[cfg(feature = "Win32_Foundation")]
3101 pub struct WSMAN_PLUGIN_REQUEST {
3102     pub senderDetails: *mut WSMAN_SENDER_DETAILS,
3103     pub locale: super::super::Foundation::PWSTR,
3104     pub resourceUri: super::super::Foundation::PWSTR,
3105     pub operationInfo: *mut WSMAN_OPERATION_INFO,
3106     pub shutdownNotification: i32,
3107     pub shutdownNotificationHandle: super::super::Foundation::HANDLE,
3108     pub dataLocale: super::super::Foundation::PWSTR,
3109 }
3110 #[cfg(feature = "Win32_Foundation")]
3111 impl WSMAN_PLUGIN_REQUEST {}
3112 #[cfg(feature = "Win32_Foundation")]
3113 impl ::std::default::Default for WSMAN_PLUGIN_REQUEST {
default() -> Self3114     fn default() -> Self {
3115         unsafe { ::std::mem::zeroed() }
3116     }
3117 }
3118 #[cfg(feature = "Win32_Foundation")]
3119 impl ::std::fmt::Debug for WSMAN_PLUGIN_REQUEST {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3120     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3121         fmt.debug_struct("WSMAN_PLUGIN_REQUEST")
3122             .field("senderDetails", &self.senderDetails)
3123             .field("locale", &self.locale)
3124             .field("resourceUri", &self.resourceUri)
3125             .field("operationInfo", &self.operationInfo)
3126             .field("shutdownNotification", &self.shutdownNotification)
3127             .field("shutdownNotificationHandle", &self.shutdownNotificationHandle)
3128             .field("dataLocale", &self.dataLocale)
3129             .finish()
3130     }
3131 }
3132 #[cfg(feature = "Win32_Foundation")]
3133 impl ::std::cmp::PartialEq for WSMAN_PLUGIN_REQUEST {
eq(&self, other: &Self) -> bool3134     fn eq(&self, other: &Self) -> bool {
3135         self.senderDetails == other.senderDetails && self.locale == other.locale && self.resourceUri == other.resourceUri && self.operationInfo == other.operationInfo && self.shutdownNotification == other.shutdownNotification && self.shutdownNotificationHandle == other.shutdownNotificationHandle && self.dataLocale == other.dataLocale
3136     }
3137 }
3138 #[cfg(feature = "Win32_Foundation")]
3139 impl ::std::cmp::Eq for WSMAN_PLUGIN_REQUEST {}
3140 #[cfg(feature = "Win32_Foundation")]
3141 unsafe impl ::windows::runtime::Abi for WSMAN_PLUGIN_REQUEST {
3142     type Abi = Self;
3143     type DefaultType = Self;
3144 }
3145 #[cfg(feature = "Win32_Foundation")]
3146 pub type WSMAN_PLUGIN_SEND = unsafe extern "system" fn(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, shellcontext: *const ::std::ffi::c_void, commandcontext: *const ::std::ffi::c_void, stream: super::super::Foundation::PWSTR, inbounddata: *const WSMAN_DATA);
3147 #[cfg(feature = "Win32_Foundation")]
3148 pub type WSMAN_PLUGIN_SHELL = unsafe extern "system" fn(plugincontext: *const ::std::ffi::c_void, requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, inboundshellinformation: *const WSMAN_DATA);
3149 pub type WSMAN_PLUGIN_SHUTDOWN = unsafe extern "system" fn(plugincontext: *const ::std::ffi::c_void, flags: u32, reason: u32) -> u32;
3150 pub const WSMAN_PLUGIN_SHUTDOWN_IDLETIMEOUT_ELAPSED: u32 = 4u32;
3151 pub const WSMAN_PLUGIN_SHUTDOWN_IISHOST: u32 = 3u32;
3152 pub const WSMAN_PLUGIN_SHUTDOWN_SERVICE: u32 = 2u32;
3153 pub const WSMAN_PLUGIN_SHUTDOWN_SYSTEM: u32 = 1u32;
3154 #[cfg(feature = "Win32_Foundation")]
3155 pub type WSMAN_PLUGIN_SIGNAL = unsafe extern "system" fn(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, shellcontext: *const ::std::ffi::c_void, commandcontext: *const ::std::ffi::c_void, code: super::super::Foundation::PWSTR);
3156 #[cfg(feature = "Win32_Foundation")]
3157 pub type WSMAN_PLUGIN_STARTUP = unsafe extern "system" fn(flags: u32, applicationidentification: super::super::Foundation::PWSTR, extrainfo: super::super::Foundation::PWSTR, plugincontext: *mut *mut ::std::ffi::c_void) -> u32;
3158 pub const WSMAN_PLUGIN_STARTUP_AUTORESTARTED_CRASH: u32 = 2u32;
3159 pub const WSMAN_PLUGIN_STARTUP_AUTORESTARTED_REBOOT: u32 = 1u32;
3160 pub const WSMAN_PLUGIN_STARTUP_REQUEST_RECEIVED: u32 = 0u32;
3161 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3162 #[repr(C)]
3163 #[cfg(feature = "Win32_Foundation")]
3164 pub struct WSMAN_PROXY_INFO {
3165     pub accessType: u32,
3166     pub authenticationCredentials: WSMAN_AUTHENTICATION_CREDENTIALS,
3167 }
3168 #[cfg(feature = "Win32_Foundation")]
3169 impl WSMAN_PROXY_INFO {}
3170 #[cfg(feature = "Win32_Foundation")]
3171 impl ::std::default::Default for WSMAN_PROXY_INFO {
default() -> Self3172     fn default() -> Self {
3173         unsafe { ::std::mem::zeroed() }
3174     }
3175 }
3176 #[cfg(feature = "Win32_Foundation")]
3177 impl ::std::cmp::PartialEq for WSMAN_PROXY_INFO {
eq(&self, _other: &Self) -> bool3178     fn eq(&self, _other: &Self) -> bool {
3179         unimplemented!()
3180     }
3181 }
3182 #[cfg(feature = "Win32_Foundation")]
3183 impl ::std::cmp::Eq for WSMAN_PROXY_INFO {}
3184 #[cfg(feature = "Win32_Foundation")]
3185 unsafe impl ::windows::runtime::Abi for WSMAN_PROXY_INFO {
3186     type Abi = Self;
3187     type DefaultType = Self;
3188 }
3189 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3190 #[repr(C)]
3191 #[cfg(feature = "Win32_Foundation")]
3192 pub struct WSMAN_RECEIVE_DATA_RESULT {
3193     pub streamId: super::super::Foundation::PWSTR,
3194     pub streamData: WSMAN_DATA,
3195     pub commandState: super::super::Foundation::PWSTR,
3196     pub exitCode: u32,
3197 }
3198 #[cfg(feature = "Win32_Foundation")]
3199 impl WSMAN_RECEIVE_DATA_RESULT {}
3200 #[cfg(feature = "Win32_Foundation")]
3201 impl ::std::default::Default for WSMAN_RECEIVE_DATA_RESULT {
default() -> Self3202     fn default() -> Self {
3203         unsafe { ::std::mem::zeroed() }
3204     }
3205 }
3206 #[cfg(feature = "Win32_Foundation")]
3207 impl ::std::cmp::PartialEq for WSMAN_RECEIVE_DATA_RESULT {
eq(&self, _other: &Self) -> bool3208     fn eq(&self, _other: &Self) -> bool {
3209         unimplemented!()
3210     }
3211 }
3212 #[cfg(feature = "Win32_Foundation")]
3213 impl ::std::cmp::Eq for WSMAN_RECEIVE_DATA_RESULT {}
3214 #[cfg(feature = "Win32_Foundation")]
3215 unsafe impl ::windows::runtime::Abi for WSMAN_RECEIVE_DATA_RESULT {
3216     type Abi = Self;
3217     type DefaultType = Self;
3218 }
3219 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3220 #[repr(C)]
3221 #[cfg(feature = "Win32_Foundation")]
3222 pub union WSMAN_RESPONSE_DATA {
3223     pub receiveData: WSMAN_RECEIVE_DATA_RESULT,
3224     pub connectData: WSMAN_CONNECT_DATA,
3225     pub createData: WSMAN_CREATE_SHELL_DATA,
3226 }
3227 #[cfg(feature = "Win32_Foundation")]
3228 impl WSMAN_RESPONSE_DATA {}
3229 #[cfg(feature = "Win32_Foundation")]
3230 impl ::std::default::Default for WSMAN_RESPONSE_DATA {
default() -> Self3231     fn default() -> Self {
3232         unsafe { ::std::mem::zeroed() }
3233     }
3234 }
3235 #[cfg(feature = "Win32_Foundation")]
3236 impl ::std::cmp::PartialEq for WSMAN_RESPONSE_DATA {
eq(&self, _other: &Self) -> bool3237     fn eq(&self, _other: &Self) -> bool {
3238         unimplemented!()
3239     }
3240 }
3241 #[cfg(feature = "Win32_Foundation")]
3242 impl ::std::cmp::Eq for WSMAN_RESPONSE_DATA {}
3243 #[cfg(feature = "Win32_Foundation")]
3244 unsafe impl ::windows::runtime::Abi for WSMAN_RESPONSE_DATA {
3245     type Abi = Self;
3246     type DefaultType = Self;
3247 }
3248 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3249 #[repr(C)]
3250 #[cfg(feature = "Win32_Foundation")]
3251 pub struct WSMAN_SELECTOR_SET {
3252     pub numberKeys: u32,
3253     pub keys: *mut WSMAN_KEY,
3254 }
3255 #[cfg(feature = "Win32_Foundation")]
3256 impl WSMAN_SELECTOR_SET {}
3257 #[cfg(feature = "Win32_Foundation")]
3258 impl ::std::default::Default for WSMAN_SELECTOR_SET {
default() -> Self3259     fn default() -> Self {
3260         unsafe { ::std::mem::zeroed() }
3261     }
3262 }
3263 #[cfg(feature = "Win32_Foundation")]
3264 impl ::std::fmt::Debug for WSMAN_SELECTOR_SET {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3265     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3266         fmt.debug_struct("WSMAN_SELECTOR_SET").field("numberKeys", &self.numberKeys).field("keys", &self.keys).finish()
3267     }
3268 }
3269 #[cfg(feature = "Win32_Foundation")]
3270 impl ::std::cmp::PartialEq for WSMAN_SELECTOR_SET {
eq(&self, other: &Self) -> bool3271     fn eq(&self, other: &Self) -> bool {
3272         self.numberKeys == other.numberKeys && self.keys == other.keys
3273     }
3274 }
3275 #[cfg(feature = "Win32_Foundation")]
3276 impl ::std::cmp::Eq for WSMAN_SELECTOR_SET {}
3277 #[cfg(feature = "Win32_Foundation")]
3278 unsafe impl ::windows::runtime::Abi for WSMAN_SELECTOR_SET {
3279     type Abi = Self;
3280     type DefaultType = Self;
3281 }
3282 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3283 #[repr(C)]
3284 #[cfg(feature = "Win32_Foundation")]
3285 pub struct WSMAN_SENDER_DETAILS {
3286     pub senderName: super::super::Foundation::PWSTR,
3287     pub authenticationMechanism: super::super::Foundation::PWSTR,
3288     pub certificateDetails: *mut WSMAN_CERTIFICATE_DETAILS,
3289     pub clientToken: super::super::Foundation::HANDLE,
3290     pub httpURL: super::super::Foundation::PWSTR,
3291 }
3292 #[cfg(feature = "Win32_Foundation")]
3293 impl WSMAN_SENDER_DETAILS {}
3294 #[cfg(feature = "Win32_Foundation")]
3295 impl ::std::default::Default for WSMAN_SENDER_DETAILS {
default() -> Self3296     fn default() -> Self {
3297         unsafe { ::std::mem::zeroed() }
3298     }
3299 }
3300 #[cfg(feature = "Win32_Foundation")]
3301 impl ::std::fmt::Debug for WSMAN_SENDER_DETAILS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3302     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3303         fmt.debug_struct("WSMAN_SENDER_DETAILS").field("senderName", &self.senderName).field("authenticationMechanism", &self.authenticationMechanism).field("certificateDetails", &self.certificateDetails).field("clientToken", &self.clientToken).field("httpURL", &self.httpURL).finish()
3304     }
3305 }
3306 #[cfg(feature = "Win32_Foundation")]
3307 impl ::std::cmp::PartialEq for WSMAN_SENDER_DETAILS {
eq(&self, other: &Self) -> bool3308     fn eq(&self, other: &Self) -> bool {
3309         self.senderName == other.senderName && self.authenticationMechanism == other.authenticationMechanism && self.certificateDetails == other.certificateDetails && self.clientToken == other.clientToken && self.httpURL == other.httpURL
3310     }
3311 }
3312 #[cfg(feature = "Win32_Foundation")]
3313 impl ::std::cmp::Eq for WSMAN_SENDER_DETAILS {}
3314 #[cfg(feature = "Win32_Foundation")]
3315 unsafe impl ::windows::runtime::Abi for WSMAN_SENDER_DETAILS {
3316     type Abi = Self;
3317     type DefaultType = Self;
3318 }
3319 #[repr(C)]
3320 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
3321 pub struct WSMAN_SESSION(pub u8);
3322 #[repr(C)]
3323 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
3324 pub struct WSMAN_SHELL(pub u8);
3325 #[derive(:: std :: clone :: Clone)]
3326 #[repr(C)]
3327 #[cfg(feature = "Win32_Foundation")]
3328 pub struct WSMAN_SHELL_ASYNC {
3329     pub operationContext: *mut ::std::ffi::c_void,
3330     pub completionFunction: ::std::option::Option<WSMAN_SHELL_COMPLETION_FUNCTION>,
3331 }
3332 #[cfg(feature = "Win32_Foundation")]
3333 impl WSMAN_SHELL_ASYNC {}
3334 #[cfg(feature = "Win32_Foundation")]
3335 impl ::std::default::Default for WSMAN_SHELL_ASYNC {
default() -> Self3336     fn default() -> Self {
3337         unsafe { ::std::mem::zeroed() }
3338     }
3339 }
3340 #[cfg(feature = "Win32_Foundation")]
3341 impl ::std::fmt::Debug for WSMAN_SHELL_ASYNC {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3342     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3343         fmt.debug_struct("WSMAN_SHELL_ASYNC").field("operationContext", &self.operationContext).finish()
3344     }
3345 }
3346 #[cfg(feature = "Win32_Foundation")]
3347 impl ::std::cmp::PartialEq for WSMAN_SHELL_ASYNC {
eq(&self, other: &Self) -> bool3348     fn eq(&self, other: &Self) -> bool {
3349         self.operationContext == other.operationContext && self.completionFunction.map(|f| f as usize) == other.completionFunction.map(|f| f as usize)
3350     }
3351 }
3352 #[cfg(feature = "Win32_Foundation")]
3353 impl ::std::cmp::Eq for WSMAN_SHELL_ASYNC {}
3354 #[cfg(feature = "Win32_Foundation")]
3355 unsafe impl ::windows::runtime::Abi for WSMAN_SHELL_ASYNC {
3356     type Abi = ::std::mem::ManuallyDrop<Self>;
3357     type DefaultType = Self;
3358 }
3359 #[cfg(feature = "Win32_Foundation")]
3360 pub type WSMAN_SHELL_COMPLETION_FUNCTION = unsafe extern "system" fn(operationcontext: *const ::std::ffi::c_void, flags: u32, error: *const WSMAN_ERROR, shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, operationhandle: *const WSMAN_OPERATION, data: *const WSMAN_RESPONSE_DATA);
3361 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3362 #[repr(C)]
3363 pub struct WSMAN_SHELL_DISCONNECT_INFO {
3364     pub idleTimeoutMs: u32,
3365 }
3366 impl WSMAN_SHELL_DISCONNECT_INFO {}
3367 impl ::std::default::Default for WSMAN_SHELL_DISCONNECT_INFO {
default() -> Self3368     fn default() -> Self {
3369         unsafe { ::std::mem::zeroed() }
3370     }
3371 }
3372 impl ::std::fmt::Debug for WSMAN_SHELL_DISCONNECT_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3373     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3374         fmt.debug_struct("WSMAN_SHELL_DISCONNECT_INFO").field("idleTimeoutMs", &self.idleTimeoutMs).finish()
3375     }
3376 }
3377 impl ::std::cmp::PartialEq for WSMAN_SHELL_DISCONNECT_INFO {
eq(&self, other: &Self) -> bool3378     fn eq(&self, other: &Self) -> bool {
3379         self.idleTimeoutMs == other.idleTimeoutMs
3380     }
3381 }
3382 impl ::std::cmp::Eq for WSMAN_SHELL_DISCONNECT_INFO {}
3383 unsafe impl ::windows::runtime::Abi for WSMAN_SHELL_DISCONNECT_INFO {
3384     type Abi = Self;
3385     type DefaultType = Self;
3386 }
3387 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3388 #[repr(C)]
3389 #[cfg(feature = "Win32_Foundation")]
3390 pub struct WSMAN_SHELL_STARTUP_INFO_V10 {
3391     pub inputStreamSet: *mut WSMAN_STREAM_ID_SET,
3392     pub outputStreamSet: *mut WSMAN_STREAM_ID_SET,
3393     pub idleTimeoutMs: u32,
3394     pub workingDirectory: super::super::Foundation::PWSTR,
3395     pub variableSet: *mut WSMAN_ENVIRONMENT_VARIABLE_SET,
3396 }
3397 #[cfg(feature = "Win32_Foundation")]
3398 impl WSMAN_SHELL_STARTUP_INFO_V10 {}
3399 #[cfg(feature = "Win32_Foundation")]
3400 impl ::std::default::Default for WSMAN_SHELL_STARTUP_INFO_V10 {
default() -> Self3401     fn default() -> Self {
3402         unsafe { ::std::mem::zeroed() }
3403     }
3404 }
3405 #[cfg(feature = "Win32_Foundation")]
3406 impl ::std::fmt::Debug for WSMAN_SHELL_STARTUP_INFO_V10 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3407     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3408         fmt.debug_struct("WSMAN_SHELL_STARTUP_INFO_V10").field("inputStreamSet", &self.inputStreamSet).field("outputStreamSet", &self.outputStreamSet).field("idleTimeoutMs", &self.idleTimeoutMs).field("workingDirectory", &self.workingDirectory).field("variableSet", &self.variableSet).finish()
3409     }
3410 }
3411 #[cfg(feature = "Win32_Foundation")]
3412 impl ::std::cmp::PartialEq for WSMAN_SHELL_STARTUP_INFO_V10 {
eq(&self, other: &Self) -> bool3413     fn eq(&self, other: &Self) -> bool {
3414         self.inputStreamSet == other.inputStreamSet && self.outputStreamSet == other.outputStreamSet && self.idleTimeoutMs == other.idleTimeoutMs && self.workingDirectory == other.workingDirectory && self.variableSet == other.variableSet
3415     }
3416 }
3417 #[cfg(feature = "Win32_Foundation")]
3418 impl ::std::cmp::Eq for WSMAN_SHELL_STARTUP_INFO_V10 {}
3419 #[cfg(feature = "Win32_Foundation")]
3420 unsafe impl ::windows::runtime::Abi for WSMAN_SHELL_STARTUP_INFO_V10 {
3421     type Abi = Self;
3422     type DefaultType = Self;
3423 }
3424 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3425 #[repr(C)]
3426 #[cfg(feature = "Win32_Foundation")]
3427 pub struct WSMAN_SHELL_STARTUP_INFO_V11 {
3428     pub __AnonymousBase_wsman_L665_C48: WSMAN_SHELL_STARTUP_INFO_V10,
3429     pub name: super::super::Foundation::PWSTR,
3430 }
3431 #[cfg(feature = "Win32_Foundation")]
3432 impl WSMAN_SHELL_STARTUP_INFO_V11 {}
3433 #[cfg(feature = "Win32_Foundation")]
3434 impl ::std::default::Default for WSMAN_SHELL_STARTUP_INFO_V11 {
default() -> Self3435     fn default() -> Self {
3436         unsafe { ::std::mem::zeroed() }
3437     }
3438 }
3439 #[cfg(feature = "Win32_Foundation")]
3440 impl ::std::fmt::Debug for WSMAN_SHELL_STARTUP_INFO_V11 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3441     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3442         fmt.debug_struct("WSMAN_SHELL_STARTUP_INFO_V11").field("__AnonymousBase_wsman_L665_C48", &self.__AnonymousBase_wsman_L665_C48).field("name", &self.name).finish()
3443     }
3444 }
3445 #[cfg(feature = "Win32_Foundation")]
3446 impl ::std::cmp::PartialEq for WSMAN_SHELL_STARTUP_INFO_V11 {
eq(&self, other: &Self) -> bool3447     fn eq(&self, other: &Self) -> bool {
3448         self.__AnonymousBase_wsman_L665_C48 == other.__AnonymousBase_wsman_L665_C48 && self.name == other.name
3449     }
3450 }
3451 #[cfg(feature = "Win32_Foundation")]
3452 impl ::std::cmp::Eq for WSMAN_SHELL_STARTUP_INFO_V11 {}
3453 #[cfg(feature = "Win32_Foundation")]
3454 unsafe impl ::windows::runtime::Abi for WSMAN_SHELL_STARTUP_INFO_V11 {
3455     type Abi = Self;
3456     type DefaultType = Self;
3457 }
3458 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3459 #[repr(C)]
3460 #[cfg(feature = "Win32_Foundation")]
3461 pub struct WSMAN_STREAM_ID_SET {
3462     pub streamIDsCount: u32,
3463     pub streamIDs: *mut super::super::Foundation::PWSTR,
3464 }
3465 #[cfg(feature = "Win32_Foundation")]
3466 impl WSMAN_STREAM_ID_SET {}
3467 #[cfg(feature = "Win32_Foundation")]
3468 impl ::std::default::Default for WSMAN_STREAM_ID_SET {
default() -> Self3469     fn default() -> Self {
3470         unsafe { ::std::mem::zeroed() }
3471     }
3472 }
3473 #[cfg(feature = "Win32_Foundation")]
3474 impl ::std::fmt::Debug for WSMAN_STREAM_ID_SET {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3475     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3476         fmt.debug_struct("WSMAN_STREAM_ID_SET").field("streamIDsCount", &self.streamIDsCount).field("streamIDs", &self.streamIDs).finish()
3477     }
3478 }
3479 #[cfg(feature = "Win32_Foundation")]
3480 impl ::std::cmp::PartialEq for WSMAN_STREAM_ID_SET {
eq(&self, other: &Self) -> bool3481     fn eq(&self, other: &Self) -> bool {
3482         self.streamIDsCount == other.streamIDsCount && self.streamIDs == other.streamIDs
3483     }
3484 }
3485 #[cfg(feature = "Win32_Foundation")]
3486 impl ::std::cmp::Eq for WSMAN_STREAM_ID_SET {}
3487 #[cfg(feature = "Win32_Foundation")]
3488 unsafe impl ::windows::runtime::Abi for WSMAN_STREAM_ID_SET {
3489     type Abi = Self;
3490     type DefaultType = Self;
3491 }
3492 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3493 #[repr(C)]
3494 #[cfg(feature = "Win32_Foundation")]
3495 pub struct WSMAN_USERNAME_PASSWORD_CREDS {
3496     pub username: super::super::Foundation::PWSTR,
3497     pub password: super::super::Foundation::PWSTR,
3498 }
3499 #[cfg(feature = "Win32_Foundation")]
3500 impl WSMAN_USERNAME_PASSWORD_CREDS {}
3501 #[cfg(feature = "Win32_Foundation")]
3502 impl ::std::default::Default for WSMAN_USERNAME_PASSWORD_CREDS {
default() -> Self3503     fn default() -> Self {
3504         unsafe { ::std::mem::zeroed() }
3505     }
3506 }
3507 #[cfg(feature = "Win32_Foundation")]
3508 impl ::std::fmt::Debug for WSMAN_USERNAME_PASSWORD_CREDS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3509     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3510         fmt.debug_struct("WSMAN_USERNAME_PASSWORD_CREDS").field("username", &self.username).field("password", &self.password).finish()
3511     }
3512 }
3513 #[cfg(feature = "Win32_Foundation")]
3514 impl ::std::cmp::PartialEq for WSMAN_USERNAME_PASSWORD_CREDS {
eq(&self, other: &Self) -> bool3515     fn eq(&self, other: &Self) -> bool {
3516         self.username == other.username && self.password == other.password
3517     }
3518 }
3519 #[cfg(feature = "Win32_Foundation")]
3520 impl ::std::cmp::Eq for WSMAN_USERNAME_PASSWORD_CREDS {}
3521 #[cfg(feature = "Win32_Foundation")]
3522 unsafe impl ::windows::runtime::Abi for WSMAN_USERNAME_PASSWORD_CREDS {
3523     type Abi = Self;
3524     type DefaultType = Self;
3525 }
3526 pub const WSMan: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3169673595, 60419, 16907, [133, 8, 151, 125, 199, 166, 134, 189]);
3527 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3528 #[repr(transparent)]
3529 pub struct WSManAuthenticationFlags(pub i32);
3530 pub const WSMAN_FLAG_DEFAULT_AUTHENTICATION: WSManAuthenticationFlags = WSManAuthenticationFlags(0i32);
3531 pub const WSMAN_FLAG_NO_AUTHENTICATION: WSManAuthenticationFlags = WSManAuthenticationFlags(1i32);
3532 pub const WSMAN_FLAG_AUTH_DIGEST: WSManAuthenticationFlags = WSManAuthenticationFlags(2i32);
3533 pub const WSMAN_FLAG_AUTH_NEGOTIATE: WSManAuthenticationFlags = WSManAuthenticationFlags(4i32);
3534 pub const WSMAN_FLAG_AUTH_BASIC: WSManAuthenticationFlags = WSManAuthenticationFlags(8i32);
3535 pub const WSMAN_FLAG_AUTH_KERBEROS: WSManAuthenticationFlags = WSManAuthenticationFlags(16i32);
3536 pub const WSMAN_FLAG_AUTH_CREDSSP: WSManAuthenticationFlags = WSManAuthenticationFlags(128i32);
3537 pub const WSMAN_FLAG_AUTH_CLIENT_CERTIFICATE: WSManAuthenticationFlags = WSManAuthenticationFlags(32i32);
3538 impl ::std::convert::From<i32> for WSManAuthenticationFlags {
from(value: i32) -> Self3539     fn from(value: i32) -> Self {
3540         Self(value)
3541     }
3542 }
3543 unsafe impl ::windows::runtime::Abi for WSManAuthenticationFlags {
3544     type Abi = Self;
3545     type DefaultType = Self;
3546 }
3547 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3548 #[repr(transparent)]
3549 pub struct WSManCallbackFlags(pub i32);
3550 pub const WSMAN_FLAG_CALLBACK_END_OF_OPERATION: WSManCallbackFlags = WSManCallbackFlags(1i32);
3551 pub const WSMAN_FLAG_CALLBACK_END_OF_STREAM: WSManCallbackFlags = WSManCallbackFlags(8i32);
3552 pub const WSMAN_FLAG_CALLBACK_SHELL_SUPPORTS_DISCONNECT: WSManCallbackFlags = WSManCallbackFlags(32i32);
3553 pub const WSMAN_FLAG_CALLBACK_SHELL_AUTODISCONNECTED: WSManCallbackFlags = WSManCallbackFlags(64i32);
3554 pub const WSMAN_FLAG_CALLBACK_NETWORK_FAILURE_DETECTED: WSManCallbackFlags = WSManCallbackFlags(256i32);
3555 pub const WSMAN_FLAG_CALLBACK_RETRYING_AFTER_NETWORK_FAILURE: WSManCallbackFlags = WSManCallbackFlags(512i32);
3556 pub const WSMAN_FLAG_CALLBACK_RECONNECTED_AFTER_NETWORK_FAILURE: WSManCallbackFlags = WSManCallbackFlags(1024i32);
3557 pub const WSMAN_FLAG_CALLBACK_SHELL_AUTODISCONNECTING: WSManCallbackFlags = WSManCallbackFlags(2048i32);
3558 pub const WSMAN_FLAG_CALLBACK_RETRY_ABORTED_DUE_TO_INTERNAL_ERROR: WSManCallbackFlags = WSManCallbackFlags(4096i32);
3559 pub const WSMAN_FLAG_CALLBACK_RECEIVE_DELAY_STREAM_REQUEST_PROCESSED: WSManCallbackFlags = WSManCallbackFlags(8192i32);
3560 impl ::std::convert::From<i32> for WSManCallbackFlags {
from(value: i32) -> Self3561     fn from(value: i32) -> Self {
3562         Self(value)
3563     }
3564 }
3565 unsafe impl ::windows::runtime::Abi for WSManCallbackFlags {
3566     type Abi = Self;
3567     type DefaultType = Self;
3568 }
3569 #[cfg(feature = "Win32_Foundation")]
3570 #[inline]
WSManCloseCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const WSMAN_SHELL_ASYNC)3571 pub unsafe fn WSManCloseCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) {
3572     #[cfg(windows)]
3573     {
3574         #[link(name = "windows")]
3575         extern "system" {
3576             fn WSManCloseCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>);
3577         }
3578         ::std::mem::transmute(WSManCloseCommand(::std::mem::transmute(commandhandle), ::std::mem::transmute(flags), ::std::mem::transmute(r#async)))
3579     }
3580     #[cfg(not(windows))]
3581     unimplemented!("Unsupported target OS");
3582 }
3583 #[inline]
WSManCloseOperation(operationhandle: *mut WSMAN_OPERATION, flags: u32) -> u323584 pub unsafe fn WSManCloseOperation(operationhandle: *mut WSMAN_OPERATION, flags: u32) -> u32 {
3585     #[cfg(windows)]
3586     {
3587         #[link(name = "windows")]
3588         extern "system" {
3589             fn WSManCloseOperation(operationhandle: *mut WSMAN_OPERATION, flags: u32) -> u32;
3590         }
3591         ::std::mem::transmute(WSManCloseOperation(::std::mem::transmute(operationhandle), ::std::mem::transmute(flags)))
3592     }
3593     #[cfg(not(windows))]
3594     unimplemented!("Unsupported target OS");
3595 }
3596 #[inline]
WSManCloseSession(session: *mut WSMAN_SESSION, flags: u32) -> u323597 pub unsafe fn WSManCloseSession(session: *mut WSMAN_SESSION, flags: u32) -> u32 {
3598     #[cfg(windows)]
3599     {
3600         #[link(name = "windows")]
3601         extern "system" {
3602             fn WSManCloseSession(session: *mut WSMAN_SESSION, flags: u32) -> u32;
3603         }
3604         ::std::mem::transmute(WSManCloseSession(::std::mem::transmute(session), ::std::mem::transmute(flags)))
3605     }
3606     #[cfg(not(windows))]
3607     unimplemented!("Unsupported target OS");
3608 }
3609 #[cfg(feature = "Win32_Foundation")]
3610 #[inline]
WSManCloseShell(shellhandle: *mut WSMAN_SHELL, flags: u32, r#async: *const WSMAN_SHELL_ASYNC)3611 pub unsafe fn WSManCloseShell(shellhandle: *mut WSMAN_SHELL, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) {
3612     #[cfg(windows)]
3613     {
3614         #[link(name = "windows")]
3615         extern "system" {
3616             fn WSManCloseShell(shellhandle: *mut WSMAN_SHELL, flags: u32, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>);
3617         }
3618         ::std::mem::transmute(WSManCloseShell(::std::mem::transmute(shellhandle), ::std::mem::transmute(flags), ::std::mem::transmute(r#async)))
3619     }
3620     #[cfg(not(windows))]
3621     unimplemented!("Unsupported target OS");
3622 }
3623 #[cfg(feature = "Win32_Foundation")]
3624 #[inline]
WSManConnectShell<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(session: *mut WSMAN_SESSION, flags: u32, resourceuri: Param2, shellid: Param3, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL)3625 pub unsafe fn WSManConnectShell<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(session: *mut WSMAN_SESSION, flags: u32, resourceuri: Param2, shellid: Param3, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL) {
3626     #[cfg(windows)]
3627     {
3628         #[link(name = "windows")]
3629         extern "system" {
3630             fn WSManConnectShell(session: *mut WSMAN_SESSION, flags: u32, resourceuri: super::super::Foundation::PWSTR, shellid: super::super::Foundation::PWSTR, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, shell: *mut *mut WSMAN_SHELL);
3631         }
3632         ::std::mem::transmute(WSManConnectShell(::std::mem::transmute(session), ::std::mem::transmute(flags), resourceuri.into_param().abi(), shellid.into_param().abi(), ::std::mem::transmute(options), ::std::mem::transmute(connectxml), ::std::mem::transmute(r#async), ::std::mem::transmute(shell)))
3633     }
3634     #[cfg(not(windows))]
3635     unimplemented!("Unsupported target OS");
3636 }
3637 #[cfg(feature = "Win32_Foundation")]
3638 #[inline]
WSManConnectShellCommand<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *mut WSMAN_SHELL, flags: u32, commandid: Param2, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND)3639 pub unsafe fn WSManConnectShellCommand<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *mut WSMAN_SHELL, flags: u32, commandid: Param2, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND) {
3640     #[cfg(windows)]
3641     {
3642         #[link(name = "windows")]
3643         extern "system" {
3644             fn WSManConnectShellCommand(shell: *mut WSMAN_SHELL, flags: u32, commandid: super::super::Foundation::PWSTR, options: *const WSMAN_OPTION_SET, connectxml: *const WSMAN_DATA, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, command: *mut *mut WSMAN_COMMAND);
3645         }
3646         ::std::mem::transmute(WSManConnectShellCommand(::std::mem::transmute(shell), ::std::mem::transmute(flags), commandid.into_param().abi(), ::std::mem::transmute(options), ::std::mem::transmute(connectxml), ::std::mem::transmute(r#async), ::std::mem::transmute(command)))
3647     }
3648     #[cfg(not(windows))]
3649     unimplemented!("Unsupported target OS");
3650 }
3651 #[cfg(feature = "Win32_Foundation")]
3652 #[inline]
WSManCreateSession<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(apihandle: *const WSMAN_API, connection: Param1, flags: u32, serverauthenticationcredentials: *const WSMAN_AUTHENTICATION_CREDENTIALS, proxyinfo: *const WSMAN_PROXY_INFO, session: *mut *mut WSMAN_SESSION) -> u323653 pub unsafe fn WSManCreateSession<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(apihandle: *const WSMAN_API, connection: Param1, flags: u32, serverauthenticationcredentials: *const WSMAN_AUTHENTICATION_CREDENTIALS, proxyinfo: *const WSMAN_PROXY_INFO, session: *mut *mut WSMAN_SESSION) -> u32 {
3654     #[cfg(windows)]
3655     {
3656         #[link(name = "windows")]
3657         extern "system" {
3658             fn WSManCreateSession(apihandle: *const WSMAN_API, connection: super::super::Foundation::PWSTR, flags: u32, serverauthenticationcredentials: *const WSMAN_AUTHENTICATION_CREDENTIALS, proxyinfo: *const WSMAN_PROXY_INFO, session: *mut *mut WSMAN_SESSION) -> u32;
3659         }
3660         ::std::mem::transmute(WSManCreateSession(::std::mem::transmute(apihandle), connection.into_param().abi(), ::std::mem::transmute(flags), ::std::mem::transmute(serverauthenticationcredentials), ::std::mem::transmute(proxyinfo), ::std::mem::transmute(session)))
3661     }
3662     #[cfg(not(windows))]
3663     unimplemented!("Unsupported target OS");
3664 }
3665 #[cfg(feature = "Win32_Foundation")]
3666 #[inline]
WSManCreateShell<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(session: *mut WSMAN_SESSION, flags: u32, resourceuri: Param2, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL)3667 pub unsafe fn WSManCreateShell<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(session: *mut WSMAN_SESSION, flags: u32, resourceuri: Param2, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL) {
3668     #[cfg(windows)]
3669     {
3670         #[link(name = "windows")]
3671         extern "system" {
3672             fn WSManCreateShell(session: *mut WSMAN_SESSION, flags: u32, resourceuri: super::super::Foundation::PWSTR, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, shell: *mut *mut WSMAN_SHELL);
3673         }
3674         ::std::mem::transmute(WSManCreateShell(::std::mem::transmute(session), ::std::mem::transmute(flags), resourceuri.into_param().abi(), ::std::mem::transmute(startupinfo), ::std::mem::transmute(options), ::std::mem::transmute(createxml), ::std::mem::transmute(r#async), ::std::mem::transmute(shell)))
3675     }
3676     #[cfg(not(windows))]
3677     unimplemented!("Unsupported target OS");
3678 }
3679 #[cfg(feature = "Win32_Foundation")]
3680 #[inline]
WSManCreateShellEx<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(session: *mut WSMAN_SESSION, flags: u32, resourceuri: Param2, shellid: Param3, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL)3681 pub unsafe fn WSManCreateShellEx<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(session: *mut WSMAN_SESSION, flags: u32, resourceuri: Param2, shellid: Param3, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const WSMAN_SHELL_ASYNC, shell: *mut *mut WSMAN_SHELL) {
3682     #[cfg(windows)]
3683     {
3684         #[link(name = "windows")]
3685         extern "system" {
3686             fn WSManCreateShellEx(session: *mut WSMAN_SESSION, flags: u32, resourceuri: super::super::Foundation::PWSTR, shellid: super::super::Foundation::PWSTR, startupinfo: *const WSMAN_SHELL_STARTUP_INFO_V11, options: *const WSMAN_OPTION_SET, createxml: *const WSMAN_DATA, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, shell: *mut *mut WSMAN_SHELL);
3687         }
3688         ::std::mem::transmute(WSManCreateShellEx(
3689             ::std::mem::transmute(session),
3690             ::std::mem::transmute(flags),
3691             resourceuri.into_param().abi(),
3692             shellid.into_param().abi(),
3693             ::std::mem::transmute(startupinfo),
3694             ::std::mem::transmute(options),
3695             ::std::mem::transmute(createxml),
3696             ::std::mem::transmute(r#async),
3697             ::std::mem::transmute(shell),
3698         ))
3699     }
3700     #[cfg(not(windows))]
3701     unimplemented!("Unsupported target OS");
3702 }
3703 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3704 #[repr(transparent)]
3705 pub struct WSManDataType(pub i32);
3706 pub const WSMAN_DATA_NONE: WSManDataType = WSManDataType(0i32);
3707 pub const WSMAN_DATA_TYPE_TEXT: WSManDataType = WSManDataType(1i32);
3708 pub const WSMAN_DATA_TYPE_BINARY: WSManDataType = WSManDataType(2i32);
3709 pub const WSMAN_DATA_TYPE_DWORD: WSManDataType = WSManDataType(4i32);
3710 impl ::std::convert::From<i32> for WSManDataType {
from(value: i32) -> Self3711     fn from(value: i32) -> Self {
3712         Self(value)
3713     }
3714 }
3715 unsafe impl ::windows::runtime::Abi for WSManDataType {
3716     type Abi = Self;
3717     type DefaultType = Self;
3718 }
3719 #[inline]
WSManDeinitialize(apihandle: *mut WSMAN_API, flags: u32) -> u323720 pub unsafe fn WSManDeinitialize(apihandle: *mut WSMAN_API, flags: u32) -> u32 {
3721     #[cfg(windows)]
3722     {
3723         #[link(name = "windows")]
3724         extern "system" {
3725             fn WSManDeinitialize(apihandle: *mut WSMAN_API, flags: u32) -> u32;
3726         }
3727         ::std::mem::transmute(WSManDeinitialize(::std::mem::transmute(apihandle), ::std::mem::transmute(flags)))
3728     }
3729     #[cfg(not(windows))]
3730     unimplemented!("Unsupported target OS");
3731 }
3732 #[cfg(feature = "Win32_Foundation")]
3733 #[inline]
WSManDisconnectShell(shell: *mut WSMAN_SHELL, flags: u32, disconnectinfo: *const WSMAN_SHELL_DISCONNECT_INFO, r#async: *const WSMAN_SHELL_ASYNC)3734 pub unsafe fn WSManDisconnectShell(shell: *mut WSMAN_SHELL, flags: u32, disconnectinfo: *const WSMAN_SHELL_DISCONNECT_INFO, r#async: *const WSMAN_SHELL_ASYNC) {
3735     #[cfg(windows)]
3736     {
3737         #[link(name = "windows")]
3738         extern "system" {
3739             fn WSManDisconnectShell(shell: *mut WSMAN_SHELL, flags: u32, disconnectinfo: *const WSMAN_SHELL_DISCONNECT_INFO, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>);
3740         }
3741         ::std::mem::transmute(WSManDisconnectShell(::std::mem::transmute(shell), ::std::mem::transmute(flags), ::std::mem::transmute(disconnectinfo), ::std::mem::transmute(r#async)))
3742     }
3743     #[cfg(not(windows))]
3744     unimplemented!("Unsupported target OS");
3745 }
3746 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3747 #[repr(transparent)]
3748 pub struct WSManEnumFlags(pub i32);
3749 pub const WSManFlagNonXmlText: WSManEnumFlags = WSManEnumFlags(1i32);
3750 pub const WSManFlagReturnObject: WSManEnumFlags = WSManEnumFlags(0i32);
3751 pub const WSManFlagReturnEPR: WSManEnumFlags = WSManEnumFlags(2i32);
3752 pub const WSManFlagReturnObjectAndEPR: WSManEnumFlags = WSManEnumFlags(4i32);
3753 pub const WSManFlagHierarchyDeep: WSManEnumFlags = WSManEnumFlags(0i32);
3754 pub const WSManFlagHierarchyShallow: WSManEnumFlags = WSManEnumFlags(32i32);
3755 pub const WSManFlagHierarchyDeepBasePropsOnly: WSManEnumFlags = WSManEnumFlags(64i32);
3756 pub const WSManFlagAssociatedInstance: WSManEnumFlags = WSManEnumFlags(0i32);
3757 pub const WSManFlagAssociationInstance: WSManEnumFlags = WSManEnumFlags(128i32);
3758 impl ::std::convert::From<i32> for WSManEnumFlags {
from(value: i32) -> Self3759     fn from(value: i32) -> Self {
3760         Self(value)
3761     }
3762 }
3763 unsafe impl ::windows::runtime::Abi for WSManEnumFlags {
3764     type Abi = Self;
3765     type DefaultType = Self;
3766 }
3767 #[cfg(feature = "Win32_Foundation")]
3768 #[inline]
WSManGetErrorMessage<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(apihandle: *const WSMAN_API, flags: u32, languagecode: Param2, errorcode: u32, messagelength: u32, message: super::super::Foundation::PWSTR, messagelengthused: *mut u32) -> u323769 pub unsafe fn WSManGetErrorMessage<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(apihandle: *const WSMAN_API, flags: u32, languagecode: Param2, errorcode: u32, messagelength: u32, message: super::super::Foundation::PWSTR, messagelengthused: *mut u32) -> u32 {
3770     #[cfg(windows)]
3771     {
3772         #[link(name = "windows")]
3773         extern "system" {
3774             fn WSManGetErrorMessage(apihandle: *const WSMAN_API, flags: u32, languagecode: super::super::Foundation::PWSTR, errorcode: u32, messagelength: u32, message: super::super::Foundation::PWSTR, messagelengthused: *mut u32) -> u32;
3775         }
3776         ::std::mem::transmute(WSManGetErrorMessage(::std::mem::transmute(apihandle), ::std::mem::transmute(flags), languagecode.into_param().abi(), ::std::mem::transmute(errorcode), ::std::mem::transmute(messagelength), ::std::mem::transmute(message), ::std::mem::transmute(messagelengthused)))
3777     }
3778     #[cfg(not(windows))]
3779     unimplemented!("Unsupported target OS");
3780 }
3781 #[inline]
WSManGetSessionOptionAsDword(session: *const WSMAN_SESSION, option: WSManSessionOption, value: *mut u32) -> u323782 pub unsafe fn WSManGetSessionOptionAsDword(session: *const WSMAN_SESSION, option: WSManSessionOption, value: *mut u32) -> u32 {
3783     #[cfg(windows)]
3784     {
3785         #[link(name = "windows")]
3786         extern "system" {
3787             fn WSManGetSessionOptionAsDword(session: *const WSMAN_SESSION, option: WSManSessionOption, value: *mut u32) -> u32;
3788         }
3789         ::std::mem::transmute(WSManGetSessionOptionAsDword(::std::mem::transmute(session), ::std::mem::transmute(option), ::std::mem::transmute(value)))
3790     }
3791     #[cfg(not(windows))]
3792     unimplemented!("Unsupported target OS");
3793 }
3794 #[cfg(feature = "Win32_Foundation")]
3795 #[inline]
WSManGetSessionOptionAsString(session: *const WSMAN_SESSION, option: WSManSessionOption, stringlength: u32, string: super::super::Foundation::PWSTR, stringlengthused: *mut u32) -> u323796 pub unsafe fn WSManGetSessionOptionAsString(session: *const WSMAN_SESSION, option: WSManSessionOption, stringlength: u32, string: super::super::Foundation::PWSTR, stringlengthused: *mut u32) -> u32 {
3797     #[cfg(windows)]
3798     {
3799         #[link(name = "windows")]
3800         extern "system" {
3801             fn WSManGetSessionOptionAsString(session: *const WSMAN_SESSION, option: WSManSessionOption, stringlength: u32, string: super::super::Foundation::PWSTR, stringlengthused: *mut u32) -> u32;
3802         }
3803         ::std::mem::transmute(WSManGetSessionOptionAsString(::std::mem::transmute(session), ::std::mem::transmute(option), ::std::mem::transmute(stringlength), ::std::mem::transmute(string), ::std::mem::transmute(stringlengthused)))
3804     }
3805     #[cfg(not(windows))]
3806     unimplemented!("Unsupported target OS");
3807 }
3808 #[inline]
WSManInitialize(flags: u32, apihandle: *mut *mut WSMAN_API) -> u323809 pub unsafe fn WSManInitialize(flags: u32, apihandle: *mut *mut WSMAN_API) -> u32 {
3810     #[cfg(windows)]
3811     {
3812         #[link(name = "windows")]
3813         extern "system" {
3814             fn WSManInitialize(flags: u32, apihandle: *mut *mut WSMAN_API) -> u32;
3815         }
3816         ::std::mem::transmute(WSManInitialize(::std::mem::transmute(flags), ::std::mem::transmute(apihandle)))
3817     }
3818     #[cfg(not(windows))]
3819     unimplemented!("Unsupported target OS");
3820 }
3821 pub const WSManInternal: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2111866789, 24011, 19959, [187, 18, 9, 36, 173, 143, 189, 154]);
3822 #[cfg(feature = "Win32_Foundation")]
3823 #[inline]
WSManPluginAuthzOperationComplete<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::std::ffi::c_void, errorcode: u32, extendederrorinformation: Param4) -> u323824 pub unsafe fn WSManPluginAuthzOperationComplete<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::std::ffi::c_void, errorcode: u32, extendederrorinformation: Param4) -> u32 {
3825     #[cfg(windows)]
3826     {
3827         #[link(name = "windows")]
3828         extern "system" {
3829             fn WSManPluginAuthzOperationComplete(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::std::ffi::c_void, errorcode: u32, extendederrorinformation: super::super::Foundation::PWSTR) -> u32;
3830         }
3831         ::std::mem::transmute(WSManPluginAuthzOperationComplete(::std::mem::transmute(senderdetails), ::std::mem::transmute(flags), ::std::mem::transmute(userauthorizationcontext), ::std::mem::transmute(errorcode), extendederrorinformation.into_param().abi()))
3832     }
3833     #[cfg(not(windows))]
3834     unimplemented!("Unsupported target OS");
3835 }
3836 #[cfg(feature = "Win32_Foundation")]
3837 #[inline]
WSManPluginAuthzQueryQuotaComplete<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, quota: *const WSMAN_AUTHZ_QUOTA, errorcode: u32, extendederrorinformation: Param4) -> u323838 pub unsafe fn WSManPluginAuthzQueryQuotaComplete<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, quota: *const WSMAN_AUTHZ_QUOTA, errorcode: u32, extendederrorinformation: Param4) -> u32 {
3839     #[cfg(windows)]
3840     {
3841         #[link(name = "windows")]
3842         extern "system" {
3843             fn WSManPluginAuthzQueryQuotaComplete(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, quota: *const WSMAN_AUTHZ_QUOTA, errorcode: u32, extendederrorinformation: super::super::Foundation::PWSTR) -> u32;
3844         }
3845         ::std::mem::transmute(WSManPluginAuthzQueryQuotaComplete(::std::mem::transmute(senderdetails), ::std::mem::transmute(flags), ::std::mem::transmute(quota), ::std::mem::transmute(errorcode), extendederrorinformation.into_param().abi()))
3846     }
3847     #[cfg(not(windows))]
3848     unimplemented!("Unsupported target OS");
3849 }
3850 #[cfg(feature = "Win32_Foundation")]
3851 #[inline]
WSManPluginAuthzUserComplete<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::std::ffi::c_void, impersonationtoken: Param3, userisadministrator: Param4, errorcode: u32, extendederrorinformation: Param6) -> u323852 pub unsafe fn WSManPluginAuthzUserComplete<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::std::ffi::c_void, impersonationtoken: Param3, userisadministrator: Param4, errorcode: u32, extendederrorinformation: Param6) -> u32 {
3853     #[cfg(windows)]
3854     {
3855         #[link(name = "windows")]
3856         extern "system" {
3857             fn WSManPluginAuthzUserComplete(senderdetails: *const WSMAN_SENDER_DETAILS, flags: u32, userauthorizationcontext: *const ::std::ffi::c_void, impersonationtoken: super::super::Foundation::HANDLE, userisadministrator: super::super::Foundation::BOOL, errorcode: u32, extendederrorinformation: super::super::Foundation::PWSTR) -> u32;
3858         }
3859         ::std::mem::transmute(WSManPluginAuthzUserComplete(
3860             ::std::mem::transmute(senderdetails),
3861             ::std::mem::transmute(flags),
3862             ::std::mem::transmute(userauthorizationcontext),
3863             impersonationtoken.into_param().abi(),
3864             userisadministrator.into_param().abi(),
3865             ::std::mem::transmute(errorcode),
3866             extendederrorinformation.into_param().abi(),
3867         ))
3868     }
3869     #[cfg(not(windows))]
3870     unimplemented!("Unsupported target OS");
3871 }
3872 #[cfg(feature = "Win32_Foundation")]
3873 #[inline]
WSManPluginFreeRequestDetails(requestdetails: *const WSMAN_PLUGIN_REQUEST) -> u323874 pub unsafe fn WSManPluginFreeRequestDetails(requestdetails: *const WSMAN_PLUGIN_REQUEST) -> u32 {
3875     #[cfg(windows)]
3876     {
3877         #[link(name = "windows")]
3878         extern "system" {
3879             fn WSManPluginFreeRequestDetails(requestdetails: *const WSMAN_PLUGIN_REQUEST) -> u32;
3880         }
3881         ::std::mem::transmute(WSManPluginFreeRequestDetails(::std::mem::transmute(requestdetails)))
3882     }
3883     #[cfg(not(windows))]
3884     unimplemented!("Unsupported target OS");
3885 }
3886 #[cfg(feature = "Win32_Foundation")]
3887 #[inline]
WSManPluginGetConfiguration(plugincontext: *const ::std::ffi::c_void, flags: u32, data: *mut WSMAN_DATA) -> u323888 pub unsafe fn WSManPluginGetConfiguration(plugincontext: *const ::std::ffi::c_void, flags: u32, data: *mut WSMAN_DATA) -> u32 {
3889     #[cfg(windows)]
3890     {
3891         #[link(name = "windows")]
3892         extern "system" {
3893             fn WSManPluginGetConfiguration(plugincontext: *const ::std::ffi::c_void, flags: u32, data: *mut WSMAN_DATA) -> u32;
3894         }
3895         ::std::mem::transmute(WSManPluginGetConfiguration(::std::mem::transmute(plugincontext), ::std::mem::transmute(flags), ::std::mem::transmute(data)))
3896     }
3897     #[cfg(not(windows))]
3898     unimplemented!("Unsupported target OS");
3899 }
3900 #[cfg(feature = "Win32_Foundation")]
3901 #[inline]
WSManPluginGetOperationParameters(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, data: *mut WSMAN_DATA) -> u323902 pub unsafe fn WSManPluginGetOperationParameters(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, data: *mut WSMAN_DATA) -> u32 {
3903     #[cfg(windows)]
3904     {
3905         #[link(name = "windows")]
3906         extern "system" {
3907             fn WSManPluginGetOperationParameters(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, data: *mut WSMAN_DATA) -> u32;
3908         }
3909         ::std::mem::transmute(WSManPluginGetOperationParameters(::std::mem::transmute(requestdetails), ::std::mem::transmute(flags), ::std::mem::transmute(data)))
3910     }
3911     #[cfg(not(windows))]
3912     unimplemented!("Unsupported target OS");
3913 }
3914 #[cfg(feature = "Win32_Foundation")]
3915 #[inline]
WSManPluginOperationComplete<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, errorcode: u32, extendedinformation: Param3) -> u323916 pub unsafe fn WSManPluginOperationComplete<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, errorcode: u32, extendedinformation: Param3) -> u32 {
3917     #[cfg(windows)]
3918     {
3919         #[link(name = "windows")]
3920         extern "system" {
3921             fn WSManPluginOperationComplete(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, errorcode: u32, extendedinformation: super::super::Foundation::PWSTR) -> u32;
3922         }
3923         ::std::mem::transmute(WSManPluginOperationComplete(::std::mem::transmute(requestdetails), ::std::mem::transmute(flags), ::std::mem::transmute(errorcode), extendedinformation.into_param().abi()))
3924     }
3925     #[cfg(not(windows))]
3926     unimplemented!("Unsupported target OS");
3927 }
3928 #[cfg(feature = "Win32_Foundation")]
3929 #[inline]
WSManPluginReceiveResult<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, stream: Param2, streamresult: *const WSMAN_DATA, commandstate: Param4, exitcode: u32) -> u323930 pub unsafe fn WSManPluginReceiveResult<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, stream: Param2, streamresult: *const WSMAN_DATA, commandstate: Param4, exitcode: u32) -> u32 {
3931     #[cfg(windows)]
3932     {
3933         #[link(name = "windows")]
3934         extern "system" {
3935             fn WSManPluginReceiveResult(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, stream: super::super::Foundation::PWSTR, streamresult: *const WSMAN_DATA, commandstate: super::super::Foundation::PWSTR, exitcode: u32) -> u32;
3936         }
3937         ::std::mem::transmute(WSManPluginReceiveResult(::std::mem::transmute(requestdetails), ::std::mem::transmute(flags), stream.into_param().abi(), ::std::mem::transmute(streamresult), commandstate.into_param().abi(), ::std::mem::transmute(exitcode)))
3938     }
3939     #[cfg(not(windows))]
3940     unimplemented!("Unsupported target OS");
3941 }
3942 #[inline]
WSManPluginReportCompletion(plugincontext: *const ::std::ffi::c_void, flags: u32) -> u323943 pub unsafe fn WSManPluginReportCompletion(plugincontext: *const ::std::ffi::c_void, flags: u32) -> u32 {
3944     #[cfg(windows)]
3945     {
3946         #[link(name = "windows")]
3947         extern "system" {
3948             fn WSManPluginReportCompletion(plugincontext: *const ::std::ffi::c_void, flags: u32) -> u32;
3949         }
3950         ::std::mem::transmute(WSManPluginReportCompletion(::std::mem::transmute(plugincontext), ::std::mem::transmute(flags)))
3951     }
3952     #[cfg(not(windows))]
3953     unimplemented!("Unsupported target OS");
3954 }
3955 #[cfg(feature = "Win32_Foundation")]
3956 #[inline]
WSManPluginReportContext(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, context: *const ::std::ffi::c_void) -> u323957 pub unsafe fn WSManPluginReportContext(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, context: *const ::std::ffi::c_void) -> u32 {
3958     #[cfg(windows)]
3959     {
3960         #[link(name = "windows")]
3961         extern "system" {
3962             fn WSManPluginReportContext(requestdetails: *const WSMAN_PLUGIN_REQUEST, flags: u32, context: *const ::std::ffi::c_void) -> u32;
3963         }
3964         ::std::mem::transmute(WSManPluginReportContext(::std::mem::transmute(requestdetails), ::std::mem::transmute(flags), ::std::mem::transmute(context)))
3965     }
3966     #[cfg(not(windows))]
3967     unimplemented!("Unsupported target OS");
3968 }
3969 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3970 #[repr(transparent)]
3971 pub struct WSManProxyAccessType(pub i32);
3972 pub const WSMAN_OPTION_PROXY_IE_PROXY_CONFIG: WSManProxyAccessType = WSManProxyAccessType(1i32);
3973 pub const WSMAN_OPTION_PROXY_WINHTTP_PROXY_CONFIG: WSManProxyAccessType = WSManProxyAccessType(2i32);
3974 pub const WSMAN_OPTION_PROXY_AUTO_DETECT: WSManProxyAccessType = WSManProxyAccessType(4i32);
3975 pub const WSMAN_OPTION_PROXY_NO_PROXY_SERVER: WSManProxyAccessType = WSManProxyAccessType(8i32);
3976 impl ::std::convert::From<i32> for WSManProxyAccessType {
from(value: i32) -> Self3977     fn from(value: i32) -> Self {
3978         Self(value)
3979     }
3980 }
3981 unsafe impl ::windows::runtime::Abi for WSManProxyAccessType {
3982     type Abi = Self;
3983     type DefaultType = Self;
3984 }
3985 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3986 #[repr(transparent)]
3987 pub struct WSManProxyAccessTypeFlags(pub i32);
3988 pub const WSManProxyIEConfig: WSManProxyAccessTypeFlags = WSManProxyAccessTypeFlags(1i32);
3989 pub const WSManProxyWinHttpConfig: WSManProxyAccessTypeFlags = WSManProxyAccessTypeFlags(2i32);
3990 pub const WSManProxyAutoDetect: WSManProxyAccessTypeFlags = WSManProxyAccessTypeFlags(4i32);
3991 pub const WSManProxyNoProxyServer: WSManProxyAccessTypeFlags = WSManProxyAccessTypeFlags(8i32);
3992 impl ::std::convert::From<i32> for WSManProxyAccessTypeFlags {
from(value: i32) -> Self3993     fn from(value: i32) -> Self {
3994         Self(value)
3995     }
3996 }
3997 unsafe impl ::windows::runtime::Abi for WSManProxyAccessTypeFlags {
3998     type Abi = Self;
3999     type DefaultType = Self;
4000 }
4001 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4002 #[repr(transparent)]
4003 pub struct WSManProxyAuthenticationFlags(pub i32);
4004 pub const WSManFlagProxyAuthenticationUseNegotiate: WSManProxyAuthenticationFlags = WSManProxyAuthenticationFlags(1i32);
4005 pub const WSManFlagProxyAuthenticationUseBasic: WSManProxyAuthenticationFlags = WSManProxyAuthenticationFlags(2i32);
4006 pub const WSManFlagProxyAuthenticationUseDigest: WSManProxyAuthenticationFlags = WSManProxyAuthenticationFlags(4i32);
4007 impl ::std::convert::From<i32> for WSManProxyAuthenticationFlags {
from(value: i32) -> Self4008     fn from(value: i32) -> Self {
4009         Self(value)
4010     }
4011 }
4012 unsafe impl ::windows::runtime::Abi for WSManProxyAuthenticationFlags {
4013     type Abi = Self;
4014     type DefaultType = Self;
4015 }
4016 #[cfg(feature = "Win32_Foundation")]
4017 #[inline]
WSManReceiveShellOutput(shell: *mut WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, desiredstreamset: *const WSMAN_STREAM_ID_SET, r#async: *const WSMAN_SHELL_ASYNC, receiveoperation: *mut *mut WSMAN_OPERATION)4018 pub unsafe fn WSManReceiveShellOutput(shell: *mut WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, desiredstreamset: *const WSMAN_STREAM_ID_SET, r#async: *const WSMAN_SHELL_ASYNC, receiveoperation: *mut *mut WSMAN_OPERATION) {
4019     #[cfg(windows)]
4020     {
4021         #[link(name = "windows")]
4022         extern "system" {
4023             fn WSManReceiveShellOutput(shell: *mut WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, desiredstreamset: *const WSMAN_STREAM_ID_SET, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, receiveoperation: *mut *mut WSMAN_OPERATION);
4024         }
4025         ::std::mem::transmute(WSManReceiveShellOutput(::std::mem::transmute(shell), ::std::mem::transmute(command), ::std::mem::transmute(flags), ::std::mem::transmute(desiredstreamset), ::std::mem::transmute(r#async), ::std::mem::transmute(receiveoperation)))
4026     }
4027     #[cfg(not(windows))]
4028     unimplemented!("Unsupported target OS");
4029 }
4030 #[cfg(feature = "Win32_Foundation")]
4031 #[inline]
WSManReconnectShell(shell: *mut WSMAN_SHELL, flags: u32, r#async: *const WSMAN_SHELL_ASYNC)4032 pub unsafe fn WSManReconnectShell(shell: *mut WSMAN_SHELL, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) {
4033     #[cfg(windows)]
4034     {
4035         #[link(name = "windows")]
4036         extern "system" {
4037             fn WSManReconnectShell(shell: *mut WSMAN_SHELL, flags: u32, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>);
4038         }
4039         ::std::mem::transmute(WSManReconnectShell(::std::mem::transmute(shell), ::std::mem::transmute(flags), ::std::mem::transmute(r#async)))
4040     }
4041     #[cfg(not(windows))]
4042     unimplemented!("Unsupported target OS");
4043 }
4044 #[cfg(feature = "Win32_Foundation")]
4045 #[inline]
WSManReconnectShellCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const WSMAN_SHELL_ASYNC)4046 pub unsafe fn WSManReconnectShellCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const WSMAN_SHELL_ASYNC) {
4047     #[cfg(windows)]
4048     {
4049         #[link(name = "windows")]
4050         extern "system" {
4051             fn WSManReconnectShellCommand(commandhandle: *mut WSMAN_COMMAND, flags: u32, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>);
4052         }
4053         ::std::mem::transmute(WSManReconnectShellCommand(::std::mem::transmute(commandhandle), ::std::mem::transmute(flags), ::std::mem::transmute(r#async)))
4054     }
4055     #[cfg(not(windows))]
4056     unimplemented!("Unsupported target OS");
4057 }
4058 #[cfg(feature = "Win32_Foundation")]
4059 #[inline]
WSManRunShellCommand<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *mut WSMAN_SHELL, flags: u32, commandline: Param2, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND)4060 pub unsafe fn WSManRunShellCommand<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *mut WSMAN_SHELL, flags: u32, commandline: Param2, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND) {
4061     #[cfg(windows)]
4062     {
4063         #[link(name = "windows")]
4064         extern "system" {
4065             fn WSManRunShellCommand(shell: *mut WSMAN_SHELL, flags: u32, commandline: super::super::Foundation::PWSTR, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, command: *mut *mut WSMAN_COMMAND);
4066         }
4067         ::std::mem::transmute(WSManRunShellCommand(::std::mem::transmute(shell), ::std::mem::transmute(flags), commandline.into_param().abi(), ::std::mem::transmute(args), ::std::mem::transmute(options), ::std::mem::transmute(r#async), ::std::mem::transmute(command)))
4068     }
4069     #[cfg(not(windows))]
4070     unimplemented!("Unsupported target OS");
4071 }
4072 #[cfg(feature = "Win32_Foundation")]
4073 #[inline]
WSManRunShellCommandEx<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *mut WSMAN_SHELL, flags: u32, commandid: Param2, commandline: Param3, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND)4074 pub unsafe fn WSManRunShellCommandEx<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *mut WSMAN_SHELL, flags: u32, commandid: Param2, commandline: Param3, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const WSMAN_SHELL_ASYNC, command: *mut *mut WSMAN_COMMAND) {
4075     #[cfg(windows)]
4076     {
4077         #[link(name = "windows")]
4078         extern "system" {
4079             fn WSManRunShellCommandEx(shell: *mut WSMAN_SHELL, flags: u32, commandid: super::super::Foundation::PWSTR, commandline: super::super::Foundation::PWSTR, args: *const WSMAN_COMMAND_ARG_SET, options: *const WSMAN_OPTION_SET, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, command: *mut *mut WSMAN_COMMAND);
4080         }
4081         ::std::mem::transmute(WSManRunShellCommandEx(::std::mem::transmute(shell), ::std::mem::transmute(flags), commandid.into_param().abi(), commandline.into_param().abi(), ::std::mem::transmute(args), ::std::mem::transmute(options), ::std::mem::transmute(r#async), ::std::mem::transmute(command)))
4082     }
4083     #[cfg(not(windows))]
4084     unimplemented!("Unsupported target OS");
4085 }
4086 #[cfg(feature = "Win32_Foundation")]
4087 #[inline]
WSManSendShellInput<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, streamid: Param3, streamdata: *const WSMAN_DATA, endofstream: Param5, r#async: *const WSMAN_SHELL_ASYNC, sendoperation: *mut *mut WSMAN_OPERATION)4088 pub unsafe fn WSManSendShellInput<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, streamid: Param3, streamdata: *const WSMAN_DATA, endofstream: Param5, r#async: *const WSMAN_SHELL_ASYNC, sendoperation: *mut *mut WSMAN_OPERATION) {
4089     #[cfg(windows)]
4090     {
4091         #[link(name = "windows")]
4092         extern "system" {
4093             fn WSManSendShellInput(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, streamid: super::super::Foundation::PWSTR, streamdata: *const WSMAN_DATA, endofstream: super::super::Foundation::BOOL, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, sendoperation: *mut *mut WSMAN_OPERATION);
4094         }
4095         ::std::mem::transmute(WSManSendShellInput(::std::mem::transmute(shell), ::std::mem::transmute(command), ::std::mem::transmute(flags), streamid.into_param().abi(), ::std::mem::transmute(streamdata), endofstream.into_param().abi(), ::std::mem::transmute(r#async), ::std::mem::transmute(sendoperation)))
4096     }
4097     #[cfg(not(windows))]
4098     unimplemented!("Unsupported target OS");
4099 }
4100 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4101 #[repr(transparent)]
4102 pub struct WSManSessionFlags(pub i32);
4103 pub const WSManFlagUTF8: WSManSessionFlags = WSManSessionFlags(1i32);
4104 pub const WSManFlagCredUsernamePassword: WSManSessionFlags = WSManSessionFlags(4096i32);
4105 pub const WSManFlagSkipCACheck: WSManSessionFlags = WSManSessionFlags(8192i32);
4106 pub const WSManFlagSkipCNCheck: WSManSessionFlags = WSManSessionFlags(16384i32);
4107 pub const WSManFlagUseNoAuthentication: WSManSessionFlags = WSManSessionFlags(32768i32);
4108 pub const WSManFlagUseDigest: WSManSessionFlags = WSManSessionFlags(65536i32);
4109 pub const WSManFlagUseNegotiate: WSManSessionFlags = WSManSessionFlags(131072i32);
4110 pub const WSManFlagUseBasic: WSManSessionFlags = WSManSessionFlags(262144i32);
4111 pub const WSManFlagUseKerberos: WSManSessionFlags = WSManSessionFlags(524288i32);
4112 pub const WSManFlagNoEncryption: WSManSessionFlags = WSManSessionFlags(1048576i32);
4113 pub const WSManFlagUseClientCertificate: WSManSessionFlags = WSManSessionFlags(2097152i32);
4114 pub const WSManFlagEnableSPNServerPort: WSManSessionFlags = WSManSessionFlags(4194304i32);
4115 pub const WSManFlagUTF16: WSManSessionFlags = WSManSessionFlags(8388608i32);
4116 pub const WSManFlagUseCredSsp: WSManSessionFlags = WSManSessionFlags(16777216i32);
4117 pub const WSManFlagSkipRevocationCheck: WSManSessionFlags = WSManSessionFlags(33554432i32);
4118 pub const WSManFlagAllowNegotiateImplicitCredentials: WSManSessionFlags = WSManSessionFlags(67108864i32);
4119 pub const WSManFlagUseSsl: WSManSessionFlags = WSManSessionFlags(134217728i32);
4120 impl ::std::convert::From<i32> for WSManSessionFlags {
from(value: i32) -> Self4121     fn from(value: i32) -> Self {
4122         Self(value)
4123     }
4124 }
4125 unsafe impl ::windows::runtime::Abi for WSManSessionFlags {
4126     type Abi = Self;
4127     type DefaultType = Self;
4128 }
4129 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4130 #[repr(transparent)]
4131 pub struct WSManSessionOption(pub i32);
4132 pub const WSMAN_OPTION_DEFAULT_OPERATION_TIMEOUTMS: WSManSessionOption = WSManSessionOption(1i32);
4133 pub const WSMAN_OPTION_MAX_RETRY_TIME: WSManSessionOption = WSManSessionOption(11i32);
4134 pub const WSMAN_OPTION_TIMEOUTMS_CREATE_SHELL: WSManSessionOption = WSManSessionOption(12i32);
4135 pub const WSMAN_OPTION_TIMEOUTMS_RUN_SHELL_COMMAND: WSManSessionOption = WSManSessionOption(13i32);
4136 pub const WSMAN_OPTION_TIMEOUTMS_RECEIVE_SHELL_OUTPUT: WSManSessionOption = WSManSessionOption(14i32);
4137 pub const WSMAN_OPTION_TIMEOUTMS_SEND_SHELL_INPUT: WSManSessionOption = WSManSessionOption(15i32);
4138 pub const WSMAN_OPTION_TIMEOUTMS_SIGNAL_SHELL: WSManSessionOption = WSManSessionOption(16i32);
4139 pub const WSMAN_OPTION_TIMEOUTMS_CLOSE_SHELL: WSManSessionOption = WSManSessionOption(17i32);
4140 pub const WSMAN_OPTION_SKIP_CA_CHECK: WSManSessionOption = WSManSessionOption(18i32);
4141 pub const WSMAN_OPTION_SKIP_CN_CHECK: WSManSessionOption = WSManSessionOption(19i32);
4142 pub const WSMAN_OPTION_UNENCRYPTED_MESSAGES: WSManSessionOption = WSManSessionOption(20i32);
4143 pub const WSMAN_OPTION_UTF16: WSManSessionOption = WSManSessionOption(21i32);
4144 pub const WSMAN_OPTION_ENABLE_SPN_SERVER_PORT: WSManSessionOption = WSManSessionOption(22i32);
4145 pub const WSMAN_OPTION_MACHINE_ID: WSManSessionOption = WSManSessionOption(23i32);
4146 pub const WSMAN_OPTION_LOCALE: WSManSessionOption = WSManSessionOption(25i32);
4147 pub const WSMAN_OPTION_UI_LANGUAGE: WSManSessionOption = WSManSessionOption(26i32);
4148 pub const WSMAN_OPTION_MAX_ENVELOPE_SIZE_KB: WSManSessionOption = WSManSessionOption(28i32);
4149 pub const WSMAN_OPTION_SHELL_MAX_DATA_SIZE_PER_MESSAGE_KB: WSManSessionOption = WSManSessionOption(29i32);
4150 pub const WSMAN_OPTION_REDIRECT_LOCATION: WSManSessionOption = WSManSessionOption(30i32);
4151 pub const WSMAN_OPTION_SKIP_REVOCATION_CHECK: WSManSessionOption = WSManSessionOption(31i32);
4152 pub const WSMAN_OPTION_ALLOW_NEGOTIATE_IMPLICIT_CREDENTIALS: WSManSessionOption = WSManSessionOption(32i32);
4153 pub const WSMAN_OPTION_USE_SSL: WSManSessionOption = WSManSessionOption(33i32);
4154 pub const WSMAN_OPTION_USE_INTEARACTIVE_TOKEN: WSManSessionOption = WSManSessionOption(34i32);
4155 impl ::std::convert::From<i32> for WSManSessionOption {
from(value: i32) -> Self4156     fn from(value: i32) -> Self {
4157         Self(value)
4158     }
4159 }
4160 unsafe impl ::windows::runtime::Abi for WSManSessionOption {
4161     type Abi = Self;
4162     type DefaultType = Self;
4163 }
4164 #[cfg(feature = "Win32_Foundation")]
4165 #[inline]
WSManSetSessionOption(session: *const WSMAN_SESSION, option: WSManSessionOption, data: *const WSMAN_DATA) -> u324166 pub unsafe fn WSManSetSessionOption(session: *const WSMAN_SESSION, option: WSManSessionOption, data: *const WSMAN_DATA) -> u32 {
4167     #[cfg(windows)]
4168     {
4169         #[link(name = "windows")]
4170         extern "system" {
4171             fn WSManSetSessionOption(session: *const WSMAN_SESSION, option: WSManSessionOption, data: *const WSMAN_DATA) -> u32;
4172         }
4173         ::std::mem::transmute(WSManSetSessionOption(::std::mem::transmute(session), ::std::mem::transmute(option), ::std::mem::transmute(data)))
4174     }
4175     #[cfg(not(windows))]
4176     unimplemented!("Unsupported target OS");
4177 }
4178 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4179 #[repr(transparent)]
4180 pub struct WSManShellFlag(pub i32);
4181 pub const WSMAN_FLAG_NO_COMPRESSION: WSManShellFlag = WSManShellFlag(1i32);
4182 pub const WSMAN_FLAG_DELETE_SERVER_SESSION: WSManShellFlag = WSManShellFlag(2i32);
4183 pub const WSMAN_FLAG_SERVER_BUFFERING_MODE_DROP: WSManShellFlag = WSManShellFlag(4i32);
4184 pub const WSMAN_FLAG_SERVER_BUFFERING_MODE_BLOCK: WSManShellFlag = WSManShellFlag(8i32);
4185 pub const WSMAN_FLAG_RECEIVE_DELAY_OUTPUT_STREAM: WSManShellFlag = WSManShellFlag(16i32);
4186 impl ::std::convert::From<i32> for WSManShellFlag {
from(value: i32) -> Self4187     fn from(value: i32) -> Self {
4188         Self(value)
4189     }
4190 }
4191 unsafe impl ::windows::runtime::Abi for WSManShellFlag {
4192     type Abi = Self;
4193     type DefaultType = Self;
4194 }
4195 #[cfg(feature = "Win32_Foundation")]
4196 #[inline]
WSManSignalShell<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, code: Param3, r#async: *const WSMAN_SHELL_ASYNC, signaloperation: *mut *mut WSMAN_OPERATION)4197 pub unsafe fn WSManSignalShell<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, code: Param3, r#async: *const WSMAN_SHELL_ASYNC, signaloperation: *mut *mut WSMAN_OPERATION) {
4198     #[cfg(windows)]
4199     {
4200         #[link(name = "windows")]
4201         extern "system" {
4202             fn WSManSignalShell(shell: *const WSMAN_SHELL, command: *const WSMAN_COMMAND, flags: u32, code: super::super::Foundation::PWSTR, r#async: *const ::std::mem::ManuallyDrop<WSMAN_SHELL_ASYNC>, signaloperation: *mut *mut WSMAN_OPERATION);
4203         }
4204         ::std::mem::transmute(WSManSignalShell(::std::mem::transmute(shell), ::std::mem::transmute(command), ::std::mem::transmute(flags), code.into_param().abi(), ::std::mem::transmute(r#async), ::std::mem::transmute(signaloperation)))
4205     }
4206     #[cfg(not(windows))]
4207     unimplemented!("Unsupported target OS");
4208 }
4209