source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wdstptmgmt.idl@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 23.6 KB
Line 
1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5cpp_quote("#include <winapifamily.h>")
6cpp_quote("")
7cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
8cpp_quote("")
9
10import "oaidl.idl";
11import "ocidl.idl";
12
13cpp_quote("")
14interface IWdsTransportCacheable;
15interface IWdsTransportClient;
16interface IWdsTransportCollection;
17interface IWdsTransportConfigurationManager;
18interface IWdsTransportConfigurationManager2;
19interface IWdsTransportContent;
20interface IWdsTransportContentProvider;
21interface IWdsTransportDiagnosticsPolicy;
22interface IWdsTransportManager;
23interface IWdsTransportNamespace;
24interface IWdsTransportNamespaceAutoCast;
25interface IWdsTransportNamespaceManager;
26interface IWdsTransportNamespaceScheduledCast;
27interface IWdsTransportNamespaceScheduledCastAutoStart;
28interface IWdsTransportNamespaceScheduledCastManualStart;
29interface IWdsTransportServer;
30interface IWdsTransportServer2;
31interface IWdsTransportServicePolicy;
32interface IWdsTransportServicePolicy2;
33interface IWdsTransportSetupManager;
34interface IWdsTransportSetupManager2;
35interface IWdsTransportTftpManager;
36interface IWdsTransportMulticastSessionPolicy;
37interface IWdsTransportSession;
38interface IWdsTransportTftpClient;
39
40cpp_quote("")
41typedef [v1_enum] enum {
42 WdsTptProtocolUnicast = 0x1,
43 WdsTptProtocolMulticast = 0x2
44} WDSTRANSPORT_PROTOCOL_FLAGS;
45
46cpp_quote("")
47typedef [v1_enum] enum {
48 WdsTptNamespaceTypeUnknown = 0,
49 WdsTptNamespaceTypeAutoCast = 1,
50 WdsTptNamespaceTypeScheduledCastManualStart = 2,
51 WdsTptNamespaceTypeScheduledCastAutoStart = 3
52} WDSTRANSPORT_NAMESPACE_TYPE;
53
54cpp_quote("")
55typedef [v1_enum] enum {
56 WdsTptDisconnectUnknown = 0,
57 WdsTptDisconnectFallback = 1,
58 WdsTptDisconnectAbort = 2
59} WDSTRANSPORT_DISCONNECT_TYPE;
60
61cpp_quote("")
62typedef [v1_enum] enum {
63 WdsTptSlowClientHandlingUnknown = 0,
64 WdsTptSlowClientHandlingNone = 1,
65 WdsTptSlowClientHandlingAutoDisconnect = 2,
66 WdsTptSlowClientHandlingMultistream = 3
67} WDSTRANSPORT_SLOW_CLIENT_HANDLING_TYPE;
68
69cpp_quote("")
70typedef [v1_enum] enum {
71 WdsTptUdpPortPolicyDynamic = 0,
72 WdsTptUdpPortPolicyFixed = 1
73} WDSTRANSPORT_UDP_PORT_POLICY;
74
75cpp_quote("")
76typedef enum {
77 WdsTptTftpCapMaximumBlockSize = 0x1,
78 WdsTptTftpCapVariableWindow = 0x2
79} WDSTRANSPORT_TFTP_CAPABILITY;
80
81cpp_quote("")
82typedef [v1_enum] enum {
83 WdsTptServiceNotifyUnknown = 0,
84 WdsTptServiceNotifyReadSettings = 1
85} WDSTRANSPORT_SERVICE_NOTIFICATION;
86
87cpp_quote("")
88typedef [v1_enum] enum {
89 WdsTptIpAddressUnknown = 0,
90 WdsTptIpAddressIpv4 = 1,
91 WdsTptIpAddressIpv6 = 2
92} WDSTRANSPORT_IP_ADDRESS_TYPE;
93
94cpp_quote("")
95typedef [v1_enum] enum {
96 WdsTptIpAddressSourceUnknown = 0,
97 WdsTptIpAddressSourceDhcp = 1,
98 WdsTptIpAddressSourceRange = 2
99} WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE;
100
101cpp_quote("")
102typedef [v1_enum] enum {
103 WdsTptNetworkProfileUnknown = 0,
104 WdsTptNetworkProfileCustom = 1,
105 WdsTptNetworkProfile10Mbps = 2,
106 WdsTptNetworkProfile100Mbps = 3,
107 WdsTptNetworkProfile1Gbps = 4
108} WDSTRANSPORT_NETWORK_PROFILE_TYPE;
109
110cpp_quote("")
111typedef [v1_enum] enum {
112 WdsTptFeatureAdminPack = 0x1,
113 WdsTptFeatureTransportServer = 0x2,
114 WdsTptFeatureDeploymentServer = 0x4
115} WDSTRANSPORT_FEATURE_FLAGS;
116cpp_quote("")
117cpp_quote("#define WDSTRANSPORT_FEATURE_FLAGS_ALL (WdsTptFeatureAdminPack | WdsTptFeatureTransportServer | WdsTptFeatureDeploymentServer)")
118
119cpp_quote("")
120typedef [v1_enum] enum {
121 WdsTptDiagnosticsComponentPxe = 0x1,
122 WdsTptDiagnosticsComponentTftp = 0x2,
123 WdsTptDiagnosticsComponentImageServer = 0x4,
124 WdsTptDiagnosticsComponentMulticast = 0x8
125} WDSTRANSPORT_DIAGNOSTICS_COMPONENT_FLAGS;
126cpp_quote("")
127cpp_quote("#define WDSTRANSPORT_DIAGNOSTICS_COMPONENT_FLAGS_ALL (WdsTptDiagnosticsComponentPxe | WdsTptDiagnosticsComponentTftp | WdsTptDiagnosticsComponentImageServer | WdsTptDiagnosticsComponentMulticast)")
128cpp_quote("#define WDSTRANSPORT_RESOURCE_UTILIZATION_UNKNOWN 0xff")
129
130cpp_quote("")
131typedef WDSTRANSPORT_PROTOCOL_FLAGS *PWDSTRANSPORT_PROTOCOL_FLAGS;
132typedef WDSTRANSPORT_NAMESPACE_TYPE *PWDSTRANSPORT_NAMESPACE_TYPE;
133typedef WDSTRANSPORT_DISCONNECT_TYPE *PWDSTRANSPORT_DISCONNECT_TYPE;
134typedef WDSTRANSPORT_SLOW_CLIENT_HANDLING_TYPE *PWDSTRANSPORT_SLOW_CLIENT_HANDLING_TYPE;
135typedef WDSTRANSPORT_UDP_PORT_POLICY *PWDSTRANSPORT_UDP_PORT_POLICY;
136typedef WDSTRANSPORT_TFTP_CAPABILITY *PWDSTRANSPORT_TFTP_CAPABILITY;
137typedef WDSTRANSPORT_SERVICE_NOTIFICATION *PWDSTRANSPORT_SERVICE_NOTIFICATION;
138typedef WDSTRANSPORT_IP_ADDRESS_TYPE *PWDSTRANSPORT_IP_ADDRESS_TYPE;
139typedef WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE *PWDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE;
140typedef WDSTRANSPORT_NETWORK_PROFILE_TYPE *PWDSTRANSPORT_NETWORK_PROFILE_TYPE;
141typedef WDSTRANSPORT_FEATURE_FLAGS *PWDSTRANSPORT_FEATURE_FLAGS;
142typedef WDSTRANSPORT_DIAGNOSTICS_COMPONENT_FLAGS *PWDSTRANSPORT_DIAGNOSTICS_COMPONENT_FLAGS;
143
144cpp_quote("")
145[object, uuid (46ad894b-0bab-47dc-84b2-7b553f1d8f80), dual, nonextensible, pointer_default (unique)]
146interface IWdsTransportCacheable : IDispatch {
147 [propget, id (101)] HRESULT Dirty ([out, retval] VARIANT_BOOL *pbDirty);
148 [id (102)] HRESULT Discard (void);
149 [id (103)] HRESULT Refresh (void);
150 [id (104)] HRESULT Commit (void);
151};
152
153cpp_quote("")
154[object, uuid (B8BA4B1A-2ff4-43ab-996c-B2B10A91A6EB), dual, nonextensible, pointer_default (unique)]
155interface IWdsTransportCollection : IDispatch {
156 [propget, id (1)] HRESULT Count ([out, retval] ULONG *pulCount);
157 [propget, id (2)] HRESULT Item ([in] ULONG ulIndex,[out, retval] IDispatch **ppVal);
158 [propget, id (DISPID_NEWENUM)] HRESULT _NewEnum ([out, retval] IUnknown **ppVal);
159};
160
161cpp_quote("")
162[object, uuid (84cc4779-42dd-4792-891e-1321d6d74b44), dual, nonextensible, pointer_default (unique)]
163interface IWdsTransportConfigurationManager : IDispatch {
164 [propget, id (1)] HRESULT ServicePolicy ([out, retval] IWdsTransportServicePolicy **ppWdsTransportServicePolicy);
165 [propget, id (2)] HRESULT DiagnosticsPolicy ([out, retval] IWdsTransportDiagnosticsPolicy **ppWdsTransportDiagnosticsPolicy);
166 [propget, id (3)] HRESULT WdsTransportServicesRunning ([in] VARIANT_BOOL bRealtimeStatus,[out, retval] VARIANT_BOOL *pbServicesRunning);
167 [id (4)] HRESULT EnableWdsTransportServices (void);
168 [id (5)] HRESULT DisableWdsTransportServices (void);
169 [id (6)] HRESULT StartWdsTransportServices (void);
170 [id (7)] HRESULT StopWdsTransportServices (void);
171 [id (8)] HRESULT RestartWdsTransportServices (void);
172 [id (9)] HRESULT NotifyWdsTransportServices ([in] WDSTRANSPORT_SERVICE_NOTIFICATION ServiceNotification);
173};
174
175cpp_quote("")
176[object, uuid (13b33efc-7856-4f61-9a59-8de67b6b87b6), dual, nonextensible, pointer_default (unique)]
177interface IWdsTransportDiagnosticsPolicy : IWdsTransportCacheable {
178 [propget, id (1)] HRESULT Enabled ([out, retval] VARIANT_BOOL *pbEnabled);
179 [propput, id (1)] HRESULT Enabled ([in] VARIANT_BOOL bEnabled);
180 [propget, id (2)] HRESULT Components ([out, retval] ULONG *pulComponents);
181 [propput, id (2)] HRESULT Components ([in] ULONG ulComponents);
182};
183
184cpp_quote("")
185[object, uuid (D0D85CAF-A153-4f1d-A9DD-96f431c50717), dual, nonextensible, pointer_default (unique)]
186interface IWdsTransportConfigurationManager2 : IWdsTransportConfigurationManager {
187 [propget, id (10)] HRESULT MulticastSessionPolicy ([out, retval] IWdsTransportMulticastSessionPolicy **ppWdsTransportMulticastSessionPolicy);
188};
189
190cpp_quote("")
191[object, uuid (5b0d35f5-1b13-4afd-B878-6526dc340b5d), dual, nonextensible, pointer_default (unique)]
192interface IWdsTransportManager : IDispatch {
193 [id (1)] HRESULT GetWdsTransportServer ([in] BSTR bszServerName,[out, retval] IWdsTransportServer **ppWdsTransportServer);
194};
195
196cpp_quote("")
197[object, uuid (FA561F57-FBEF-4ed3-B056-127cb1b33b84), dual, nonextensible, pointer_default (unique)]
198interface IWdsTransportNamespace : IDispatch {
199 [propget, id (1)] HRESULT Type ([out, retval] WDSTRANSPORT_NAMESPACE_TYPE *pType);
200 [propget, id (2)] HRESULT Id ([out, retval] ULONG *pulId);
201 [propget, id (3)] HRESULT Name ([out, retval] BSTR *pbszName);
202 [propput, id (3)] HRESULT Name ([in] BSTR bszName);
203 [propget, id (4)] HRESULT FriendlyName ([out, retval] BSTR *pbszFriendlyName);
204 [propput, id (4)] HRESULT FriendlyName ([in] BSTR bszFriendlyName);
205 [propget, id (5)] HRESULT Description ([out, retval] BSTR *pbszDescription);
206 [propput, id (5)] HRESULT Description ([in] BSTR bszDescription);
207 [propget, id (6)] HRESULT ContentProvider ([out, retval] BSTR *pbszContentProvider);
208 [propput, id (6)] HRESULT ContentProvider ([in] BSTR bszContentProvider);
209 [propget, id (7)] HRESULT Configuration ([out, retval] BSTR *pbszConfiguration);
210 [propput, id (7)] HRESULT Configuration ([in] BSTR bszConfiguration);
211 [propget, id (8)] HRESULT Registered ([out, retval] VARIANT_BOOL *pbRegistered);
212 [propget, id (9)] HRESULT Tombstoned ([out, retval] VARIANT_BOOL *pbTombstoned);
213 [propget, id (10)] HRESULT TombstoneTime ([out, retval] DATE *pTombstoneTime);
214 [propget, id (11)] HRESULT TransmissionStarted ([out, retval] VARIANT_BOOL *pbTransmissionStarted);
215 [id (12)] HRESULT Register (void);
216 [id (13)] HRESULT Deregister ([in] VARIANT_BOOL bTerminateSessions);
217 [id (14)] HRESULT Clone ([out, retval] IWdsTransportNamespace **ppWdsTransportNamespaceClone);
218 [id (15)] HRESULT Refresh (void);
219 [id (16)] HRESULT RetrieveContents ([out, retval] IWdsTransportCollection **ppWdsTransportContents);
220};
221
222cpp_quote("")
223[object, uuid (AD931A72-C4BD-4c41-8fbc-59c9c748df9e), dual, nonextensible, pointer_default (unique)]
224interface IWdsTransportNamespaceAutoCast : IWdsTransportNamespace {
225};
226
227cpp_quote("")
228[object, uuid (3840cecf-D76C-416e-A4CC-31c741d2874b), dual, nonextensible, pointer_default (unique)]
229interface IWdsTransportNamespaceScheduledCast : IWdsTransportNamespace {
230 [id (101)] HRESULT StartTransmission (void);
231};
232
233cpp_quote("")
234[object, uuid (013e6e4c-E6A7-4fb5-B7FF-D9F5DA805C31), dual, nonextensible, pointer_default (unique)]
235interface IWdsTransportNamespaceScheduledCastManualStart : IWdsTransportNamespaceScheduledCast {
236};
237
238cpp_quote("")
239[object, uuid (D606AF3D-EA9C-4219-961e-7491d618d9b9), dual, nonextensible, pointer_default (unique)]
240interface IWdsTransportNamespaceScheduledCastAutoStart : IWdsTransportNamespaceScheduledCast {
241 [propget, id (201)] HRESULT MinimumClients ([out, retval] ULONG *pulMinimumClients);
242 [propput, id (201)] HRESULT MinimumClients ([in] ULONG ulMinimumClients);
243 [propget, id (202)] HRESULT StartTime ([out, retval] DATE *pStartTime);
244 [propput, id (202)] HRESULT StartTime ([in] DATE StartTime);
245};
246
247cpp_quote("")
248[object, uuid (3e22d9f6-3777-4d98-83e1-F98696717BA3), dual, nonextensible, pointer_default (unique)]
249interface IWdsTransportNamespaceManager : IDispatch {
250 [id (1)] HRESULT CreateNamespace ([in] WDSTRANSPORT_NAMESPACE_TYPE NamespaceType,[in] BSTR bszNamespaceName,[in] BSTR bszContentProvider,[in] BSTR bszConfiguration,[out, retval] IWdsTransportNamespace **ppWdsTransportNamespace);
251 [id (2)] HRESULT RetrieveNamespace ([in] BSTR bszNamespaceName,[out, retval] IWdsTransportNamespace **ppWdsTransportNamespace);
252 [id (3)] HRESULT RetrieveNamespaces ([in] BSTR bszContentProvider,[in] BSTR bszNamespaceName,[in] VARIANT_BOOL bIncludeTombstones,[out, retval] IWdsTransportCollection **ppWdsTransportNamespaces);
253};
254
255cpp_quote("")
256[object, uuid (09ccd093-830d-4344-A30A-73ae8e8fca90), dual, nonextensible, pointer_default (unique)]
257interface IWdsTransportServer : IDispatch {
258 [propget, id (1)] HRESULT Name ([out, retval] BSTR *pbszName);
259 [propget, id (2)] HRESULT SetupManager ([out, retval] IWdsTransportSetupManager **ppWdsTransportSetupManager);
260 [propget, id (3)] HRESULT ConfigurationManager ([out, retval] IWdsTransportConfigurationManager **ppWdsTransportConfigurationManager);
261 [propget, id (4)] HRESULT NamespaceManager ([out, retval] IWdsTransportNamespaceManager **ppWdsTransportNamespaceManager);
262 [id (5)] HRESULT DisconnectClient ([in] ULONG ulClientId, WDSTRANSPORT_DISCONNECT_TYPE DisconnectionType);
263};
264
265cpp_quote("")
266[object, uuid (256e999f-6df4-4538-81b9-857b9ab8fb47), dual, nonextensible, pointer_default (unique)]
267interface IWdsTransportServer2 : IWdsTransportServer {
268 [propget, id (6)] HRESULT TftpManager ([out, retval] IWdsTransportTftpManager **ppWdsTransportTftpManager);
269};
270
271cpp_quote("")
272[object, uuid (B9468578-9f2b-48cc-B27A-A60799C2750C), dual, nonextensible, pointer_default (unique)]
273interface IWdsTransportServicePolicy : IWdsTransportCacheable {
274 [propget, id (1)] HRESULT IpAddressSource ([in] WDSTRANSPORT_IP_ADDRESS_TYPE AddressType,[out, retval] WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE *pSourceType);
275 [propput, id (1)] HRESULT IpAddressSource ([in] WDSTRANSPORT_IP_ADDRESS_TYPE AddressType,[in] WDSTRANSPORT_IP_ADDRESS_SOURCE_TYPE SourceType);
276 [propget, id (2)] HRESULT StartIpAddress ([in] WDSTRANSPORT_IP_ADDRESS_TYPE AddressType,[out, retval] BSTR *pbszStartIpAddress);
277 [propput, id (2)] HRESULT StartIpAddress ([in] WDSTRANSPORT_IP_ADDRESS_TYPE AddressType,[in] BSTR bszStartIpAddress);
278 [propget, id (3)] HRESULT EndIpAddress ([in] WDSTRANSPORT_IP_ADDRESS_TYPE AddressType,[out, retval] BSTR *pbszEndIpAddress);
279 [propput, id (3)] HRESULT EndIpAddress ([in] WDSTRANSPORT_IP_ADDRESS_TYPE AddressType,[in] BSTR bszEndIpAddress);
280 [propget, id (4)] HRESULT StartPort ([out, retval] ULONG *pulStartPort);
281 [propput, id (4)] HRESULT StartPort ([in] ULONG ulStartPort);
282 [propget, id (5)] HRESULT EndPort ([out, retval] ULONG *pulEndPort);
283 [propput, id (5)] HRESULT EndPort ([in] ULONG ulEndPort);
284 [propget, id (6)] HRESULT NetworkProfile ([out, retval] WDSTRANSPORT_NETWORK_PROFILE_TYPE *pProfileType);
285 [propput, id (6)] HRESULT NetworkProfile ([in] WDSTRANSPORT_NETWORK_PROFILE_TYPE ProfileType);
286};
287
288cpp_quote("")
289[object, uuid (65c19e5c-AA7E-4b91-8944-91e0e5572797), dual, nonextensible, pointer_default (unique)]
290interface IWdsTransportServicePolicy2 : IWdsTransportServicePolicy {
291 [propget, id (7)] HRESULT UdpPortPolicy ([out, retval] WDSTRANSPORT_UDP_PORT_POLICY *pUdpPortPolicy);
292 [propput, id (7)] HRESULT UdpPortPolicy ([in] WDSTRANSPORT_UDP_PORT_POLICY UdpPortPolicy);
293 [propget, id (8)] HRESULT TftpMaximumBlockSize ([out, retval] ULONG *pulTftpMaximumBlockSize);
294 [propput, id (8)] HRESULT TftpMaximumBlockSize ([in] ULONG ulTftpMaximumBlockSize);
295 [propget, id (9)] HRESULT EnableTftpVariableWindowExtension ([out, retval] VARIANT_BOOL *pbEnableTftpVariableWindowExtension);
296 [propput, id (9)] HRESULT EnableTftpVariableWindowExtension ([in] VARIANT_BOOL bEnableTftpVariableWindowExtension);
297};
298
299cpp_quote("")
300[object, uuid (F7238425-EFA8-40a4-AEF9-C98D969C0B75), dual, nonextensible, pointer_default (unique)]
301interface IWdsTransportSetupManager : IDispatch {
302 [propget, id (1)] HRESULT Version ([out, retval] ULONGLONG *pullVersion);
303 [propget, id (2)] HRESULT InstalledFeatures ([out, retval] ULONG *pulInstalledFeatures);
304 [propget, id (3)] HRESULT Protocols ([out, retval] ULONG *pulProtocols);
305 [id (4)] HRESULT RegisterContentProvider ([in] BSTR bszName,[in] BSTR bszDescription,[in] BSTR bszFilePath,[in] BSTR bszInitializationRoutine);
306 [id (5)] HRESULT DeregisterContentProvider ([in] BSTR bszName);
307};
308
309cpp_quote("")
310[object, uuid (02be79da-7e9e-4366-8b6e-2aa9a91be47f), dual, nonextensible, pointer_default (unique)]
311interface IWdsTransportSetupManager2 : IWdsTransportSetupManager {
312 [propget, id (6)] HRESULT TftpCapabilities ([out, retval] ULONG *pulTftpCapabilities);
313 [propget, id (7)] HRESULT ContentProviders ([out, retval] IWdsTransportCollection **ppProviderCollection);
314};
315
316cpp_quote("")
317[object, uuid (1327a7c8-ae8a-4fb3-8150-136227c37e9a), dual, nonextensible, pointer_default (unique)]
318interface IWdsTransportTftpManager : IDispatch {
319 [id (1)] HRESULT RetrieveTftpClients ([out, retval] IWdsTransportCollection **ppWdsTransportTftpClients);
320};
321
322cpp_quote("")
323[object, uuid (4e5753cf-68ec-4504-A951-4a003266606b), dual, nonextensible, pointer_default (unique)]
324interface IWdsTransportMulticastSessionPolicy : IWdsTransportCacheable {
325 [propget, id (1)] HRESULT SlowClientHandling ([out, retval] WDSTRANSPORT_SLOW_CLIENT_HANDLING_TYPE *pSlowClientHandling);
326 [propput, id (1)] HRESULT SlowClientHandling ([in] WDSTRANSPORT_SLOW_CLIENT_HANDLING_TYPE SlowClientHandling);
327 [propget, id (2)] HRESULT AutoDisconnectThreshold ([out, retval] ULONG *pulThreshold);
328 [propput, id (2)] HRESULT AutoDisconnectThreshold ([in] ULONG ulThreshold);
329 [propget, id (3)] HRESULT MultistreamStreamCount ([out, retval] ULONG *pulStreamCount);
330 [propput, id (3)] HRESULT MultistreamStreamCount ([in] ULONG ulStreamCount);
331 [propget, id (4)] HRESULT SlowClientFallback ([out, retval] VARIANT_BOOL *pbClientFallback);
332 [propput, id (4)] HRESULT SlowClientFallback ([in] VARIANT_BOOL bClientFallback);
333};
334
335cpp_quote("")
336[object, uuid (D405D711-0296-4ab4-A860-AC7D32E65798), dual, nonextensible, pointer_default (unique)]
337interface IWdsTransportContent : IDispatch {
338 [propget, id (1)] HRESULT Namespace ([out, retval] IWdsTransportNamespace **ppWdsTransportNamespace);
339 [propget, id (2)] HRESULT Id ([out, retval] ULONG *pulId);
340 [propget, id (3)] HRESULT Name ([out, retval] BSTR *pbszName);
341 [id (4)] HRESULT RetrieveSessions ([out, retval] IWdsTransportCollection **ppWdsTransportSessions);
342 [id (5)] HRESULT Terminate (void);
343};
344
345cpp_quote("")
346[object, uuid (F4EFEA88-65b1-4f30-A4B9-2793987796fb), dual, nonextensible, pointer_default (unique)]
347interface IWdsTransportSession : IDispatch {
348 [propget, id (1)] HRESULT Content ([out, retval] IWdsTransportContent **ppWdsTransportContent);
349 [propget, id (2)] HRESULT Id ([out, retval] ULONG *pulId);
350 [propget, id (3)] HRESULT NetworkInterfaceName ([out, retval] BSTR *pbszNetworkInterfaceName);
351 [propget, id (4)] HRESULT NetworkInterfaceAddress ([out, retval] BSTR *pbszNetworkInterfaceAddress);
352 [propget, id (5)] HRESULT TransferRate ([out, retval] ULONG *pulTransferRate);
353 [propget, id (6)] HRESULT MasterClientId ([out, retval] ULONG *pulMasterClientId);
354 [id (7)] HRESULT RetrieveClients ([out, retval] IWdsTransportCollection **ppWdsTransportClients);
355 [id (8)] HRESULT Terminate (void);
356};
357
358cpp_quote("")
359[object, uuid (B5DBC93A-CABE-46ca-837f-3e44e93c6545), dual, nonextensible, pointer_default (unique)]
360interface IWdsTransportClient : IDispatch {
361 [propget, id (1)] HRESULT Session ([out, retval] IWdsTransportSession **ppWdsTransportSession);
362 [propget, id (2)] HRESULT Id ([out, retval] ULONG *pulId);
363 [propget, id (3)] HRESULT Name ([out, retval] BSTR *pbszName);
364 [propget, id (4)] HRESULT MacAddress ([out, retval] BSTR *pbszMacAddress);
365 [propget, id (5)] HRESULT IpAddress ([out, retval] BSTR *pbszIpAddress);
366 [propget, id (6)] HRESULT PercentCompletion ([out, retval] ULONG *pulPercentCompletion);
367 [propget, id (7)] HRESULT JoinDuration ([out, retval] ULONG *pulJoinDuration);
368 [propget, id (8)] HRESULT CpuUtilization ([out, retval] ULONG *pulCpuUtilization);
369 [propget, id (9)] HRESULT MemoryUtilization ([out, retval] ULONG *pulMemoryUtilization);
370 [propget, id (10)] HRESULT NetworkUtilization ([out, retval] ULONG *pulNetworkUtilization);
371 [propget, id (11)] HRESULT UserIdentity ([out, retval] BSTR *pbszUserIdentity);
372 [id (12)] HRESULT Disconnect ([in] WDSTRANSPORT_DISCONNECT_TYPE DisconnectionType);
373};
374
375cpp_quote("")
376[object, uuid (b022d3ae-884d-4d85-b146-53320e76ef62), dual, nonextensible, pointer_default (unique)]
377interface IWdsTransportTftpClient : IDispatch {
378 [propget, id (1)] HRESULT FileName ([out, retval] BSTR *pbszFileName);
379 [propget, id (2)] HRESULT IpAddress ([out, retval] BSTR *pbszIpAddress);
380 [propget, id (3)] HRESULT Timeout ([out, retval] ULONG *pulTimeout);
381 [propget, id (4)] HRESULT CurrentFileOffset ([out, retval] ULONG64 *pul64CurrentOffset);
382 [propget, id (5)] HRESULT FileSize ([out, retval] ULONG64 *pul64FileSize);
383 [propget, id (6)] HRESULT BlockSize ([out, retval] ULONG *pulBlockSize);
384 [propget, id (7)] HRESULT WindowSize ([out, retval] ULONG *pulWindowSize);
385};
386
387cpp_quote("")
388[object, uuid (B9489F24-F219-4acf-AAD7-265c7c08a6ae), dual, nonextensible, pointer_default (unique)]
389interface IWdsTransportContentProvider : IDispatch {
390 [propget, id (1)] HRESULT Name ([out, retval] BSTR *pbszName);
391 [propget, id (2)] HRESULT Description ([out, retval] BSTR *pbszDescription);
392 [propget, id (3)] HRESULT FilePath ([out, retval] BSTR *pbszFilePath);
393 [propget, id (4)] HRESULT InitializationRoutine ([out, retval] BSTR *pbszInitializationRoutine);
394};
395
396cpp_quote("")
397[uuid (9212887f-F5BC-45dd-A510-265413a18ed7), version (1.0)]
398library WdsTptMgmtLib {
399 importlib ("stdole2.tlb");
400 [uuid (70590b16-F146-46bd-BD9D-4aaa90084bf5), noncreatable]
401 coclass WdsTransportCacheable {
402 [default] interface IWdsTransportCacheable;
403 };
404 [uuid (C7F18B09-391e-436e-B10B-C3EF46F2C34F), noncreatable]
405 coclass WdsTransportCollection {
406 [default] interface IWdsTransportCollection;
407 };
408 [uuid (F21523F6-837c-4a58-AF99-8a7e27f8ff59)]
409 coclass WdsTransportManager {
410 [default] interface IWdsTransportManager;
411 };
412 [uuid (EA19B643-4adf-4413-942c-14f379118760), noncreatable]
413 coclass WdsTransportServer {
414 [default] interface IWdsTransportServer;
415 interface IWdsTransportServer2;
416 };
417 [uuid (C7BEEAAD-9f04-4923-9f0c-FBF52BC7590F), noncreatable]
418 coclass WdsTransportSetupManager {
419 [default] interface IWdsTransportSetupManager;
420 interface IWdsTransportSetupManager2;
421 };
422 [uuid (8743f674-904c-47ca-8512-35fe98f6b0ac), noncreatable]
423 coclass WdsTransportConfigurationManager {
424 [default] interface IWdsTransportConfigurationManager;
425 interface IWdsTransportConfigurationManager2;
426 };
427 [uuid (F08CDB63-85de-4a28-A1A9-5ca3e7efda73), noncreatable]
428 coclass WdsTransportNamespaceManager {
429 [default] interface IWdsTransportNamespaceManager;
430 };
431 [uuid (65aceadc-2f0b-4f43-9f4d-811865d8cead), noncreatable]
432 coclass WdsTransportServicePolicy {
433 [default] interface IWdsTransportServicePolicy;
434 interface IWdsTransportServicePolicy2;
435 };
436 [uuid (EB3333E1-A7AD-46f5-80d6-6b740204e509), noncreatable]
437 coclass WdsTransportDiagnosticsPolicy {
438 [default] interface IWdsTransportDiagnosticsPolicy;
439 };
440 [uuid (3c6bc3f4-6418-472a-B6F1-52d457195437), noncreatable]
441 coclass WdsTransportMulticastSessionPolicy {
442 [default] interface IWdsTransportMulticastSessionPolicy;
443 };
444 [uuid (D8385768-0732-4ec1-95ea-16da581908a1), noncreatable]
445 coclass WdsTransportNamespace {
446 [default] interface IWdsTransportNamespace;
447 };
448 [uuid (B091F5A8-6a99-478d-B23B-09e8fee04574), noncreatable]
449 coclass WdsTransportNamespaceAutoCast {
450 [default] interface IWdsTransportNamespaceAutoCast;
451 };
452 [uuid (BADC1897-7025-44eb-9108-FB61C4055792), noncreatable]
453 coclass WdsTransportNamespaceScheduledCast {
454 [default] interface IWdsTransportNamespaceScheduledCast;
455 };
456 [uuid (D3E1A2AA-CAAC-460e-B98A-47f9f318a1fa), noncreatable]
457 coclass WdsTransportNamespaceScheduledCastManualStart {
458 [default] interface IWdsTransportNamespaceScheduledCastManualStart;
459 };
460 [uuid (A1107052-122c-4b81-9b7c-386e6855383f), noncreatable]
461 coclass WdsTransportNamespaceScheduledCastAutoStart {
462 [default] interface IWdsTransportNamespaceScheduledCastAutoStart;
463 };
464 [uuid (0a891fe7-4a3f-4c65-B6F2-1467619679ea), noncreatable]
465 coclass WdsTransportContent {
466 [default] interface IWdsTransportContent;
467 };
468 [uuid (749ac4e0-67bc-4743-BFE5-CACB1F26F57F), noncreatable]
469 coclass WdsTransportSession {
470 [default] interface IWdsTransportSession;
471 };
472 [uuid (66d2c5e9-0ff6-49ec-9733-DAFB1E01DF1C), noncreatable]
473 coclass WdsTransportClient {
474 [default] interface IWdsTransportClient;
475 };
476 [uuid (50343925-7c5c-4c8c-96c4-ad9fa5005fba), noncreatable]
477 coclass WdsTransportTftpClient {
478 [default] interface IWdsTransportTftpClient;
479 };
480 [uuid (c8e9dca2-3241-4e4d-b806-bc74019dfeda), noncreatable]
481 coclass WdsTransportTftpManager {
482 [default] interface IWdsTransportTftpManager;
483 };
484 [uuid (E0BE741F-5a75-4eb9-8a2d-5e189b45f327), noncreatable]
485 coclass WdsTransportContentProvider {
486 [default] interface IWdsTransportContentProvider;
487 };
488};
489cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.