-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDES.cs
2329 lines (1930 loc) · 52.1 KB
/
DES.cs
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
#region license
/*
DirectShowLib - Provide access to DirectShow interfaces via .NET
Copyright (C) 2007
http://sourceforge.net/projects/directshownet/
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#endregion
using System;
using System.Runtime.InteropServices;
using DirectShowLib;
using System.Text;
namespace DirectShowLib.DES
{
#region Utility Classes
sealed public class DESResults
{
private DESResults()
{
// Prevent people from trying to instantiate this class
}
public const int E_NotInTree = unchecked((int)0x80040400);
public const int E_RenderEngineIsBroken = unchecked((int)0x80040401);
public const int E_MustInitRenderer = unchecked((int)0x80040402);
public const int E_NotDetermind = unchecked((int)0x80040403);
public const int E_NoTimeline = unchecked((int)0x80040404);
public const int S_WarnOutputReset = unchecked((int)40404);
}
sealed public class DESError
{
private DESError()
{
// Prevent people from trying to instantiate this class
}
public static string GetErrorText(int hr)
{
string sRet = null;
switch(hr)
{
case DESResults.E_NotInTree:
sRet = "The object is not contained in the timeline.";
break;
case DESResults.E_RenderEngineIsBroken:
sRet = "Operation failed because project was not rendered successfully.";
break;
case DESResults.E_MustInitRenderer:
sRet = "Render engine has not been initialized.";
break;
case DESResults.E_NotDetermind:
sRet = "Cannot determine requested value.";
break;
case DESResults.E_NoTimeline:
sRet = "There is no timeline object.";
break;
case DESResults.S_WarnOutputReset:
sRet = "The rendering portion of the graph was deleted. The application must rebuild it.";
break;
default:
sRet = DsError.GetErrorText(hr);
break;
}
return sRet;
}
/// <summary>
/// If hr has a "failed" status code (E_*), throw an exception. Note that status
/// messages (S_*) are not considered failure codes. If DES or DShow error text
/// is available, it is used to build the exception, otherwise a generic com error
/// is thrown.
/// </summary>
/// <param name="hr">The HRESULT to check</param>
public static void ThrowExceptionForHR(int hr)
{
// If an error has occurred
if (hr < 0)
{
// If a string is returned, build a com error from it
string buf = GetErrorText(hr);
if (buf != null)
{
throw new COMException(buf, hr);
}
else
{
// No string, just use standard com error
Marshal.ThrowExceptionForHR(hr);
}
}
}
}
#endregion
#region Classes
/// <summary>
/// From CLSID_AMTimeline
/// </summary>
[ComImport, Guid("78530B75-61F9-11D2-8CAD-00A024580902")]
public class AMTimeline
{
}
/// <summary>
/// From CLSID_PropertySetter
/// </summary>
[ComImport, Guid("ADF95821-DED7-11d2-ACBE-0080C75E246E")]
public class PropertySetter
{
}
/// <summary>
/// From CLSID_AMTimelineObj
/// </summary>
[ComImport, Guid("78530B78-61F9-11D2-8CAD-00A024580902")]
public class AMTimelineObj
{
}
/// <summary>
/// From CLSID_AMTimelineSrc
/// </summary>
[ComImport, Guid("78530B7A-61F9-11D2-8CAD-00A024580902")]
public class AMTimelineSrc
{
}
/// <summary>
/// From CLSID_AMTimelineTrack
/// </summary>
[ComImport, Guid("8F6C3C50-897B-11d2-8CFB-00A0C9441E20")]
public class AMTimelineTrack
{
}
/// <summary>
/// From CLSID_AMTimelineComp
/// </summary>
[ComImport, Guid("74D2EC80-6233-11d2-8CAD-00A024580902")]
public class AMTimelineComp
{
}
/// <summary>
/// From CLSID_AMTimelineGroup
/// </summary>
[ComImport, Guid("F6D371E1-B8A6-11d2-8023-00C0DF10D434")]
public class AMTimelineGroup
{
}
/// <summary>
/// From CLSID_AMTimelineTrans
/// </summary>
[ComImport, Guid("74D2EC81-6233-11d2-8CAD-00A024580902")]
public class AMTimelineTrans
{
}
/// <summary>
/// From CLSID_AMTimelineEffect
/// </summary>
[ComImport, Guid("74D2EC82-6233-11d2-8CAD-00A024580902")]
public class AMTimelineEffect
{
}
/// <summary>
/// From CLSID_RenderEngine
/// </summary>
[ComImport, Guid("64D8A8E0-80A2-11d2-8CF3-00A0C9441E20")]
public class RenderEngine
{
}
/// <summary>
/// From CLSID_SmartRenderEngine
/// </summary>
[ComImport, Guid("498B0949-BBE9-4072-98BE-6CCAEB79DC6F")]
public class SmartRenderEngine
{
}
/// <summary>
/// From CLSID_AudMixer
/// </summary>
[ComImport, Guid("036A9790-C153-11d2-9EF7-006008039E37")]
public class AudMixer
{
}
/// <summary>
/// From CLSID_Xml2Dex
/// </summary>
[ComImport, Guid("18C628EE-962A-11D2-8D08-00A0C9441E20")]
public class Xml2Dex
{
}
/// <summary>
/// From CLSID_MediaLocator
/// </summary>
[ComImport, Guid("CC1101F2-79DC-11D2-8CE6-00A0C9441E20")]
public class MediaLocator
{
}
/// <summary>
/// From CLSID_MediaDet
/// </summary>
[ComImport, Guid("65BD0711-24D2-4ff7-9324-ED2E5D3ABAFA")]
public class MediaDet
{
}
/// <summary>
/// From CLSID_DxtCompositor
/// </summary>
[ComImport, Guid("BB44391D-6ABD-422f-9E2E-385C9DFF51FC")]
public class DxtCompositor
{
}
/// <summary>
/// From CLSID_DxtAlphaSetter
/// </summary>
[ComImport, Guid("506D89AE-909A-44f7-9444-ABD575896E35")]
public class DxtAlphaSetter
{
}
/// <summary>
/// From CLSID_DxtJpeg
/// </summary>
[ComImport, Guid("DE75D012-7A65-11D2-8CEA-00A0C9441E20")]
public class DxtJpeg
{
}
/// <summary>
/// From CLSID_ColorSource
/// </summary>
[ComImport, Guid("0cfdd070-581a-11d2-9ee6-006008039e37")]
public class ColorSource
{
}
/// <summary>
/// From CLSID_DxtKey
/// </summary>
[ComImport, Guid("C5B19592-145E-11d3-9F04-006008039E37")]
public class DxtKey
{
}
#endregion
#region Declarations
#if ALLOW_UNTESTED_INTERFACES
/// <summary>
/// From unnamed enum
/// </summary>
public enum DXTKeys
{
RGB,
NonRed,
Luminance,
Alpha,
Hue
}
#endif
/// <summary>
/// From TIMELINE_MAJOR_TYPE
/// </summary>
[Flags]
public enum TimelineMajorType
{
None = 0,
Composite = 1,
Effect = 0x10,
Group = 0x80,
Source = 4,
Track= 2,
Transition = 8
}
/// <summary>
/// From unnamed enum
/// </summary>
public enum TimelineInsertMode
{
Insert = 1,
Overlay = 2
}
/// <summary>
/// From unnamed enum
/// </summary>
[Flags]
public enum SFNValidateFlags
{
None = 0x00000000,
Check = 0x00000001,
Popup = 0x00000002,
TellMe = 0x00000004,
Replace = 0x00000008,
UseLocal = 0x000000010,
NoFind = 0x000000020,
IgnoreMuted = 0x000000040,
End
}
/// <summary>
/// From SCompFmt0
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public class SCompFmt0
{
public int nFormatId;
public AMMediaType MediaType;
}
/// <summary>
/// From unnamed enum
/// </summary>
public enum ResizeFlags
{
Stretch,
Crop,
PreserveAspectRatio,
PreserveAspectRatioNoLetterBox
}
/// <summary>
/// From DEXTERF_TRACK_SEARCH_FLAGS
/// </summary>
public enum DexterFTrackSearchFlags
{
Bounding = -1,
ExactlyAt = 0,
Forwards = 1
}
/// <summary>
/// From DEXTER_PARAM
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack=4)]
public struct DexterParam
{
[MarshalAs(UnmanagedType.BStr)] public string Name;
public int dispID;
public int nValues;
}
/// <summary>
/// From unnamed enum
/// </summary>
public enum ConnectFDynamic
{
None = 0x00000000,
Sources = 0x00000001,
Effects = 0x00000002
}
/// <summary>
/// From DEXTER_VALUE
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack=8)]
public struct DexterValue
{
[MarshalAs(UnmanagedType.Struct)] public object v;
public long rt;
public Dexterf dwInterp;
}
/// <summary>
/// From DEXTERF
/// </summary>
public enum Dexterf
{
Jump,
Interpolate
}
/// <summary>
/// From DEX_IDS_* defines
/// </summary>
public enum DESErrorCode
{
BadSourceName = 1400,
BadSourceName2 = 1401,
MissingSourceName = 1402,
UnknownSource = 1403,
InstallProblem = 1404,
NoSourceNames = 1405,
BadMediaType = 1406,
StreamNumber = 1407,
OutOfMemory = 1408,
DIBSeqNotAllSame = 1409,
ClipTooShort = 1410,
InvalidDXT = 1411,
InvalidDefaultDXTT = 1412,
No3D = 1413,
BrokenDXT = 1414,
NoSuchProperty = 1415,
IllegalPropertyVal = 1416,
InvalidXML = 1417,
CantFindFilter = 1418,
DiskWriteError = 1419,
InvalidAudioFX = 1420,
CantFindCompressor = 1421,
TimelineParse = 1426,
GraphError = 1427,
GridError = 1428,
InterfaceError = 1429
}
#endregion
#region Interfaces
#if ALLOW_UNTESTED_INTERFACES
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
Guid("E31FB81B-1335-11D1-8189-0000F87557DB")]
public interface IDXEffect
{
[PreserveSig]
int get_Capabilities(
out int pVal
);
[PreserveSig]
int get_Progress(
out float pVal
);
[PreserveSig]
int put_Progress(
float newVal
);
[PreserveSig]
int get_StepResolution(
out float pVal
);
[PreserveSig]
int get_Duration(
out float pVal
);
[PreserveSig]
int put_Duration(
float newVal
);
}
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
Guid("4EE9EAD9-DA4D-43D0-9383-06B90C08B12B"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDxtAlphaSetter : IDXEffect
{
#region IDXEffect Methods
[PreserveSig]
new int get_Capabilities(
out int pVal
);
[PreserveSig]
new int get_Progress(
out float pVal
);
[PreserveSig]
new int put_Progress(
float newVal
);
[PreserveSig]
new int get_StepResolution(
out float pVal
);
[PreserveSig]
new int get_Duration(
out float pVal
);
[PreserveSig]
new int put_Duration(
float newVal
);
#endregion
[PreserveSig]
int get_Alpha(
out int pVal
);
[PreserveSig]
int put_Alpha(
int newVal
);
[PreserveSig]
int get_AlphaRamp(
out double pVal
);
[PreserveSig]
int put_AlphaRamp(
double newVal
);
}
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
Guid("BB44391E-6ABD-422F-9E2E-385C9DFF51FC"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDxtCompositor : IDXEffect
{
#region IDXEffect
[PreserveSig]
new int get_Capabilities(
out int pVal
);
[PreserveSig]
new int get_Progress(
out float pVal
);
[PreserveSig]
new int put_Progress(
float newVal
);
[PreserveSig]
new int get_StepResolution(
out float pVal
);
[PreserveSig]
new int get_Duration(
out float pVal
);
[PreserveSig]
new int put_Duration(
float newVal
);
#endregion
[PreserveSig]
int get_OffsetX(
out int pVal
);
[PreserveSig]
int put_OffsetX(
int newVal
);
[PreserveSig]
int get_OffsetY(
out int pVal
);
[PreserveSig]
int put_OffsetY(
int newVal
);
[PreserveSig]
int get_Width(
out int pVal
);
[PreserveSig]
int put_Width(
int newVal
);
[PreserveSig]
int get_Height(
out int pVal
);
[PreserveSig]
int put_Height(
int newVal
);
[PreserveSig]
int get_SrcOffsetX(
out int pVal
);
[PreserveSig]
int put_SrcOffsetX(
int newVal
);
[PreserveSig]
int get_SrcOffsetY(
out int pVal
);
[PreserveSig]
int put_SrcOffsetY(
int newVal
);
[PreserveSig]
int get_SrcWidth(
out int pVal
);
[PreserveSig]
int put_SrcWidth(
int newVal
);
[PreserveSig]
int get_SrcHeight(
out int pVal
);
[PreserveSig]
int put_SrcHeight(
int newVal
);
}
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
Guid("DE75D011-7A65-11D2-8CEA-00A0C9441E20"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDxtJpeg : IDXEffect
{
#region IDXEffect
[PreserveSig]
new int get_Capabilities(
out int pVal
);
[PreserveSig]
new int get_Progress(
out float pVal
);
[PreserveSig]
new int put_Progress(
float newVal
);
[PreserveSig]
new int get_StepResolution(
out float pVal
);
[PreserveSig]
new int get_Duration(
out float pVal
);
[PreserveSig]
new int put_Duration(
float newVal
);
#endregion
[PreserveSig]
int get_MaskNum(
out int MIDL_0018
);
[PreserveSig]
int put_MaskNum(
int MIDL_0019
);
[PreserveSig]
int get_MaskName(
[MarshalAs(UnmanagedType.BStr)] out string pVal
);
[PreserveSig]
int put_MaskName(
[MarshalAs(UnmanagedType.BStr)] string newVal
);
[PreserveSig]
int get_ScaleX(
out double MIDL_0020
);
[PreserveSig]
int put_ScaleX(
double MIDL_0021
);
[PreserveSig]
int get_ScaleY(
out double MIDL_0022
);
[PreserveSig]
int put_ScaleY(
double MIDL_0023
);
[PreserveSig]
int get_OffsetX(
out int MIDL_0024
);
[PreserveSig]
int put_OffsetX(
int MIDL_0025
);
[PreserveSig]
int get_OffsetY(
out int MIDL_0026
);
[PreserveSig]
int put_OffsetY(
int MIDL_0027
);
[PreserveSig]
int get_ReplicateX(
out int pVal
);
[PreserveSig]
int put_ReplicateX(
int newVal
);
[PreserveSig]
int get_ReplicateY(
out int pVal
);
[PreserveSig]
int put_ReplicateY(
int newVal
);
[PreserveSig]
int get_BorderColor(
out int pVal
);
[PreserveSig]
int put_BorderColor(
int newVal
);
[PreserveSig]
int get_BorderWidth(
out int pVal
);
[PreserveSig]
int put_BorderWidth(
int newVal
);
[PreserveSig]
int get_BorderSoftness(
out int pVal
);
[PreserveSig]
int put_BorderSoftness(
int newVal
);
[PreserveSig]
int ApplyChanges();
[PreserveSig]
int LoadDefSettings();
}
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
Guid("3255DE56-38FB-4901-B980-94B438010D7B"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IDxtKey : IDXEffect
{
#region IDXEffect
[PreserveSig]
new int get_Capabilities(
out int pVal
);
[PreserveSig]
new int get_Progress(
out float pVal
);
[PreserveSig]
new int put_Progress(
float newVal
);
[PreserveSig]
new int get_StepResolution(
out float pVal
);
[PreserveSig]
new int get_Duration(
out float pVal
);
[PreserveSig]
new int put_Duration(
float newVal
);
#endregion
[PreserveSig]
int get_KeyType(
out int MIDL_0028
);
[PreserveSig]
int put_KeyType(
int MIDL_0029
);
[PreserveSig]
int get_Hue(
out int MIDL_0030
);
[PreserveSig]
int put_Hue(
int MIDL_0031
);
[PreserveSig]
int get_Luminance(
out int MIDL_0032
);
[PreserveSig]
int put_Luminance(
int MIDL_0033
);
[PreserveSig]
int get_RGB(
out int MIDL_0034
);
[PreserveSig]
int put_RGB(
int MIDL_0035
);
[PreserveSig]
int get_Similarity(
out int MIDL_0036
);
[PreserveSig]
int put_Similarity(
int MIDL_0037
);
[PreserveSig]
int get_Invert(
[MarshalAs(UnmanagedType.Bool)] out bool MIDL_0038
);
[PreserveSig]
int put_Invert(
[MarshalAs(UnmanagedType.Bool)] bool MIDL_0039
);
}
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
Guid("F03FA8DE-879A-4D59-9B2C-26BB1CF83461")]
public interface IFindCompressorCB
{
[PreserveSig]
int GetCompressor(
[MarshalAs(UnmanagedType.LPStruct)] AMMediaType pType,
[MarshalAs(UnmanagedType.LPStruct)] AMMediaType pCompType,
out IBaseFilter ppFilter
);
}
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
InterfaceType(ComInterfaceType.InterfaceIsDual),
Guid("AE9472BE-B0C3-11D2-8D24-00A0C9441E20")]
public interface IGrfCache
{
[PreserveSig]
int AddFilter(IGrfCache ChainedCache, long Id, IBaseFilter pFilter, [MarshalAs(UnmanagedType.LPWStr)] string pName);
[PreserveSig]
int ConnectPins(IGrfCache ChainedCache, long PinID1, IPin pPin1, long PinID2, IPin pPin2);
[PreserveSig]
int SetGraph(IGraphBuilder pGraph);
[PreserveSig]
int DoConnectionsNow();
}
#endif
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
Guid("E43E73A2-0EFA-11D3-9601-00A0C9441E20")]
public interface IAMErrorLog
{
[PreserveSig]
int LogError(
int Severity,
[MarshalAs(UnmanagedType.BStr)] string pErrorString,
int ErrorCode,
int hresult,
[In] IntPtr pExtraInfo
);
}
[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
Guid("963566DA-BE21-4EAF-88E9-35704F8F52A1")]
public interface IAMSetErrorLog
{
[PreserveSig]
int get_ErrorLog(
out IAMErrorLog pVal
);
[PreserveSig]
int put_ErrorLog(
IAMErrorLog newVal
);