Lars Martin Hambro <lars_martin4 AT hotmail DOT com>
[reactos.git] / base / applications / tsclient / porting-tools / rdesktop-core-tester / mstsclib.idl
1 [
2 #ifdef MSTSCLIB_REDIST_
3 uuid(AF586AAE-B62A-420E-B796-294E7EE64C70),
4 #else
5 uuid(8C11EFA1-92C3-11D1-BC1E-00C04FA31489),
6 #endif
7 version(1.0)
8 ]
9 library MSTSCLib
10 {
11 importlib("stdole32.tlb");
12
13 dispinterface IMsTscAxEvents;
14
15 interface IMsTscAx;
16 interface IMsRdpClient;
17 interface IMsRdpClient2;
18 interface IMsRdpClient3;
19 interface IMsRdpClient4;
20
21 interface IMsTscNonScriptable;
22 interface IMsRdpClientNonScriptable;
23 interface IMsRdpClientNonScriptable2;
24
25 interface IMsTscAdvancedSettings;
26 interface IMsRdpClientAdvancedSettings;
27 interface IMsRdpClientAdvancedSettings2;
28 interface IMsRdpClientAdvancedSettings3;
29 interface IMsRdpClientAdvancedSettings4;
30
31 interface IMsTscSecuredSettings;
32 interface IMsRdpClientSecuredSettings;
33
34 interface IMsTscDebug;
35
36 typedef [public] enum __MIDL___MIDL_itf_mstsax_0275_0001
37 {
38 autoReconnectContinueAutomatic = 0,
39 autoReconnectContinueStop = 1,
40 autoReconnectContinueManual = 2
41 }
42 AutoReconnectContinueState;
43
44 typedef [public] enum __MIDL_IMsRdpClient_0001
45 {
46 exDiscReasonNoInfo = 0,
47 exDiscReasonAPIInitiatedDisconnect = 1,
48 exDiscReasonAPIInitiatedLogoff = 2,
49 exDiscReasonServerIdleTimeout = 3,
50 exDiscReasonServerLogonTimeout = 4,
51 exDiscReasonReplacedByOtherConnection = 5,
52 exDiscReasonOutOfMemory = 6,
53 exDiscReasonServerDeniedConnection = 7,
54 exDiscReasonServerDeniedConnectionFips = 8,
55 exDiscReasonLicenseInternal = 256,
56 exDiscReasonLicenseNoLicenseServer = 257,
57 exDiscReasonLicenseNoLicense = 258,
58 exDiscReasonLicenseErrClientMsg = 259,
59 exDiscReasonLicenseHwidDoesntMatchLicense = 260,
60 exDiscReasonLicenseErrClientLicense = 261,
61 exDiscReasonLicenseCantFinishProtocol = 262,
62 exDiscReasonLicenseClientEndedProtocol = 263,
63 exDiscReasonLicenseErrClientEncryption = 264,
64 exDiscReasonLicenseCantUpgradeLicense = 265,
65 exDiscReasonLicenseNoRemoteConnections = 266,
66 exDiscReasonProtocolRangeStart = 4096,
67 exDiscReasonProtocolRangeEnd = 32767
68 }
69 ExtendedDisconnectReasonCode;
70
71 typedef [public] enum __MIDL_IMsRdpClient_0002
72 {
73 controlCloseCanProceed = 0,
74 controlCloseWaitForEvents = 1
75 }
76 ControlCloseStatus;
77
78 typedef [public] unsigned __int3264 UINT_PTR;
79 typedef [public] __int3264 LONG_PTR;
80
81 [uuid(336D5562-EFA8-482E-8CB3-C5C0FC7A7DB6)]
82 dispinterface IMsTscAxEvents
83 {
84 properties:
85
86 methods:
87 [id(0x00000001)] void OnConnecting();
88 [id(0x00000002)] void OnConnected();
89 [id(0x00000003)] void OnLoginComplete();
90 [id(0x00000004)] void OnDisconnected([in] long discReason);
91 [id(0x00000005)] void OnEnterFullScreenMode();
92 [id(0x00000006)] void OnLeaveFullScreenMode();
93 [id(0x00000007)] void OnChannelReceivedData([in] BSTR chanName, [in] BSTR data);
94 [id(0x00000008)] void OnRequestGoFullScreen();
95 [id(0x00000009)] void OnRequestLeaveFullScreen();
96 [id(0x0000000a)] void OnFatalError([in] long errorCode);
97 [id(0x0000000b)] void OnWarning([in] long warningCode);
98 [id(0x0000000c)] void OnRemoteDesktopSizeChange([in] long width, [in] long height);
99 [id(0x0000000d)] void OnIdleTimeoutNotification();
100 [id(0x0000000e)] void OnRequestContainerMinimize();
101 [id(0x0000000f)] void OnConfirmClose([out, retval] VARIANT_BOOL * pfAllowClose);
102 [id(0x00000010)] void OnReceivedTSPublicKey([in] BSTR publicKey, [out, retval] VARIANT_BOOL * pfContinueLogon);
103 [id(0x00000011)] void OnAutoReconnecting([in] long disconnectReason, [in] long attemptCount, [out, retval] AutoReconnectContinueState * pArcContinueStatus);
104 [id(0x00000012)] void OnAuthenticationWarningDisplayed();
105 [id(0x00000013)] void OnAuthenticationWarningDismissed();
106 };
107
108 [
109 #ifdef MSTSCLIB_REDIST_
110 uuid(327BB5CD-834E-4400-AEF2-B30E15E5D682),
111 #else
112 uuid(8C11EFAE-92C3-11D1-BC1E-00C04FA31489),
113 #endif
114 dual,
115 oleautomation
116 ]
117 interface IMsTscAx: IDispatch
118 {
119 [id(0x00000001), propput] HRESULT Server([in] BSTR pServer);
120 [id(0x00000001), propget] HRESULT Server([out, retval] BSTR * pServer);
121 [id(0x00000002), propput] HRESULT Domain([in] BSTR pDomain);
122 [id(0x00000002), propget] HRESULT Domain([out, retval] BSTR * pDomain);
123 [id(0x00000003), propput] HRESULT UserName([in] BSTR pUserName);
124 [id(0x00000003), propget] HRESULT UserName([out, retval] BSTR * pUserName);
125 [id(0x00000004), propput] HRESULT DisconnectedText([in] BSTR pDisconnectedText);
126 [id(0x00000004), propget] HRESULT DisconnectedText([out, retval] BSTR * pDisconnectedText);
127 [id(0x00000005), propput] HRESULT ConnectingText([in] BSTR pConnectingText);
128 [id(0x00000005), propget] HRESULT ConnectingText([out, retval] BSTR * pConnectingText);
129 [id(0x00000006), propget] HRESULT Connected([out, retval] short * pIsConnected);
130 [id(0x0000000c), propput] HRESULT DesktopWidth([in] long pVal);
131 [id(0x0000000c), propget] HRESULT DesktopWidth([out, retval] long * pVal);
132 [id(0x0000000d), propput] HRESULT DesktopHeight([in] long pVal);
133 [id(0x0000000d), propget] HRESULT DesktopHeight([out, retval] long * pVal);
134 [id(0x00000010), propput] HRESULT StartConnected([in] long pfStartConnected);
135 [id(0x00000010), propget] HRESULT StartConnected([out, retval] long * pfStartConnected);
136 [id(0x00000011), propget] HRESULT HorizontalScrollBarVisible([out, retval] long * pfHScrollVisible);
137 [id(0x00000012), propget] HRESULT VerticalScrollBarVisible([out, retval] long * pfVScrollVisible);
138 [id(0x00000013), propput] HRESULT FullScreenTitle([in] BSTR rhs);
139 [id(0x00000014), propget] HRESULT CipherStrength([out, retval] long * pCipherStrength);
140 [id(0x00000015), propget] HRESULT Version([out, retval] BSTR * pVersion);
141 [id(0x00000016), propget] HRESULT SecuredSettingsEnabled([out, retval] long * pSecuredSettingsEnabled);
142 [id(0x00000061), propget] HRESULT SecuredSettings([out, retval] IMsTscSecuredSettings ** ppSecuredSettings);
143 [id(0x00000062), propget] HRESULT AdvancedSettings([out, retval] IMsTscAdvancedSettings ** ppAdvSettings);
144 [id(0x00000063), propget, hidden] HRESULT Debugger([out, retval] IMsTscDebug ** ppDebugger);
145 [id(0x0000001e)] HRESULT Connect();
146 [id(0x0000001f)] HRESULT Disconnect();
147 [id(0x00000021)] HRESULT CreateVirtualChannels([in] BSTR newVal);
148 [id(0x00000022)] HRESULT SendOnVirtualChannel([in] BSTR chanName, [in] BSTR ChanData);
149 };
150
151 [
152 uuid(92B4A539-7115-4B7C-A5A9-E5D9EFC2780A),
153 dual,
154 oleautomation
155 ]
156 interface IMsRdpClient: IMsTscAx
157 {
158 [id(0x00000064), propput] HRESULT ColorDepth([in] long pcolorDepth);
159 [id(0x00000064), propget] HRESULT ColorDepth([out, retval] long * pcolorDepth);
160 [id(0x00000065), propget] HRESULT AdvancedSettings2([out, retval] IMsRdpClientAdvancedSettings ** ppAdvSettings);
161 [id(0x00000066), propget] HRESULT SecuredSettings2([out, retval] IMsRdpClientSecuredSettings ** ppSecuredSettings);
162 [id(0x00000067), propget] HRESULT ExtendedDisconnectReason([out, retval] ExtendedDisconnectReasonCode * pExtendedDisconnectReason);
163 [id(0x00000068), propput] HRESULT FullScreen([in] VARIANT_BOOL pfFullScreen);
164 [id(0x00000068), propget] HRESULT FullScreen([out, retval] VARIANT_BOOL * pfFullScreen);
165 [id(0x00000023)] HRESULT SetVirtualChannelOptions([in] BSTR chanName, [in] long chanOptions);
166 [id(0x00000024)] HRESULT GetVirtualChannelOptions([in] BSTR chanName, [out, retval] long * pChanOptions);
167 [id(0x00000025)] HRESULT RequestClose([out, retval] ControlCloseStatus * pCloseStatus);
168 };
169
170 [
171 uuid(E7E17DC4-3B71-4BA7-A8E6-281FFADCA28F),
172 dual,
173 oleautomation
174 ]
175 interface IMsRdpClient2: IMsRdpClient
176 {
177 [id(0x000000c8), propget] HRESULT AdvancedSettings3([out, retval] IMsRdpClientAdvancedSettings2 ** ppAdvSettings);
178 [id(0x000000c9), propput] HRESULT ConnectedStatusText([in] BSTR pConnectedStatusText);
179 [id(0x000000c9), propget] HRESULT ConnectedStatusText([out, retval] BSTR * pConnectedStatusText);
180 };
181
182 [
183 uuid(91B7CBC5-A72E-4FA0-9300-D647D7E897FF),
184 dual,
185 oleautomation
186 ]
187 interface IMsRdpClient3: IMsRdpClient2
188 {
189 [id(0x0000012c), propget] HRESULT AdvancedSettings4([out, retval] IMsRdpClientAdvancedSettings3 ** ppAdvSettings);
190 };
191
192 [
193 uuid(095E0738-D97D-488B-B9F6-DD0E8D66C0DE),
194 dual,
195 oleautomation
196 ]
197 interface IMsRdpClient4: IMsRdpClient3
198 {
199 [id(0x00000190), propget] HRESULT AdvancedSettings5([out, retval] IMsRdpClientAdvancedSettings4 ** ppAdvSettings5);
200 };
201
202 [uuid(C1E6743A-41C1-4A74-832A-0DD06C1C7A0E)]
203 interface IMsTscNonScriptable: IUnknown
204 {
205 [propput] HRESULT ClearTextPassword([in] BSTR rhs);
206 [propput] HRESULT PortablePassword([in] BSTR pPortablePass);
207 [propget] HRESULT PortablePassword([out, retval] BSTR * pPortablePass);
208 [propput] HRESULT PortableSalt([in] BSTR pPortableSalt);
209 [propget] HRESULT PortableSalt([out, retval] BSTR * pPortableSalt);
210 [propput] HRESULT BinaryPassword([in] BSTR pBinaryPassword);
211 [propget] HRESULT BinaryPassword([out, retval] BSTR * pBinaryPassword);
212 [propput] HRESULT BinarySalt([in] BSTR pSalt);
213 [propget] HRESULT BinarySalt([out, retval] BSTR * pSalt);
214 HRESULT ResetPassword();
215 };
216
217 [uuid(2F079C4C-87B2-4AFD-97AB-20CDB43038AE)]
218 interface IMsRdpClientNonScriptable: IMsTscNonScriptable
219 {
220 HRESULT NotifyRedirectDeviceChange([in] UINT_PTR wParam, [in] LONG_PTR lParam);
221 HRESULT SendKeys([in] long numKeys, [in] VARIANT_BOOL * pbArrayKeyUp, [in] long * plKeyData);
222 };
223
224 [uuid(17A5E535-4072-4FA4-AF32-C8D0D47345E9)]
225 interface IMsRdpClientNonScriptable2: IMsRdpClientNonScriptable
226 {
227 [propput] HRESULT UIParentWindowHandle([in] HWND phwndUIParentWindowHandle);
228 [propget] HRESULT UIParentWindowHandle([out, retval] HWND * phwndUIParentWindowHandle);
229 };
230
231 [
232 uuid(809945CC-4B3B-4A92-A6B0-DBF9B5F2EF2D),
233 dual,
234 oleautomation
235 ]
236 interface IMsTscAdvancedSettings: IDispatch
237 {
238 [id(0x00000079), propput] HRESULT Compress([in] long pcompress);
239 [id(0x00000079), propget] HRESULT Compress([out, retval] long * pcompress);
240 [id(0x0000007a), propput] HRESULT BitmapPeristence([in] long pbitmapPeristence);
241 [id(0x0000007a), propget] HRESULT BitmapPeristence([out, retval] long * pbitmapPeristence);
242 [id(0x000000a1), propput] HRESULT allowBackgroundInput([in] long pallowBackgroundInput);
243 [id(0x000000a1), propget] HRESULT allowBackgroundInput([out, retval] long * pallowBackgroundInput);
244 [id(0x000000a2), propput] HRESULT KeyBoardLayoutStr([in] BSTR rhs);
245 [id(0x000000aa), propput] HRESULT PluginDlls([in] BSTR rhs);
246 [id(0x000000ab), propput] HRESULT IconFile([in] BSTR rhs);
247 [id(0x000000ac), propput] HRESULT IconIndex([in] long rhs);
248 [id(0x000000ad), propput] HRESULT ContainerHandledFullScreen([in] long pContainerHandledFullScreen);
249 [id(0x000000ad), propget] HRESULT ContainerHandledFullScreen([out, retval] long * pContainerHandledFullScreen);
250 [id(0x000000ae), propput] HRESULT DisableRdpdr([in] long pDisableRdpdr);
251 [id(0x000000ae), propget] HRESULT DisableRdpdr([out, retval] long * pDisableRdpdr);
252 };
253
254 [
255 uuid(3C65B4AB-12B3-465B-ACD4-B8DAD3BFF9E2),
256 dual,
257 oleautomation
258 ]
259 interface IMsRdpClientAdvancedSettings: IMsTscAdvancedSettings
260 {
261 [id(0x00000065), propput] HRESULT SmoothScroll([in] long psmoothScroll);
262 [id(0x00000065), propget] HRESULT SmoothScroll([out, retval] long * psmoothScroll);
263 [id(0x00000066), propput] HRESULT AcceleratorPassthrough([in] long pacceleratorPassthrough);
264 [id(0x00000066), propget] HRESULT AcceleratorPassthrough([out, retval] long * pacceleratorPassthrough);
265 [id(0x00000067), propput] HRESULT ShadowBitmap([in] long pshadowBitmap);
266 [id(0x00000067), propget] HRESULT ShadowBitmap([out, retval] long * pshadowBitmap);
267 [id(0x00000068), propput] HRESULT TransportType([in] long ptransportType);
268 [id(0x00000068), propget] HRESULT TransportType([out, retval] long * ptransportType);
269 [id(0x00000069), propput] HRESULT SasSequence([in] long psasSequence);
270 [id(0x00000069), propget] HRESULT SasSequence([out, retval] long * psasSequence);
271 [id(0x0000006a), propput] HRESULT EncryptionEnabled([in] long pencryptionEnabled);
272 [id(0x0000006a), propget] HRESULT EncryptionEnabled([out, retval] long * pencryptionEnabled);
273 [id(0x0000006b), propput] HRESULT DedicatedTerminal([in] long pdedicatedTerminal);
274 [id(0x0000006b), propget] HRESULT DedicatedTerminal([out, retval] long * pdedicatedTerminal);
275 [id(0x0000006c), propput] HRESULT RDPPort([in] long prdpPort);
276 [id(0x0000006c), propget] HRESULT RDPPort([out, retval] long * prdpPort);
277 [id(0x0000006d), propput] HRESULT EnableMouse([in] long penableMouse);
278 [id(0x0000006d), propget] HRESULT EnableMouse([out, retval] long * penableMouse);
279 [id(0x0000006e), propput] HRESULT DisableCtrlAltDel([in] long pdisableCtrlAltDel);
280 [id(0x0000006e), propget] HRESULT DisableCtrlAltDel([out, retval] long * pdisableCtrlAltDel);
281 [id(0x0000006f), propput] HRESULT EnableWindowsKey([in] long penableWindowsKey);
282 [id(0x0000006f), propget] HRESULT EnableWindowsKey([out, retval] long * penableWindowsKey);
283 [id(0x00000070), propput] HRESULT DoubleClickDetect([in] long pdoubleClickDetect);
284 [id(0x00000070), propget] HRESULT DoubleClickDetect([out, retval] long * pdoubleClickDetect);
285 [id(0x00000071), propput] HRESULT MaximizeShell([in] long pmaximizeShell);
286 [id(0x00000071), propget] HRESULT MaximizeShell([out, retval] long * pmaximizeShell);
287 [id(0x00000072), propput] HRESULT HotKeyFullScreen([in] long photKeyFullScreen);
288 [id(0x00000072), propget] HRESULT HotKeyFullScreen([out, retval] long * photKeyFullScreen);
289 [id(0x00000073), propput] HRESULT HotKeyCtrlEsc([in] long photKeyCtrlEsc);
290 [id(0x00000073), propget] HRESULT HotKeyCtrlEsc([out, retval] long * photKeyCtrlEsc);
291 [id(0x00000074), propput] HRESULT HotKeyAltEsc([in] long photKeyAltEsc);
292 [id(0x00000074), propget] HRESULT HotKeyAltEsc([out, retval] long * photKeyAltEsc);
293 [id(0x00000075), propput] HRESULT HotKeyAltTab([in] long photKeyAltTab);
294 [id(0x00000075), propget] HRESULT HotKeyAltTab([out, retval] long * photKeyAltTab);
295 [id(0x00000076), propput] HRESULT HotKeyAltShiftTab([in] long photKeyAltShiftTab);
296 [id(0x00000076), propget] HRESULT HotKeyAltShiftTab([out, retval] long * photKeyAltShiftTab);
297 [id(0x00000077), propput] HRESULT HotKeyAltSpace([in] long photKeyAltSpace);
298 [id(0x00000077), propget] HRESULT HotKeyAltSpace([out, retval] long * photKeyAltSpace);
299 [id(0x00000078), propput] HRESULT HotKeyCtrlAltDel([in] long photKeyCtrlAltDel);
300 [id(0x00000078), propget] HRESULT HotKeyCtrlAltDel([out, retval] long * photKeyCtrlAltDel);
301 [id(0x0000007b), propput] HRESULT orderDrawThreshold([in] long porderDrawThreshold);
302 [id(0x0000007b), propget] HRESULT orderDrawThreshold([out, retval] long * porderDrawThreshold);
303 [id(0x0000007c), propput] HRESULT BitmapCacheSize([in] long pbitmapCacheSize);
304 [id(0x0000007c), propget] HRESULT BitmapCacheSize([out, retval] long * pbitmapCacheSize);
305 [id(0x0000007d), propput] HRESULT BitmapVirtualCacheSize([in] long pbitmapVirtualCacheSize);
306 [id(0x0000007d), propget] HRESULT BitmapVirtualCacheSize([out, retval] long * pbitmapVirtualCacheSize);
307 [id(0x000000af), propput] HRESULT ScaleBitmapCachesByBPP([in] long pbScale);
308 [id(0x000000af), propget] HRESULT ScaleBitmapCachesByBPP([out, retval] long * pbScale);
309 [id(0x0000007e), propput] HRESULT NumBitmapCaches([in] long pnumBitmapCaches);
310 [id(0x0000007e), propget] HRESULT NumBitmapCaches([out, retval] long * pnumBitmapCaches);
311 [id(0x0000007f), propput] HRESULT CachePersistenceActive([in] long pcachePersistenceActive);
312 [id(0x0000007f), propget] HRESULT CachePersistenceActive([out, retval] long * pcachePersistenceActive);
313 [id(0x0000008a), propput] HRESULT PersistCacheDirectory([in] BSTR rhs);
314 [id(0x0000009c), propput] HRESULT brushSupportLevel([in] long pbrushSupportLevel);
315 [id(0x0000009c), propget] HRESULT brushSupportLevel([out, retval] long * pbrushSupportLevel);
316 [id(0x0000009d), propput] HRESULT minInputSendInterval([in] long pminInputSendInterval);
317 [id(0x0000009d), propget] HRESULT minInputSendInterval([out, retval] long * pminInputSendInterval);
318 [id(0x0000009e), propput] HRESULT InputEventsAtOnce([in] long pinputEventsAtOnce);
319 [id(0x0000009e), propget] HRESULT InputEventsAtOnce([out, retval] long * pinputEventsAtOnce);
320 [id(0x0000009f), propput] HRESULT maxEventCount([in] long pmaxEventCount);
321 [id(0x0000009f), propget] HRESULT maxEventCount([out, retval] long * pmaxEventCount);
322 [id(0x000000a0), propput] HRESULT keepAliveInterval([in] long pkeepAliveInterval);
323 [id(0x000000a0), propget] HRESULT keepAliveInterval([out, retval] long * pkeepAliveInterval);
324 [id(0x000000a3), propput] HRESULT shutdownTimeout([in] long pshutdownTimeout);
325 [id(0x000000a3), propget] HRESULT shutdownTimeout([out, retval] long * pshutdownTimeout);
326 [id(0x000000a4), propput] HRESULT overallConnectionTimeout([in] long poverallConnectionTimeout);
327 [id(0x000000a4), propget] HRESULT overallConnectionTimeout([out, retval] long * poverallConnectionTimeout);
328 [id(0x000000a5), propput] HRESULT singleConnectionTimeout([in] long psingleConnectionTimeout);
329 [id(0x000000a5), propget] HRESULT singleConnectionTimeout([out, retval] long * psingleConnectionTimeout);
330 [id(0x000000a6), propput] HRESULT KeyboardType([in] long pkeyboardType);
331 [id(0x000000a6), propget] HRESULT KeyboardType([out, retval] long * pkeyboardType);
332 [id(0x000000a7), propput] HRESULT KeyboardSubType([in] long pkeyboardSubType);
333 [id(0x000000a7), propget] HRESULT KeyboardSubType([out, retval] long * pkeyboardSubType);
334 [id(0x000000a8), propput] HRESULT KeyboardFunctionKey([in] long pkeyboardFunctionKey);
335 [id(0x000000a8), propget] HRESULT KeyboardFunctionKey([out, retval] long * pkeyboardFunctionKey);
336 [id(0x000000a9), propput] HRESULT WinceFixedPalette([in] long pwinceFixedPalette);
337 [id(0x000000a9), propget] HRESULT WinceFixedPalette([out, retval] long * pwinceFixedPalette);
338 [id(0x000000b2), propput] HRESULT ConnectToServerConsole([in] VARIANT_BOOL pConnectToConsole);
339 [id(0x000000b2), propget] HRESULT ConnectToServerConsole([out, retval] VARIANT_BOOL * pConnectToConsole);
340 [id(0x000000b6), propput] HRESULT BitmapPersistence([in] long pbitmapPersistence);
341 [id(0x000000b6), propget] HRESULT BitmapPersistence([out, retval] long * pbitmapPersistence);
342 [id(0x000000b7), propput] HRESULT MinutesToIdleTimeout([in] long pminutesToIdleTimeout);
343 [id(0x000000b7), propget] HRESULT MinutesToIdleTimeout([out, retval] long * pminutesToIdleTimeout);
344 [id(0x000000b8), propput] HRESULT SmartSizing([in] VARIANT_BOOL pfSmartSizing);
345 [id(0x000000b8), propget] HRESULT SmartSizing([out, retval] VARIANT_BOOL * pfSmartSizing);
346 [id(0x000000b9), propput] HRESULT RdpdrLocalPrintingDocName([in] BSTR pLocalPrintingDocName);
347 [id(0x000000b9), propget] HRESULT RdpdrLocalPrintingDocName([out, retval] BSTR * pLocalPrintingDocName);
348 [id(0x000000c9), propput] HRESULT RdpdrClipCleanTempDirString([in] BSTR clipCleanTempDirString);
349 [id(0x000000c9), propget] HRESULT RdpdrClipCleanTempDirString([out, retval] BSTR * clipCleanTempDirString);
350 [id(0x000000ca), propput] HRESULT RdpdrClipPasteInfoString([in] BSTR clipPasteInfoString);
351 [id(0x000000ca), propget] HRESULT RdpdrClipPasteInfoString([out, retval] BSTR * clipPasteInfoString);
352 [id(0x000000ba), propput] HRESULT ClearTextPassword([in] BSTR rhs);
353 [id(0x000000bb), propput] HRESULT DisplayConnectionBar([in] VARIANT_BOOL pDisplayConnectionBar);
354 [id(0x000000bb), propget] HRESULT DisplayConnectionBar([out, retval] VARIANT_BOOL * pDisplayConnectionBar);
355 [id(0x000000bc), propput] HRESULT PinConnectionBar([in] VARIANT_BOOL pPinConnectionBar);
356 [id(0x000000bc), propget] HRESULT PinConnectionBar([out, retval] VARIANT_BOOL * pPinConnectionBar);
357 [id(0x000000bd), propput] HRESULT GrabFocusOnConnect([in] VARIANT_BOOL pfGrabFocusOnConnect);
358 [id(0x000000bd), propget] HRESULT GrabFocusOnConnect([out, retval] VARIANT_BOOL * pfGrabFocusOnConnect);
359 [id(0x000000be), propput] HRESULT LoadBalanceInfo([in] BSTR pLBInfo);
360 [id(0x000000be), propget] HRESULT LoadBalanceInfo([out, retval] BSTR * pLBInfo);
361 [id(0x000000bf), propput] HRESULT RedirectDrives([in] VARIANT_BOOL pRedirectDrives);
362 [id(0x000000bf), propget] HRESULT RedirectDrives([out, retval] VARIANT_BOOL * pRedirectDrives);
363 [id(0x000000c0), propput] HRESULT RedirectPrinters([in] VARIANT_BOOL pRedirectPrinters);
364 [id(0x000000c0), propget] HRESULT RedirectPrinters([out, retval] VARIANT_BOOL * pRedirectPrinters);
365 [id(0x000000c1), propput] HRESULT RedirectPorts([in] VARIANT_BOOL pRedirectPorts);
366 [id(0x000000c1), propget] HRESULT RedirectPorts([out, retval] VARIANT_BOOL * pRedirectPorts);
367 [id(0x000000c2), propput] HRESULT RedirectSmartCards([in] VARIANT_BOOL pRedirectSmartCards);
368 [id(0x000000c2), propget] HRESULT RedirectSmartCards([out, retval] VARIANT_BOOL * pRedirectSmartCards);
369 [id(0x000000c3), propput] HRESULT BitmapVirtualCache16BppSize([in] long pBitmapVirtualCache16BppSize);
370 [id(0x000000c3), propget] HRESULT BitmapVirtualCache16BppSize([out, retval] long * pBitmapVirtualCache16BppSize);
371 [id(0x000000c4), propput] HRESULT BitmapVirtualCache24BppSize([in] long pBitmapVirtualCache24BppSize);
372 [id(0x000000c4), propget] HRESULT BitmapVirtualCache24BppSize([out, retval] long * pBitmapVirtualCache24BppSize);
373 [id(0x000000c8), propput] HRESULT PerformanceFlags([in] long pDisableList);
374 [id(0x000000c8), propget] HRESULT PerformanceFlags([out, retval] long * pDisableList);
375 [id(0x000000cb), propput] HRESULT ConnectWithEndpoint([in] VARIANT * rhs);
376 [id(0x000000cc), propput] HRESULT NotifyTSPublicKey([in] VARIANT_BOOL pfNotify);
377 [id(0x000000cc), propget] HRESULT NotifyTSPublicKey([out, retval] VARIANT_BOOL * pfNotify);
378 };
379
380 [
381 uuid(9AC42117-2B76-4320-AA44-0E616AB8437B),
382 dual,
383 oleautomation
384 ]
385 interface IMsRdpClientAdvancedSettings2: IMsRdpClientAdvancedSettings
386 {
387 [id(0x000000cd), propget] HRESULT CanAutoReconnect([out, retval] VARIANT_BOOL * pfCanAutoReconnect);
388 [id(0x000000ce), propput] HRESULT EnableAutoReconnect([in] VARIANT_BOOL pfEnableAutoReconnect);
389 [id(0x000000ce), propget] HRESULT EnableAutoReconnect([out, retval] VARIANT_BOOL * pfEnableAutoReconnect);
390 [id(0x000000cf), propput] HRESULT MaxReconnectAttempts([in] long pMaxReconnectAttempts);
391 [id(0x000000cf), propget] HRESULT MaxReconnectAttempts([out, retval] long * pMaxReconnectAttempts);
392 };
393
394 [
395 uuid(19CD856B-C542-4C53-ACEE-F127E3BE1A59),
396 dual,
397 oleautomation
398 ]
399 interface IMsRdpClientAdvancedSettings3: IMsRdpClientAdvancedSettings2
400 {
401 [id(0x000000d2), propput] HRESULT ConnectionBarShowMinimizeButton([in] VARIANT_BOOL pfShowMinimize);
402 [id(0x000000d2), propget] HRESULT ConnectionBarShowMinimizeButton([out, retval] VARIANT_BOOL * pfShowMinimize);
403 [id(0x000000d3), propput] HRESULT ConnectionBarShowRestoreButton([in] VARIANT_BOOL pfShowRestore);
404 [id(0x000000d3), propget] HRESULT ConnectionBarShowRestoreButton([out, retval] VARIANT_BOOL * pfShowRestore);
405 };
406
407 [
408 uuid(FBA7F64E-7345-4405-AE50-FA4A763DC0DE),
409 dual,
410 oleautomation
411 ]
412 interface IMsRdpClientAdvancedSettings4: IMsRdpClientAdvancedSettings3
413 {
414 [id(0x000000d4), propput] HRESULT AuthenticationLevel([in] unsigned int puiAuthLevel);
415 [id(0x000000d4), propget] HRESULT AuthenticationLevel([out, retval] unsigned int * puiAuthLevel);
416 };
417
418 [
419 uuid(C9D65442-A0F9-45B2-8F73-D61D2DB8CBB6),
420 dual,
421 oleautomation
422 ]
423 interface IMsTscSecuredSettings: IDispatch
424 {
425 [id(0x00000001), propput] HRESULT StartProgram([in] BSTR pStartProgram);
426 [id(0x00000001), propget] HRESULT StartProgram([out, retval] BSTR * pStartProgram);
427 [id(0x00000002), propput] HRESULT WorkDir([in] BSTR pWorkDir);
428 [id(0x00000002), propget] HRESULT WorkDir([out, retval] BSTR * pWorkDir);
429 [id(0x00000003), propput] HRESULT FullScreen([in] long pfFullScreen);
430 [id(0x00000003), propget] HRESULT FullScreen([out, retval] long * pfFullScreen);
431 };
432
433 [
434 uuid(605BEFCF-39C1-45CC-A811-068FB7BE346D),
435 dual,
436 oleautomation
437 ]
438 interface IMsRdpClientSecuredSettings: IMsTscSecuredSettings
439 {
440 [id(0x00000004), propput] HRESULT KeyboardHookMode([in] long pkeyboardHookMode);
441 [id(0x00000004), propget] HRESULT KeyboardHookMode([out, retval] long * pkeyboardHookMode);
442 [id(0x00000005), propput] HRESULT AudioRedirectionMode([in] long pAudioRedirectionMode);
443 [id(0x00000005), propget] HRESULT AudioRedirectionMode([out, retval] long * pAudioRedirectionMode);
444 };
445
446 [
447 uuid(209D0EB9-6254-47B1-9033-A98DAE55BB27),
448 hidden,
449 dual,
450 oleautomation
451 ]
452 interface IMsTscDebug: IDispatch
453 {
454 [id(0x000000c8), propput] HRESULT HatchBitmapPDU([in] long phatchBitmapPDU);
455 [id(0x000000c8), propget] HRESULT HatchBitmapPDU([out, retval] long * phatchBitmapPDU);
456 [id(0x000000c9), propput] HRESULT HatchSSBOrder([in] long phatchSSBOrder);
457 [id(0x000000c9), propget] HRESULT HatchSSBOrder([out, retval] long * phatchSSBOrder);
458 [id(0x000000ca), propput] HRESULT HatchMembltOrder([in] long phatchMembltOrder);
459 [id(0x000000ca), propget] HRESULT HatchMembltOrder([out, retval] long * phatchMembltOrder);
460 [id(0x000000cb), propput] HRESULT HatchIndexPDU([in] long phatchIndexPDU);
461 [id(0x000000cb), propget] HRESULT HatchIndexPDU([out, retval] long * phatchIndexPDU);
462 [id(0x000000cc), propput] HRESULT LabelMemblt([in] long plabelMemblt);
463 [id(0x000000cc), propget] HRESULT LabelMemblt([out, retval] long * plabelMemblt);
464 [id(0x000000cd), propput] HRESULT BitmapCacheMonitor([in] long pbitmapCacheMonitor);
465 [id(0x000000cd), propget] HRESULT BitmapCacheMonitor([out, retval] long * pbitmapCacheMonitor);
466 [id(0x000000ce), propput] HRESULT MallocFailuresPercent([in] long pmallocFailuresPercent);
467 [id(0x000000ce), propget] HRESULT MallocFailuresPercent([out, retval] long * pmallocFailuresPercent);
468 [id(0x000000cf), propput] HRESULT MallocHugeFailuresPercent([in] long pmallocHugeFailuresPercent);
469 [id(0x000000cf), propget] HRESULT MallocHugeFailuresPercent([out, retval] long * pmallocHugeFailuresPercent);
470 [id(0x000000d0), propput] HRESULT NetThroughput([in] long NetThroughput);
471 [id(0x000000d0), propget] HRESULT NetThroughput([out, retval] long * NetThroughput);
472 [id(0x000000d1), propput] HRESULT CLXCmdLine([in] BSTR pCLXCmdLine);
473 [id(0x000000d1), propget] HRESULT CLXCmdLine([out, retval] BSTR * pCLXCmdLine);
474 [id(0x000000d2), propput] HRESULT CLXDll([in] BSTR pCLXDll);
475 [id(0x000000d2), propget] HRESULT CLXDll([out, retval] BSTR * pCLXDll);
476 };
477
478 [
479 #ifdef MSTSCLIB_REDIST_
480 uuid(1FB464C8-09BB-4017-A2F5-EB742F04392F)
481 #else
482 uuid(A41A4187-5A86-4E26-B40A-856F9035D9CB)
483 #endif
484 ]
485 coclass MsTscAx
486 {
487 interface IMsRdpClient;
488 [default] interface IMsTscAx;
489 [default, source] dispinterface IMsTscAxEvents;
490 interface IMsTscNonScriptable;
491 interface IMsRdpClientNonScriptable;
492 };
493
494 [
495 #ifdef MSTSCLIB_REDIST_
496 uuid(791FA017-2DE3-492E-ACC5-53C67A2B94D0)
497 #else
498 uuid(7CACBD7B-0D99-468F-AC33-22E495C0AFE5)
499 #endif
500 ]
501 coclass MsRdpClient
502 {
503 [default] interface IMsRdpClient;
504 interface IMsTscAx;
505 [default, source] dispinterface IMsTscAxEvents;
506 interface IMsTscNonScriptable;
507 interface IMsRdpClientNonScriptable;
508 };
509
510 [
511 #ifdef MSTSCLIB_REDIST_
512 uuid(9059F30F-4EB1-4BD2-9FDC-36F43A218F4A)
513 #else
514 uuid(3523C2FB-4031-44E4-9A3B-F1E94986EE7F)
515 #endif
516 ]
517 coclass MsRdpClient2
518 {
519 [default] interface IMsRdpClient2;
520 interface IMsRdpClient;
521 interface IMsTscAx;
522 [default, source] dispinterface IMsTscAxEvents;
523 interface IMsTscNonScriptable;
524 interface IMsRdpClientNonScriptable;
525 };
526
527 [
528 #ifdef MSTSCLIB_REDIST_
529 uuid(7584C670-2274-4EFB-B00B-D6AABA6D3850)
530 #else
531 uuid(ACE575FD-1FCF-4074-9401-EBAB990FA9DE)
532 #endif
533 ]
534 coclass MsRdpClient3
535 {
536 [default] interface IMsRdpClient3;
537 interface IMsRdpClient2;
538 interface IMsRdpClient;
539 interface IMsTscAx;
540 [default, source] dispinterface IMsTscAxEvents;
541 interface IMsTscNonScriptable;
542 interface IMsRdpClientNonScriptable;
543 };
544
545 [uuid(6AE29350-321B-42BE-BBE5-12FB5270C0DE)]
546 coclass MsRdpClient4
547 {
548 [default] interface IMsRdpClient4;
549 interface IMsRdpClient3;
550 interface IMsRdpClient2;
551 interface IMsRdpClient;
552 interface IMsTscAx;
553 [default, source] dispinterface IMsTscAxEvents;
554 interface IMsTscNonScriptable;
555 interface IMsRdpClientNonScriptable;
556 interface IMsRdpClientNonScriptable2;
557 };
558
559 };
560
561 // EOF