forked from nogginware/mstscdump
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mstscax.tlh
3830 lines (3521 loc) · 150 KB
/
mstscax.tlh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Created by Microsoft (R) C/C++ Compiler Version 11.00.61030.0 (408c28f6).
//
// g:\nogginware\mstscdump\mstscax.tlh
//
// C++ source equivalent of type library mstscax.dll
// compiler-generated file created 02/13/14 at 10:50:52 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
namespace MSTSCLib {
//
// Forward references and typedefs
//
struct __declspec(uuid("8c11efa1-92c3-11d1-bc1e-00c04fa31489"))
/* LIBID */ __MSTSCLib;
struct __declspec(uuid("336d5562-efa8-482e-8cb3-c5c0fc7a7db6"))
/* dispinterface */ IMsTscAxEvents;
enum __MIDL___MIDL_itf_mstsax_0000_0036_0001;
enum __MIDL___MIDL_itf_mstsax_0000_0046_0001;
enum __MIDL___MIDL_itf_mstsax_0000_0046_0002;
struct /* coclass */ MsTscAxNotSafeForScripting;
struct __declspec(uuid("92b4a539-7115-4b7c-a5a9-e5d9efc2780a"))
/* dual interface */ IMsRdpClient;
struct __declspec(uuid("8c11efae-92c3-11d1-bc1e-00c04fa31489"))
/* dual interface */ IMsTscAx;
struct __declspec(uuid("327bb5cd-834e-4400-aef2-b30e15e5d682"))
/* dual interface */ IMsTscAx_Redist;
struct __declspec(uuid("c9d65442-a0f9-45b2-8f73-d61d2db8cbb6"))
/* dual interface */ IMsTscSecuredSettings;
struct __declspec(uuid("809945cc-4b3b-4a92-a6b0-dbf9b5f2ef2d"))
/* dual interface */ IMsTscAdvancedSettings;
struct __declspec(uuid("209d0eb9-6254-47b1-9033-a98dae55bb27"))
/* dual interface */ IMsTscDebug;
struct __declspec(uuid("3c65b4ab-12b3-465b-acd4-b8dad3bff9e2"))
/* dual interface */ IMsRdpClientAdvancedSettings;
struct __declspec(uuid("605befcf-39c1-45cc-a811-068fb7be346d"))
/* dual interface */ IMsRdpClientSecuredSettings;
enum __MIDL___MIDL_itf_mstsax_0000_0000_0001;
enum __MIDL_IMsRdpClient_0001;
struct __declspec(uuid("c1e6743a-41c1-4a74-832a-0dd06c1c7a0e"))
/* interface */ IMsTscNonScriptable;
struct __declspec(uuid("2f079c4c-87b2-4afd-97ab-20cdb43038ae"))
/* interface */ IMsRdpClientNonScriptable;
struct /* coclass */ MsTscAx;
struct /* coclass */ MsRdpClientNotSafeForScripting;
struct /* coclass */ MsRdpClient;
struct /* coclass */ MsRdpClient2NotSafeForScripting;
struct __declspec(uuid("e7e17dc4-3b71-4ba7-a8e6-281ffadca28f"))
/* dual interface */ IMsRdpClient2;
struct __declspec(uuid("9ac42117-2b76-4320-aa44-0e616ab8437b"))
/* dual interface */ IMsRdpClientAdvancedSettings2;
struct /* coclass */ MsRdpClient2;
struct /* coclass */ MsRdpClient2a;
struct /* coclass */ MsRdpClient3NotSafeForScripting;
struct __declspec(uuid("91b7cbc5-a72e-4fa0-9300-d647d7e897ff"))
/* dual interface */ IMsRdpClient3;
struct __declspec(uuid("19cd856b-c542-4c53-acee-f127e3be1a59"))
/* dual interface */ IMsRdpClientAdvancedSettings3;
struct /* coclass */ MsRdpClient3;
struct /* coclass */ MsRdpClient3a;
struct /* coclass */ MsRdpClient4NotSafeForScripting;
struct __declspec(uuid("095e0738-d97d-488b-b9f6-dd0e8d66c0de"))
/* dual interface */ IMsRdpClient4;
struct __declspec(uuid("fba7f64e-7345-4405-ae50-fa4a763dc0de"))
/* dual interface */ IMsRdpClientAdvancedSettings4;
struct __declspec(uuid("17a5e535-4072-4fa4-af32-c8d0d47345e9"))
/* interface */ IMsRdpClientNonScriptable2;
struct /* coclass */ MsRdpClient4;
struct /* coclass */ MsRdpClient4a;
struct /* coclass */ MsRdpClient5NotSafeForScripting;
struct __declspec(uuid("4eb5335b-6429-477d-b922-e06a28ecd8bf"))
/* dual interface */ IMsRdpClient5;
struct __declspec(uuid("720298c0-a099-46f5-9f82-96921bae4701"))
/* dual interface */ IMsRdpClientTransportSettings;
struct __declspec(uuid("fba7f64e-6783-4405-da45-fa4a763dabd0"))
/* dual interface */ IMsRdpClientAdvancedSettings5;
struct __declspec(uuid("fdd029f9-467a-4c49-8529-64b521dbd1b4"))
/* dual interface */ ITSRemoteProgram;
struct __declspec(uuid("d012ae6d-c19a-4bfe-b367-201f8911f134"))
/* dual interface */ IMsRdpClientShell;
struct __declspec(uuid("b3378d90-0728-45c7-8ed7-b6159fb92219"))
/* interface */ IMsRdpClientNonScriptable3;
struct __declspec(uuid("56540617-d281-488c-8738-6a8fdf64a118"))
/* interface */ IMsRdpDeviceCollection;
struct __declspec(uuid("60c3b9c8-9e92-4f5e-a3e7-604a912093ea"))
/* interface */ IMsRdpDevice;
struct __declspec(uuid("7ff17599-da2c-4677-ad35-f60c04fe1585"))
/* interface */ IMsRdpDriveCollection;
struct __declspec(uuid("d28b5458-f694-47a8-8e61-40356a767e46"))
/* interface */ IMsRdpDrive;
struct /* coclass */ MsRdpClient5;
struct /* coclass */ MsRdpClient6NotSafeForScripting;
struct __declspec(uuid("d43b7d80-8517-4b6d-9eac-96ad6800d7f2"))
/* dual interface */ IMsRdpClient6;
struct __declspec(uuid("222c4b5d-45d9-4df0-a7c6-60cf9089d285"))
/* dual interface */ IMsRdpClientAdvancedSettings6;
struct __declspec(uuid("67341688-d606-4c73-a5d2-2e0489009319"))
/* dual interface */ IMsRdpClientTransportSettings2;
struct __declspec(uuid("f50fa8aa-1c7d-4f59-b15c-a90cacae1fcb"))
/* interface */ IMsRdpClientNonScriptable4;
enum __MIDL_IMsRdpClientNonScriptable4_0001;
struct /* coclass */ MsRdpClient6;
struct /* coclass */ MsRdpClient7NotSafeForScripting;
struct __declspec(uuid("b2a5b5ce-3461-444a-91d4-add26d070638"))
/* dual interface */ IMsRdpClient7;
struct __declspec(uuid("26036036-4010-4578-8091-0db9a1edf9c3"))
/* dual interface */ IMsRdpClientAdvancedSettings7;
struct __declspec(uuid("3d5b21ac-748d-41de-8f30-e15169586bd4"))
/* dual interface */ IMsRdpClientTransportSettings3;
struct __declspec(uuid("25f2ce20-8b1d-4971-a7cd-549dae201fc0"))
/* dual interface */ IMsRdpClientSecuredSettings2;
struct __declspec(uuid("92c38a7d-241a-418c-9936-099872c9af20"))
/* dual interface */ ITSRemoteProgram2;
struct __declspec(uuid("4f6996d5-d7b1-412c-b0ff-063718566907"))
/* interface */ IMsRdpClientNonScriptable5;
struct __declspec(uuid("fdd029f9-9574-4def-8529-64b521cccaa4"))
/* interface */ IMsRdpPreferredRedirectionInfo;
struct __declspec(uuid("302d8188-0052-4807-806a-362b628f9ac5"))
/* interface */ IMsRdpExtendedSettings;
struct /* coclass */ MsRdpClient7;
struct /* coclass */ MsRdpClient8NotSafeForScripting;
struct __declspec(uuid("4247e044-9271-43a9-bc49-e2ad9e855d62"))
/* dual interface */ IMsRdpClient8;
enum __MIDL___MIDL_itf_mstsax_0000_0000_0004;
struct __declspec(uuid("89acb528-2557-4d16-8625-226a30e97e9a"))
/* dual interface */ IMsRdpClientAdvancedSettings8;
enum __MIDL___MIDL_itf_mstsax_0000_0000_0003;
enum __MIDL_IMsRdpClient8_0001;
struct /* coclass */ MsRdpClient8;
struct __declspec(uuid("079863b7-6d47-4105-8bfe-0cdcb360e67d"))
/* dispinterface */ IRemoteDesktopClientEvents;
struct /* coclass */ RemoteDesktopClient;
struct __declspec(uuid("57d25668-625a-4905-be4e-304caa13f89c"))
/* dual interface */ IRemoteDesktopClient;
struct __declspec(uuid("48a0f2a7-2713-431f-bbac-6f4558e7d64d"))
/* dual interface */ IRemoteDesktopClientSettings;
struct __declspec(uuid("7d54bc4e-1028-45d4-8b0a-b9b6bffba176"))
/* dual interface */ IRemoteDesktopClientActions;
enum __MIDL_IRemoteDesktopClientActions_0001;
enum __MIDL_IRemoteDesktopClientActions_0002;
enum __MIDL_IRemoteDesktopClientActions_0003;
struct __declspec(uuid("260ec22d-8cbc-44b5-9e88-2a37f6c93ae9"))
/* dual interface */ IRemoteDesktopClientTouchPointer;
typedef enum __MIDL___MIDL_itf_mstsax_0000_0036_0001 AutoReconnectContinueState;
typedef enum __MIDL___MIDL_itf_mstsax_0000_0046_0001 RemoteProgramResult;
typedef enum __MIDL___MIDL_itf_mstsax_0000_0046_0002 RemoteWindowDisplayedAttribute;
typedef enum __MIDL___MIDL_itf_mstsax_0000_0000_0001 ExtendedDisconnectReasonCode;
typedef enum __MIDL_IMsRdpClient_0001 ControlCloseStatus;
#if !defined(_WIN64)
typedef __w64 unsigned long UINT_PTR;
#else
typedef unsigned __int64 UINT_PTR;
#endif
#if !defined(_WIN64)
typedef __w64 long LONG_PTR;
#else
typedef __int64 LONG_PTR;
#endif
typedef enum __MIDL_IMsRdpClientNonScriptable4_0001 RedirectionWarningType;
typedef enum __MIDL___MIDL_itf_mstsax_0000_0000_0004 RemoteSessionActionType;
typedef enum __MIDL___MIDL_itf_mstsax_0000_0000_0003 ClientSpec;
typedef enum __MIDL_IMsRdpClient8_0001 ControlReconnectStatus;
typedef enum __MIDL_IRemoteDesktopClientActions_0001 RemoteActionType;
typedef enum __MIDL_IRemoteDesktopClientActions_0002 SnapshotEncodingType;
typedef enum __MIDL_IRemoteDesktopClientActions_0003 SnapshotFormatType;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(IMsTscAxEvents, __uuidof(IMsTscAxEvents));
_COM_SMARTPTR_TYPEDEF(IMsTscAx_Redist, __uuidof(IMsTscAx_Redist));
_COM_SMARTPTR_TYPEDEF(IMsTscSecuredSettings, __uuidof(IMsTscSecuredSettings));
_COM_SMARTPTR_TYPEDEF(IMsTscAdvancedSettings, __uuidof(IMsTscAdvancedSettings));
_COM_SMARTPTR_TYPEDEF(IMsTscDebug, __uuidof(IMsTscDebug));
_COM_SMARTPTR_TYPEDEF(IMsTscAx, __uuidof(IMsTscAx));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings, __uuidof(IMsRdpClientAdvancedSettings));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientSecuredSettings, __uuidof(IMsRdpClientSecuredSettings));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient, __uuidof(IMsRdpClient));
_COM_SMARTPTR_TYPEDEF(IMsTscNonScriptable, __uuidof(IMsTscNonScriptable));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientNonScriptable, __uuidof(IMsRdpClientNonScriptable));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings2, __uuidof(IMsRdpClientAdvancedSettings2));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient2, __uuidof(IMsRdpClient2));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings3, __uuidof(IMsRdpClientAdvancedSettings3));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient3, __uuidof(IMsRdpClient3));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings4, __uuidof(IMsRdpClientAdvancedSettings4));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient4, __uuidof(IMsRdpClient4));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientNonScriptable2, __uuidof(IMsRdpClientNonScriptable2));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientTransportSettings, __uuidof(IMsRdpClientTransportSettings));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings5, __uuidof(IMsRdpClientAdvancedSettings5));
_COM_SMARTPTR_TYPEDEF(ITSRemoteProgram, __uuidof(ITSRemoteProgram));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientShell, __uuidof(IMsRdpClientShell));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient5, __uuidof(IMsRdpClient5));
_COM_SMARTPTR_TYPEDEF(IMsRdpDevice, __uuidof(IMsRdpDevice));
_COM_SMARTPTR_TYPEDEF(IMsRdpDeviceCollection, __uuidof(IMsRdpDeviceCollection));
_COM_SMARTPTR_TYPEDEF(IMsRdpDrive, __uuidof(IMsRdpDrive));
_COM_SMARTPTR_TYPEDEF(IMsRdpDriveCollection, __uuidof(IMsRdpDriveCollection));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientNonScriptable3, __uuidof(IMsRdpClientNonScriptable3));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings6, __uuidof(IMsRdpClientAdvancedSettings6));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientTransportSettings2, __uuidof(IMsRdpClientTransportSettings2));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient6, __uuidof(IMsRdpClient6));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientNonScriptable4, __uuidof(IMsRdpClientNonScriptable4));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings7, __uuidof(IMsRdpClientAdvancedSettings7));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientTransportSettings3, __uuidof(IMsRdpClientTransportSettings3));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientSecuredSettings2, __uuidof(IMsRdpClientSecuredSettings2));
_COM_SMARTPTR_TYPEDEF(ITSRemoteProgram2, __uuidof(ITSRemoteProgram2));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient7, __uuidof(IMsRdpClient7));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientNonScriptable5, __uuidof(IMsRdpClientNonScriptable5));
_COM_SMARTPTR_TYPEDEF(IMsRdpPreferredRedirectionInfo, __uuidof(IMsRdpPreferredRedirectionInfo));
_COM_SMARTPTR_TYPEDEF(IMsRdpExtendedSettings, __uuidof(IMsRdpExtendedSettings));
_COM_SMARTPTR_TYPEDEF(IMsRdpClientAdvancedSettings8, __uuidof(IMsRdpClientAdvancedSettings8));
_COM_SMARTPTR_TYPEDEF(IMsRdpClient8, __uuidof(IMsRdpClient8));
_COM_SMARTPTR_TYPEDEF(IRemoteDesktopClientEvents, __uuidof(IRemoteDesktopClientEvents));
_COM_SMARTPTR_TYPEDEF(IRemoteDesktopClientSettings, __uuidof(IRemoteDesktopClientSettings));
_COM_SMARTPTR_TYPEDEF(IRemoteDesktopClientActions, __uuidof(IRemoteDesktopClientActions));
_COM_SMARTPTR_TYPEDEF(IRemoteDesktopClientTouchPointer, __uuidof(IRemoteDesktopClientTouchPointer));
_COM_SMARTPTR_TYPEDEF(IRemoteDesktopClient, __uuidof(IRemoteDesktopClient));
//
// Type library items
//
struct __declspec(uuid("336d5562-efa8-482e-8cb3-c5c0fc7a7db6"))
IMsTscAxEvents : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT OnConnecting ( );
HRESULT OnConnected ( );
HRESULT OnLoginComplete ( );
HRESULT OnDisconnected (
long discReason );
HRESULT OnEnterFullScreenMode ( );
HRESULT OnLeaveFullScreenMode ( );
HRESULT OnChannelReceivedData (
_bstr_t chanName,
_bstr_t data );
HRESULT OnRequestGoFullScreen ( );
HRESULT OnRequestLeaveFullScreen ( );
HRESULT OnFatalError (
long errorCode );
HRESULT OnWarning (
long warningCode );
HRESULT OnRemoteDesktopSizeChange (
long width,
long height );
HRESULT OnIdleTimeoutNotification ( );
HRESULT OnRequestContainerMinimize ( );
HRESULT OnConfirmClose (
VARIANT_BOOL * pfAllowClose );
HRESULT OnReceivedTSPublicKey (
_bstr_t publicKey,
VARIANT_BOOL * pfContinueLogon );
HRESULT OnAutoReconnecting (
long disconnectReason,
long attemptCount,
AutoReconnectContinueState * pArcContinueStatus );
HRESULT OnAuthenticationWarningDisplayed ( );
HRESULT OnAuthenticationWarningDismissed ( );
HRESULT OnRemoteProgramResult (
_bstr_t bstrRemoteProgram,
RemoteProgramResult lError,
VARIANT_BOOL vbIsExecutable );
HRESULT OnRemoteProgramDisplayed (
VARIANT_BOOL vbDisplayed,
unsigned long uDisplayInformation );
HRESULT OnRemoteWindowDisplayed (
VARIANT_BOOL vbDisplayed,
wireHWND hwnd,
RemoteWindowDisplayedAttribute windowAttribute );
HRESULT OnLogonError (
long lError );
HRESULT OnFocusReleased (
int iDirection );
HRESULT OnUserNameAcquired (
_bstr_t bstrUserName );
HRESULT OnMouseInputModeChanged (
VARIANT_BOOL fMouseModeRelative );
HRESULT OnServiceMessageReceived (
_bstr_t serviceMessage );
HRESULT OnConnectionBarPullDown ( );
HRESULT OnNetworkStatusChanged (
unsigned long qualityLevel,
long bandwidth,
long rtt );
HRESULT OnDevicesButtonPressed ( );
HRESULT OnAutoReconnected ( );
HRESULT OnAutoReconnecting2 (
long disconnectReason,
VARIANT_BOOL networkAvailable,
long attemptCount,
long maxAttemptCount );
};
enum __MIDL___MIDL_itf_mstsax_0000_0036_0001
{
autoReconnectContinueAutomatic = 0,
autoReconnectContinueStop = 1,
autoReconnectContinueManual = 2
};
enum __MIDL___MIDL_itf_mstsax_0000_0046_0001
{
remoteAppResultOk = 0,
remoteAppResultLocked = 1,
remoteAppResultProtocolError = 2,
remoteAppResultNotInWhitelist = 3,
remoteAppResultNetworkPathDenied = 4,
remoteAppResultFileNotFound = 5,
remoteAppResultFailure = 6,
remoteAppResultHookNotLoaded = 7
};
enum __MIDL___MIDL_itf_mstsax_0000_0046_0002
{
remoteAppWindowNone = 0,
remoteAppWindowDisplayed = 1,
remoteAppShellIconDisplayed = 2
};
struct __declspec(uuid("a41a4187-5a86-4e26-b40a-856f9035d9cb"))
MsTscAxNotSafeForScripting;
// interface IMsRdpClient
// [ default ] interface IMsTscAx
// interface IMsTscAx_Redist
// [ default, source ] dispinterface IMsTscAxEvents
// interface IMsTscNonScriptable
// interface IMsRdpClientNonScriptable
struct __declspec(uuid("327bb5cd-834e-4400-aef2-b30e15e5d682"))
IMsTscAx_Redist : IDispatch
{};
struct __declspec(uuid("c9d65442-a0f9-45b2-8f73-d61d2db8cbb6"))
IMsTscSecuredSettings : IDispatch
{
//
// Property data
//
__declspec(property(get=GetStartProgram,put=PutStartProgram))
_bstr_t StartProgram;
__declspec(property(get=GetWorkDir,put=PutWorkDir))
_bstr_t WorkDir;
__declspec(property(get=GetFullScreen,put=PutFullScreen))
long FullScreen;
//
// Wrapper methods for error-handling
//
void PutStartProgram (
_bstr_t pStartProgram );
_bstr_t GetStartProgram ( );
void PutWorkDir (
_bstr_t pWorkDir );
_bstr_t GetWorkDir ( );
void PutFullScreen (
long pfFullScreen );
long GetFullScreen ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall put_StartProgram (
/*[in]*/ BSTR pStartProgram ) = 0;
virtual HRESULT __stdcall get_StartProgram (
/*[out,retval]*/ BSTR * pStartProgram ) = 0;
virtual HRESULT __stdcall put_WorkDir (
/*[in]*/ BSTR pWorkDir ) = 0;
virtual HRESULT __stdcall get_WorkDir (
/*[out,retval]*/ BSTR * pWorkDir ) = 0;
virtual HRESULT __stdcall put_FullScreen (
/*[in]*/ long pfFullScreen ) = 0;
virtual HRESULT __stdcall get_FullScreen (
/*[out,retval]*/ long * pfFullScreen ) = 0;
};
struct __declspec(uuid("809945cc-4b3b-4a92-a6b0-dbf9b5f2ef2d"))
IMsTscAdvancedSettings : IDispatch
{
//
// Property data
//
__declspec(property(get=GetallowBackgroundInput,put=PutallowBackgroundInput))
long allowBackgroundInput;
__declspec(property(put=PutKeyBoardLayoutStr))
_bstr_t KeyBoardLayoutStr;
__declspec(property(put=PutPluginDlls))
_bstr_t PluginDlls;
__declspec(property(put=PutIconFile))
_bstr_t IconFile;
__declspec(property(put=PutIconIndex))
long IconIndex;
__declspec(property(get=GetContainerHandledFullScreen,put=PutContainerHandledFullScreen))
long ContainerHandledFullScreen;
__declspec(property(get=GetDisableRdpdr,put=PutDisableRdpdr))
long DisableRdpdr;
__declspec(property(get=GetCompress,put=PutCompress))
long Compress;
__declspec(property(get=GetBitmapPeristence,put=PutBitmapPeristence))
long BitmapPeristence;
//
// Wrapper methods for error-handling
//
void PutCompress (
long pcompress );
long GetCompress ( );
void PutBitmapPeristence (
long pbitmapPeristence );
long GetBitmapPeristence ( );
void PutallowBackgroundInput (
long pallowBackgroundInput );
long GetallowBackgroundInput ( );
void PutKeyBoardLayoutStr (
_bstr_t _arg1 );
void PutPluginDlls (
_bstr_t _arg1 );
void PutIconFile (
_bstr_t _arg1 );
void PutIconIndex (
long _arg1 );
void PutContainerHandledFullScreen (
long pContainerHandledFullScreen );
long GetContainerHandledFullScreen ( );
void PutDisableRdpdr (
long pDisableRdpdr );
long GetDisableRdpdr ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall put_Compress (
/*[in]*/ long pcompress ) = 0;
virtual HRESULT __stdcall get_Compress (
/*[out,retval]*/ long * pcompress ) = 0;
virtual HRESULT __stdcall put_BitmapPeristence (
/*[in]*/ long pbitmapPeristence ) = 0;
virtual HRESULT __stdcall get_BitmapPeristence (
/*[out,retval]*/ long * pbitmapPeristence ) = 0;
virtual HRESULT __stdcall put_allowBackgroundInput (
/*[in]*/ long pallowBackgroundInput ) = 0;
virtual HRESULT __stdcall get_allowBackgroundInput (
/*[out,retval]*/ long * pallowBackgroundInput ) = 0;
virtual HRESULT __stdcall put_KeyBoardLayoutStr (
/*[in]*/ BSTR _arg1 ) = 0;
virtual HRESULT __stdcall put_PluginDlls (
/*[in]*/ BSTR _arg1 ) = 0;
virtual HRESULT __stdcall put_IconFile (
/*[in]*/ BSTR _arg1 ) = 0;
virtual HRESULT __stdcall put_IconIndex (
/*[in]*/ long _arg1 ) = 0;
virtual HRESULT __stdcall put_ContainerHandledFullScreen (
/*[in]*/ long pContainerHandledFullScreen ) = 0;
virtual HRESULT __stdcall get_ContainerHandledFullScreen (
/*[out,retval]*/ long * pContainerHandledFullScreen ) = 0;
virtual HRESULT __stdcall put_DisableRdpdr (
/*[in]*/ long pDisableRdpdr ) = 0;
virtual HRESULT __stdcall get_DisableRdpdr (
/*[out,retval]*/ long * pDisableRdpdr ) = 0;
};
struct __declspec(uuid("209d0eb9-6254-47b1-9033-a98dae55bb27"))
IMsTscDebug : IDispatch
{
//
// Property data
//
__declspec(property(get=GetHatchBitmapPDU,put=PutHatchBitmapPDU))
long HatchBitmapPDU;
__declspec(property(get=GetHatchSSBOrder,put=PutHatchSSBOrder))
long HatchSSBOrder;
__declspec(property(get=GetHatchMembltOrder,put=PutHatchMembltOrder))
long HatchMembltOrder;
__declspec(property(get=GetHatchIndexPDU,put=PutHatchIndexPDU))
long HatchIndexPDU;
__declspec(property(get=GetLabelMemblt,put=PutLabelMemblt))
long LabelMemblt;
__declspec(property(get=GetBitmapCacheMonitor,put=PutBitmapCacheMonitor))
long BitmapCacheMonitor;
__declspec(property(get=GetMallocFailuresPercent,put=PutMallocFailuresPercent))
long MallocFailuresPercent;
__declspec(property(get=GetMallocHugeFailuresPercent,put=PutMallocHugeFailuresPercent))
long MallocHugeFailuresPercent;
__declspec(property(get=GetNetThroughput,put=PutNetThroughput))
long NetThroughput;
__declspec(property(get=GetCLXCmdLine,put=PutCLXCmdLine))
_bstr_t CLXCmdLine;
__declspec(property(get=GetCLXDll,put=PutCLXDll))
_bstr_t CLXDll;
__declspec(property(get=GetRemoteProgramsHatchVisibleRegion,put=PutRemoteProgramsHatchVisibleRegion))
long RemoteProgramsHatchVisibleRegion;
__declspec(property(get=GetRemoteProgramsHatchVisibleNoDataRegion,put=PutRemoteProgramsHatchVisibleNoDataRegion))
long RemoteProgramsHatchVisibleNoDataRegion;
__declspec(property(get=GetRemoteProgramsHatchNonVisibleRegion,put=PutRemoteProgramsHatchNonVisibleRegion))
long RemoteProgramsHatchNonVisibleRegion;
__declspec(property(get=GetRemoteProgramsHatchWindow,put=PutRemoteProgramsHatchWindow))
long RemoteProgramsHatchWindow;
__declspec(property(get=GetRemoteProgramsStayConnectOnBadCaps,put=PutRemoteProgramsStayConnectOnBadCaps))
long RemoteProgramsStayConnectOnBadCaps;
__declspec(property(get=GetControlType))
unsigned int ControlType;
__declspec(property(put=PutDecodeGfx))
VARIANT_BOOL DecodeGfx;
//
// Wrapper methods for error-handling
//
void PutHatchBitmapPDU (
long phatchBitmapPDU );
long GetHatchBitmapPDU ( );
void PutHatchSSBOrder (
long phatchSSBOrder );
long GetHatchSSBOrder ( );
void PutHatchMembltOrder (
long phatchMembltOrder );
long GetHatchMembltOrder ( );
void PutHatchIndexPDU (
long phatchIndexPDU );
long GetHatchIndexPDU ( );
void PutLabelMemblt (
long plabelMemblt );
long GetLabelMemblt ( );
void PutBitmapCacheMonitor (
long pbitmapCacheMonitor );
long GetBitmapCacheMonitor ( );
void PutMallocFailuresPercent (
long pmallocFailuresPercent );
long GetMallocFailuresPercent ( );
void PutMallocHugeFailuresPercent (
long pmallocHugeFailuresPercent );
long GetMallocHugeFailuresPercent ( );
void PutNetThroughput (
long NetThroughput );
long GetNetThroughput ( );
void PutCLXCmdLine (
_bstr_t pCLXCmdLine );
_bstr_t GetCLXCmdLine ( );
void PutCLXDll (
_bstr_t pCLXDll );
_bstr_t GetCLXDll ( );
void PutRemoteProgramsHatchVisibleRegion (
long pcbHatch );
long GetRemoteProgramsHatchVisibleRegion ( );
void PutRemoteProgramsHatchVisibleNoDataRegion (
long pcbHatch );
long GetRemoteProgramsHatchVisibleNoDataRegion ( );
void PutRemoteProgramsHatchNonVisibleRegion (
long pcbHatch );
long GetRemoteProgramsHatchNonVisibleRegion ( );
void PutRemoteProgramsHatchWindow (
long pcbHatch );
long GetRemoteProgramsHatchWindow ( );
void PutRemoteProgramsStayConnectOnBadCaps (
long pcbStayConnected );
long GetRemoteProgramsStayConnectOnBadCaps ( );
unsigned int GetControlType ( );
void PutDecodeGfx (
VARIANT_BOOL _arg1 );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall put_HatchBitmapPDU (
/*[in]*/ long phatchBitmapPDU ) = 0;
virtual HRESULT __stdcall get_HatchBitmapPDU (
/*[out,retval]*/ long * phatchBitmapPDU ) = 0;
virtual HRESULT __stdcall put_HatchSSBOrder (
/*[in]*/ long phatchSSBOrder ) = 0;
virtual HRESULT __stdcall get_HatchSSBOrder (
/*[out,retval]*/ long * phatchSSBOrder ) = 0;
virtual HRESULT __stdcall put_HatchMembltOrder (
/*[in]*/ long phatchMembltOrder ) = 0;
virtual HRESULT __stdcall get_HatchMembltOrder (
/*[out,retval]*/ long * phatchMembltOrder ) = 0;
virtual HRESULT __stdcall put_HatchIndexPDU (
/*[in]*/ long phatchIndexPDU ) = 0;
virtual HRESULT __stdcall get_HatchIndexPDU (
/*[out,retval]*/ long * phatchIndexPDU ) = 0;
virtual HRESULT __stdcall put_LabelMemblt (
/*[in]*/ long plabelMemblt ) = 0;
virtual HRESULT __stdcall get_LabelMemblt (
/*[out,retval]*/ long * plabelMemblt ) = 0;
virtual HRESULT __stdcall put_BitmapCacheMonitor (
/*[in]*/ long pbitmapCacheMonitor ) = 0;
virtual HRESULT __stdcall get_BitmapCacheMonitor (
/*[out,retval]*/ long * pbitmapCacheMonitor ) = 0;
virtual HRESULT __stdcall put_MallocFailuresPercent (
/*[in]*/ long pmallocFailuresPercent ) = 0;
virtual HRESULT __stdcall get_MallocFailuresPercent (
/*[out,retval]*/ long * pmallocFailuresPercent ) = 0;
virtual HRESULT __stdcall put_MallocHugeFailuresPercent (
/*[in]*/ long pmallocHugeFailuresPercent ) = 0;
virtual HRESULT __stdcall get_MallocHugeFailuresPercent (
/*[out,retval]*/ long * pmallocHugeFailuresPercent ) = 0;
virtual HRESULT __stdcall put_NetThroughput (
/*[in]*/ long NetThroughput ) = 0;
virtual HRESULT __stdcall get_NetThroughput (
/*[out,retval]*/ long * NetThroughput ) = 0;
virtual HRESULT __stdcall put_CLXCmdLine (
/*[in]*/ BSTR pCLXCmdLine ) = 0;
virtual HRESULT __stdcall get_CLXCmdLine (
/*[out,retval]*/ BSTR * pCLXCmdLine ) = 0;
virtual HRESULT __stdcall put_CLXDll (
/*[in]*/ BSTR pCLXDll ) = 0;
virtual HRESULT __stdcall get_CLXDll (
/*[out,retval]*/ BSTR * pCLXDll ) = 0;
virtual HRESULT __stdcall put_RemoteProgramsHatchVisibleRegion (
/*[in]*/ long pcbHatch ) = 0;
virtual HRESULT __stdcall get_RemoteProgramsHatchVisibleRegion (
/*[out,retval]*/ long * pcbHatch ) = 0;
virtual HRESULT __stdcall put_RemoteProgramsHatchVisibleNoDataRegion (
/*[in]*/ long pcbHatch ) = 0;
virtual HRESULT __stdcall get_RemoteProgramsHatchVisibleNoDataRegion (
/*[out,retval]*/ long * pcbHatch ) = 0;
virtual HRESULT __stdcall put_RemoteProgramsHatchNonVisibleRegion (
/*[in]*/ long pcbHatch ) = 0;
virtual HRESULT __stdcall get_RemoteProgramsHatchNonVisibleRegion (
/*[out,retval]*/ long * pcbHatch ) = 0;
virtual HRESULT __stdcall put_RemoteProgramsHatchWindow (
/*[in]*/ long pcbHatch ) = 0;
virtual HRESULT __stdcall get_RemoteProgramsHatchWindow (
/*[out,retval]*/ long * pcbHatch ) = 0;
virtual HRESULT __stdcall put_RemoteProgramsStayConnectOnBadCaps (
/*[in]*/ long pcbStayConnected ) = 0;
virtual HRESULT __stdcall get_RemoteProgramsStayConnectOnBadCaps (
/*[out,retval]*/ long * pcbStayConnected ) = 0;
virtual HRESULT __stdcall get_ControlType (
/*[out,retval]*/ unsigned int * pControlType ) = 0;
virtual HRESULT __stdcall put_DecodeGfx (
/*[in]*/ VARIANT_BOOL _arg1 ) = 0;
};
struct __declspec(uuid("8c11efae-92c3-11d1-bc1e-00c04fa31489"))
IMsTscAx : IMsTscAx_Redist
{
//
// Property data
//
__declspec(property(get=GetServer,put=PutServer))
_bstr_t Server;
__declspec(property(get=GetDomain,put=PutDomain))
_bstr_t Domain;
__declspec(property(get=GetUserName,put=PutUserName))
_bstr_t UserName;
__declspec(property(get=GetDisconnectedText,put=PutDisconnectedText))
_bstr_t DisconnectedText;
__declspec(property(get=GetConnectingText,put=PutConnectingText))
_bstr_t ConnectingText;
__declspec(property(get=GetConnected))
short Connected;
__declspec(property(get=GetSecuredSettings))
IMsTscSecuredSettingsPtr SecuredSettings;
__declspec(property(get=GetAdvancedSettings))
IMsTscAdvancedSettingsPtr AdvancedSettings;
__declspec(property(get=GetDebugger))
IMsTscDebugPtr Debugger;
__declspec(property(get=GetDesktopWidth,put=PutDesktopWidth))
long DesktopWidth;
__declspec(property(get=GetDesktopHeight,put=PutDesktopHeight))
long DesktopHeight;
__declspec(property(get=GetStartConnected,put=PutStartConnected))
long StartConnected;
__declspec(property(get=GetHorizontalScrollBarVisible))
long HorizontalScrollBarVisible;
__declspec(property(get=GetVerticalScrollBarVisible))
long VerticalScrollBarVisible;
__declspec(property(put=PutFullScreenTitle))
_bstr_t FullScreenTitle;
__declspec(property(get=GetCipherStrength))
long CipherStrength;
__declspec(property(get=GetVersion))
_bstr_t Version;
__declspec(property(get=GetSecuredSettingsEnabled))
long SecuredSettingsEnabled;
//
// Wrapper methods for error-handling
//
void PutServer (
_bstr_t pServer );
_bstr_t GetServer ( );
void PutDomain (
_bstr_t pDomain );
_bstr_t GetDomain ( );
void PutUserName (
_bstr_t pUserName );
_bstr_t GetUserName ( );
void PutDisconnectedText (
_bstr_t pDisconnectedText );
_bstr_t GetDisconnectedText ( );
void PutConnectingText (
_bstr_t pConnectingText );
_bstr_t GetConnectingText ( );
short GetConnected ( );
void PutDesktopWidth (
long pVal );
long GetDesktopWidth ( );
void PutDesktopHeight (
long pVal );
long GetDesktopHeight ( );
void PutStartConnected (
long pfStartConnected );
long GetStartConnected ( );
long GetHorizontalScrollBarVisible ( );
long GetVerticalScrollBarVisible ( );
void PutFullScreenTitle (
_bstr_t _arg1 );
long GetCipherStrength ( );
_bstr_t GetVersion ( );
long GetSecuredSettingsEnabled ( );
IMsTscSecuredSettingsPtr GetSecuredSettings ( );
IMsTscAdvancedSettingsPtr GetAdvancedSettings ( );
IMsTscDebugPtr GetDebugger ( );
HRESULT Connect ( );
HRESULT Disconnect ( );
HRESULT CreateVirtualChannels (
_bstr_t newVal );
HRESULT SendOnVirtualChannel (
_bstr_t chanName,
_bstr_t ChanData );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall put_Server (
/*[in]*/ BSTR pServer ) = 0;
virtual HRESULT __stdcall get_Server (
/*[out,retval]*/ BSTR * pServer ) = 0;
virtual HRESULT __stdcall put_Domain (
/*[in]*/ BSTR pDomain ) = 0;
virtual HRESULT __stdcall get_Domain (
/*[out,retval]*/ BSTR * pDomain ) = 0;
virtual HRESULT __stdcall put_UserName (
/*[in]*/ BSTR pUserName ) = 0;
virtual HRESULT __stdcall get_UserName (
/*[out,retval]*/ BSTR * pUserName ) = 0;
virtual HRESULT __stdcall put_DisconnectedText (
/*[in]*/ BSTR pDisconnectedText ) = 0;
virtual HRESULT __stdcall get_DisconnectedText (
/*[out,retval]*/ BSTR * pDisconnectedText ) = 0;
virtual HRESULT __stdcall put_ConnectingText (
/*[in]*/ BSTR pConnectingText ) = 0;
virtual HRESULT __stdcall get_ConnectingText (
/*[out,retval]*/ BSTR * pConnectingText ) = 0;
virtual HRESULT __stdcall get_Connected (
/*[out,retval]*/ short * pIsConnected ) = 0;
virtual HRESULT __stdcall put_DesktopWidth (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall get_DesktopWidth (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_DesktopHeight (
/*[in]*/ long pVal ) = 0;
virtual HRESULT __stdcall get_DesktopHeight (
/*[out,retval]*/ long * pVal ) = 0;
virtual HRESULT __stdcall put_StartConnected (
/*[in]*/ long pfStartConnected ) = 0;
virtual HRESULT __stdcall get_StartConnected (
/*[out,retval]*/ long * pfStartConnected ) = 0;
virtual HRESULT __stdcall get_HorizontalScrollBarVisible (
/*[out,retval]*/ long * pfHScrollVisible ) = 0;
virtual HRESULT __stdcall get_VerticalScrollBarVisible (
/*[out,retval]*/ long * pfVScrollVisible ) = 0;
virtual HRESULT __stdcall put_FullScreenTitle (
/*[in]*/ BSTR _arg1 ) = 0;
virtual HRESULT __stdcall get_CipherStrength (
/*[out,retval]*/ long * pCipherStrength ) = 0;
virtual HRESULT __stdcall get_Version (
/*[out,retval]*/ BSTR * pVersion ) = 0;
virtual HRESULT __stdcall get_SecuredSettingsEnabled (
/*[out,retval]*/ long * pSecuredSettingsEnabled ) = 0;
virtual HRESULT __stdcall get_SecuredSettings (
/*[out,retval]*/ struct IMsTscSecuredSettings * * ppSecuredSettings ) = 0;
virtual HRESULT __stdcall get_AdvancedSettings (
/*[out,retval]*/ struct IMsTscAdvancedSettings * * ppAdvSettings ) = 0;
virtual HRESULT __stdcall get_Debugger (
/*[out,retval]*/ struct IMsTscDebug * * ppDebugger ) = 0;
virtual HRESULT __stdcall raw_Connect ( ) = 0;
virtual HRESULT __stdcall raw_Disconnect ( ) = 0;
virtual HRESULT __stdcall raw_CreateVirtualChannels (
/*[in]*/ BSTR newVal ) = 0;
virtual HRESULT __stdcall raw_SendOnVirtualChannel (
/*[in]*/ BSTR chanName,
/*[in]*/ BSTR ChanData ) = 0;
};
struct __declspec(uuid("3c65b4ab-12b3-465b-acd4-b8dad3bff9e2"))
IMsRdpClientAdvancedSettings : IMsTscAdvancedSettings
{
//
// Property data
//
__declspec(property(get=GetDisableCtrlAltDel,put=PutDisableCtrlAltDel))
long DisableCtrlAltDel;
__declspec(property(get=GetEnableWindowsKey,put=PutEnableWindowsKey))
long EnableWindowsKey;
__declspec(property(get=GetDoubleClickDetect,put=PutDoubleClickDetect))
long DoubleClickDetect;
__declspec(property(get=GetMaximizeShell,put=PutMaximizeShell))
long MaximizeShell;
__declspec(property(get=GetHotKeyFullScreen,put=PutHotKeyFullScreen))
long HotKeyFullScreen;
__declspec(property(get=GetHotKeyCtrlEsc,put=PutHotKeyCtrlEsc))
long HotKeyCtrlEsc;
__declspec(property(get=GetHotKeyAltEsc,put=PutHotKeyAltEsc))
long HotKeyAltEsc;
__declspec(property(get=GetHotKeyAltTab,put=PutHotKeyAltTab))
long HotKeyAltTab;
__declspec(property(get=GetHotKeyAltShiftTab,put=PutHotKeyAltShiftTab))
long HotKeyAltShiftTab;
__declspec(property(get=GetHotKeyAltSpace,put=PutHotKeyAltSpace))
long HotKeyAltSpace;
__declspec(property(get=GetHotKeyCtrlAltDel,put=PutHotKeyCtrlAltDel))
long HotKeyCtrlAltDel;
__declspec(property(get=GetorderDrawThreshold,put=PutorderDrawThreshold))
long orderDrawThreshold;
__declspec(property(get=GetBitmapCacheSize,put=PutBitmapCacheSize))
long BitmapCacheSize;
__declspec(property(get=GetBitmapVirtualCacheSize,put=PutBitmapVirtualCacheSize))
long BitmapVirtualCacheSize;
__declspec(property(get=GetNumBitmapCaches,put=PutNumBitmapCaches))
long NumBitmapCaches;
__declspec(property(get=GetCachePersistenceActive,put=PutCachePersistenceActive))
long CachePersistenceActive;
__declspec(property(put=PutPersistCacheDirectory))
_bstr_t PersistCacheDirectory;
__declspec(property(get=GetbrushSupportLevel,put=PutbrushSupportLevel))
long brushSupportLevel;
__declspec(property(get=GetminInputSendInterval,put=PutminInputSendInterval))
long minInputSendInterval;
__declspec(property(get=GetInputEventsAtOnce,put=PutInputEventsAtOnce))
long InputEventsAtOnce;
__declspec(property(get=GetmaxEventCount,put=PutmaxEventCount))
long maxEventCount;
__declspec(property(get=GetkeepAliveInterval,put=PutkeepAliveInterval))
long keepAliveInterval;
__declspec(property(get=GetshutdownTimeout,put=PutshutdownTimeout))
long shutdownTimeout;
__declspec(property(get=GetoverallConnectionTimeout,put=PutoverallConnectionTimeout))
long overallConnectionTimeout;
__declspec(property(get=GetsingleConnectionTimeout,put=PutsingleConnectionTimeout))
long singleConnectionTimeout;
__declspec(property(get=GetKeyboardType,put=PutKeyboardType))
long KeyboardType;
__declspec(property(get=GetKeyboardSubType,put=PutKeyboardSubType))
long KeyboardSubType;
__declspec(property(get=GetKeyboardFunctionKey,put=PutKeyboardFunctionKey))
long KeyboardFunctionKey;
__declspec(property(get=GetWinceFixedPalette,put=PutWinceFixedPalette))
long WinceFixedPalette;
__declspec(property(get=GetScaleBitmapCachesByBPP,put=PutScaleBitmapCachesByBPP))
long ScaleBitmapCachesByBPP;
__declspec(property(get=GetConnectToServerConsole,put=PutConnectToServerConsole))
VARIANT_BOOL ConnectToServerConsole;
__declspec(property(get=GetBitmapPersistence,put=PutBitmapPersistence))
long BitmapPersistence;
__declspec(property(get=GetMinutesToIdleTimeout,put=PutMinutesToIdleTimeout))
long MinutesToIdleTimeout;
__declspec(property(get=GetSmartSizing,put=PutSmartSizing))
VARIANT_BOOL SmartSizing;
__declspec(property(get=GetRdpdrLocalPrintingDocName,put=PutRdpdrLocalPrintingDocName))
_bstr_t RdpdrLocalPrintingDocName;
__declspec(property(put=PutClearTextPassword))
_bstr_t ClearTextPassword;
__declspec(property(get=GetDisplayConnectionBar,put=PutDisplayConnectionBar))
VARIANT_BOOL DisplayConnectionBar;
__declspec(property(get=GetPinConnectionBar,put=PutPinConnectionBar))
VARIANT_BOOL PinConnectionBar;
__declspec(property(get=GetGrabFocusOnConnect,put=PutGrabFocusOnConnect))
VARIANT_BOOL GrabFocusOnConnect;
__declspec(property(get=GetLoadBalanceInfo,put=PutLoadBalanceInfo))
_bstr_t LoadBalanceInfo;
__declspec(property(get=GetRedirectDrives,put=PutRedirectDrives))
VARIANT_BOOL RedirectDrives;
__declspec(property(get=GetRedirectPrinters,put=PutRedirectPrinters))
VARIANT_BOOL RedirectPrinters;
__declspec(property(get=GetRedirectPorts,put=PutRedirectPorts))
VARIANT_BOOL RedirectPorts;
__declspec(property(get=GetRedirectSmartCards,put=PutRedirectSmartCards))
VARIANT_BOOL RedirectSmartCards;
__declspec(property(get=GetBitmapVirtualCache16BppSize,put=PutBitmapVirtualCache16BppSize))
long BitmapVirtualCache16BppSize;
__declspec(property(get=GetBitmapVirtualCache24BppSize,put=PutBitmapVirtualCache24BppSize))
long BitmapVirtualCache24BppSize;
__declspec(property(get=GetPerformanceFlags,put=PutPerformanceFlags))
long PerformanceFlags;
__declspec(property(get=GetRdpdrClipCleanTempDirString,put=PutRdpdrClipCleanTempDirString))
_bstr_t RdpdrClipCleanTempDirString;
__declspec(property(get=GetRdpdrClipPasteInfoString,put=PutRdpdrClipPasteInfoString))
_bstr_t RdpdrClipPasteInfoString;
__declspec(property(put=PutConnectWithEndpoint))
VARIANT * ConnectWithEndpoint;
__declspec(property(get=GetNotifyTSPublicKey,put=PutNotifyTSPublicKey))
VARIANT_BOOL NotifyTSPublicKey;
__declspec(property(get=GetSmoothScroll,put=PutSmoothScroll))
long SmoothScroll;
__declspec(property(get=GetAcceleratorPassthrough,put=PutAcceleratorPassthrough))
long AcceleratorPassthrough;
__declspec(property(get=GetShadowBitmap,put=PutShadowBitmap))
long ShadowBitmap;
__declspec(property(get=GetTransportType,put=PutTransportType))
long TransportType;
__declspec(property(get=GetSasSequence,put=PutSasSequence))
long SasSequence;
__declspec(property(get=GetEncryptionEnabled,put=PutEncryptionEnabled))
long EncryptionEnabled;
__declspec(property(get=GetDedicatedTerminal,put=PutDedicatedTerminal))
long DedicatedTerminal;
__declspec(property(get=GetRDPPort,put=PutRDPPort))
long RDPPort;
__declspec(property(get=GetEnableMouse,put=PutEnableMouse))
long EnableMouse;
//
// Wrapper methods for error-handling
//
void PutSmoothScroll (
long psmoothScroll );
long GetSmoothScroll ( );
void PutAcceleratorPassthrough (
long pacceleratorPassthrough );
long GetAcceleratorPassthrough ( );
void PutShadowBitmap (
long pshadowBitmap );
long GetShadowBitmap ( );
void PutTransportType (
long ptransportType );
long GetTransportType ( );
void PutSasSequence (
long psasSequence );
long GetSasSequence ( );
void PutEncryptionEnabled (
long pencryptionEnabled );
long GetEncryptionEnabled ( );
void PutDedicatedTerminal (
long pdedicatedTerminal );
long GetDedicatedTerminal ( );
void PutRDPPort (
long prdpPort );
long GetRDPPort ( );
void PutEnableMouse (
long penableMouse );
long GetEnableMouse ( );
void PutDisableCtrlAltDel (
long pdisableCtrlAltDel );
long GetDisableCtrlAltDel ( );
void PutEnableWindowsKey (
long penableWindowsKey );
long GetEnableWindowsKey ( );
void PutDoubleClickDetect (
long pdoubleClickDetect );
long GetDoubleClickDetect ( );
void PutMaximizeShell (
long pmaximizeShell );
long GetMaximizeShell ( );
void PutHotKeyFullScreen (
long photKeyFullScreen );
long GetHotKeyFullScreen ( );
void PutHotKeyCtrlEsc (
long photKeyCtrlEsc );
long GetHotKeyCtrlEsc ( );
void PutHotKeyAltEsc (
long photKeyAltEsc );
long GetHotKeyAltEsc ( );
void PutHotKeyAltTab (
long photKeyAltTab );
long GetHotKeyAltTab ( );
void PutHotKeyAltShiftTab (
long photKeyAltShiftTab );
long GetHotKeyAltShiftTab ( );
void PutHotKeyAltSpace (
long photKeyAltSpace );
long GetHotKeyAltSpace ( );
void PutHotKeyCtrlAltDel (
long photKeyCtrlAltDel );
long GetHotKeyCtrlAltDel ( );
void PutorderDrawThreshold (
long porderDrawThreshold );
long GetorderDrawThreshold ( );