-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathu.wnry.c
17829 lines (15502 loc) · 451 KB
/
u.wnry.c
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
typedef unsigned char undefined;
typedef unsigned int ImageBaseOffset32;
typedef unsigned char bool;
typedef unsigned char byte;
typedef unsigned int dword;
typedef long long longlong;
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef unsigned long long ulonglong;
typedef unsigned char undefined1;
typedef unsigned short undefined2;
typedef unsigned int undefined4;
typedef unsigned long long undefined8;
typedef unsigned short ushort;
typedef short wchar_t;
typedef unsigned short word;
typedef struct exception exception, *Pexception;
struct exception { // PlaceHolder Class Structure
};
typedef struct CDC CDC, *PCDC;
struct CDC { // PlaceHolder Class Structure
};
typedef struct CWinThread CWinThread, *PCWinThread;
struct CWinThread { // PlaceHolder Class Structure
};
typedef struct CStatic CStatic, *PCStatic;
struct CStatic { // PlaceHolder Class Structure
};
typedef struct _s_UnwindMapEntry _s_UnwindMapEntry, *P_s_UnwindMapEntry;
typedef struct _s_UnwindMapEntry UnwindMapEntry;
typedef int __ehstate_t;
struct _s_UnwindMapEntry {
__ehstate_t toState;
void (* action)(void);
};
typedef union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion;
typedef struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct, *PIMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct;
struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct {
dword OffsetToDirectory;
dword DataIsDirectory;
};
union IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryUnion {
dword OffsetToData;
struct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct IMAGE_RESOURCE_DIRECTORY_ENTRY_DirectoryStruct;
};
typedef unsigned short wchar16;
typedef struct CDWordArray CDWordArray, *PCDWordArray;
struct CDWordArray { // PlaceHolder Class Structure
};
typedef struct CString CString, *PCString;
struct CString { // PlaceHolder Class Structure
};
typedef struct type_info type_info, *Ptype_info;
struct type_info { // PlaceHolder Class Structure
};
typedef struct CWinApp CWinApp, *PCWinApp;
struct CWinApp { // PlaceHolder Class Structure
};
typedef struct CListCtrl CListCtrl, *PCListCtrl;
struct CListCtrl { // PlaceHolder Class Structure
};
typedef struct CBrush CBrush, *PCBrush;
struct CBrush { // PlaceHolder Class Structure
};
typedef struct TypeDescriptor TypeDescriptor, *PTypeDescriptor;
struct TypeDescriptor {
void * pVFTable;
void * spare;
char[0] name;
};
typedef struct CCmdTarget CCmdTarget, *PCCmdTarget;
struct CCmdTarget { // PlaceHolder Class Structure
};
typedef struct _s_TryBlockMapEntry _s_TryBlockMapEntry, *P_s_TryBlockMapEntry;
typedef struct _s_TryBlockMapEntry TryBlockMapEntry;
typedef struct _s_HandlerType _s_HandlerType, *P_s_HandlerType;
typedef struct _s_HandlerType HandlerType;
typedef int ptrdiff_t;
struct _s_HandlerType {
uint adjectives;
struct TypeDescriptor * pType;
ptrdiff_t dispCatchObj;
void * addressOfHandler;
};
struct _s_TryBlockMapEntry {
__ehstate_t tryLow;
__ehstate_t tryHigh;
__ehstate_t catchHigh;
int nCatches;
HandlerType * pHandlerArray;
};
typedef struct _s_FuncInfo _s_FuncInfo, *P_s_FuncInfo;
struct _s_FuncInfo {
uint magicNumber_and_bbtFlags;
__ehstate_t maxState;
UnwindMapEntry * pUnwindMap;
uint nTryBlocks;
TryBlockMapEntry * pTryBlockMap;
uint nIPMapEntries;
void * pIPToStateMap;
};
typedef struct CProgressCtrl CProgressCtrl, *PCProgressCtrl;
struct CProgressCtrl { // PlaceHolder Class Structure
};
typedef struct CButton CButton, *PCButton;
struct CButton { // PlaceHolder Class Structure
};
typedef struct CRichEditCtrl CRichEditCtrl, *PCRichEditCtrl;
struct CRichEditCtrl { // PlaceHolder Class Structure
};
typedef struct CPaintDC CPaintDC, *PCPaintDC;
struct CPaintDC { // PlaceHolder Class Structure
};
typedef struct CClientDC CClientDC, *PCClientDC;
struct CClientDC { // PlaceHolder Class Structure
};
typedef struct CRect CRect, *PCRect;
struct CRect { // PlaceHolder Class Structure
};
typedef struct CRgn CRgn, *PCRgn;
struct CRgn { // PlaceHolder Class Structure
};
typedef struct CDialog CDialog, *PCDialog;
struct CDialog { // PlaceHolder Class Structure
};
typedef struct CWnd CWnd, *PCWnd;
struct CWnd { // PlaceHolder Class Structure
};
typedef struct CComboBox CComboBox, *PCComboBox;
struct CComboBox { // PlaceHolder Class Structure
};
typedef struct CBitmap CBitmap, *PCBitmap;
struct CBitmap { // PlaceHolder Class Structure
};
typedef struct CFile CFile, *PCFile;
struct CFile { // PlaceHolder Class Structure
};
typedef struct _s_FuncInfo FuncInfo;
typedef struct CObject CObject, *PCObject;
struct CObject { // PlaceHolder Class Structure
};
typedef struct _SECURITY_ATTRIBUTES _SECURITY_ATTRIBUTES, *P_SECURITY_ATTRIBUTES;
typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
typedef ulong DWORD;
typedef void * LPVOID;
typedef int BOOL;
struct _SECURITY_ATTRIBUTES {
DWORD nLength;
LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
};
typedef struct _OVERLAPPED _OVERLAPPED, *P_OVERLAPPED;
typedef ulong ULONG_PTR;
typedef union _union_518 _union_518, *P_union_518;
typedef void * HANDLE;
typedef struct _struct_519 _struct_519, *P_struct_519;
typedef void * PVOID;
struct _struct_519 {
DWORD Offset;
DWORD OffsetHigh;
};
union _union_518 {
struct _struct_519 s;
PVOID Pointer;
};
struct _OVERLAPPED {
ULONG_PTR Internal;
ULONG_PTR InternalHigh;
union _union_518 u;
HANDLE hEvent;
};
typedef struct _SYSTEMTIME _SYSTEMTIME, *P_SYSTEMTIME;
typedef ushort WORD;
struct _SYSTEMTIME {
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
};
typedef struct _TIME_ZONE_INFORMATION _TIME_ZONE_INFORMATION, *P_TIME_ZONE_INFORMATION;
typedef long LONG;
typedef wchar_t WCHAR;
typedef struct _SYSTEMTIME SYSTEMTIME;
struct _TIME_ZONE_INFORMATION {
LONG Bias;
WCHAR StandardName[32];
SYSTEMTIME StandardDate;
LONG StandardBias;
WCHAR DaylightName[32];
SYSTEMTIME DaylightDate;
LONG DaylightBias;
};
typedef struct _WIN32_FIND_DATAW _WIN32_FIND_DATAW, *P_WIN32_FIND_DATAW;
typedef struct _WIN32_FIND_DATAW * LPWIN32_FIND_DATAW;
typedef struct _FILETIME _FILETIME, *P_FILETIME;
typedef struct _FILETIME FILETIME;
struct _FILETIME {
DWORD dwLowDateTime;
DWORD dwHighDateTime;
};
struct _WIN32_FIND_DATAW {
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
DWORD dwReserved0;
DWORD dwReserved1;
WCHAR cFileName[260];
WCHAR cAlternateFileName[14];
};
typedef struct _WIN32_FIND_DATAA _WIN32_FIND_DATAA, *P_WIN32_FIND_DATAA;
typedef char CHAR;
struct _WIN32_FIND_DATAA {
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
DWORD dwReserved0;
DWORD dwReserved1;
CHAR cFileName[260];
CHAR cAlternateFileName[14];
};
typedef struct _SECURITY_ATTRIBUTES * LPSECURITY_ATTRIBUTES;
typedef struct _STARTUPINFOA _STARTUPINFOA, *P_STARTUPINFOA;
typedef CHAR * LPSTR;
typedef uchar BYTE;
typedef BYTE * LPBYTE;
struct _STARTUPINFOA {
DWORD cb;
LPSTR lpReserved;
LPSTR lpDesktop;
LPSTR lpTitle;
DWORD dwX;
DWORD dwY;
DWORD dwXSize;
DWORD dwYSize;
DWORD dwXCountChars;
DWORD dwYCountChars;
DWORD dwFillAttribute;
DWORD dwFlags;
WORD wShowWindow;
WORD cbReserved2;
LPBYTE lpReserved2;
HANDLE hStdInput;
HANDLE hStdOutput;
HANDLE hStdError;
};
typedef struct _PROCESS_INFORMATION _PROCESS_INFORMATION, *P_PROCESS_INFORMATION;
typedef struct _PROCESS_INFORMATION * LPPROCESS_INFORMATION;
struct _PROCESS_INFORMATION {
HANDLE hProcess;
HANDLE hThread;
DWORD dwProcessId;
DWORD dwThreadId;
};
typedef DWORD (* PTHREAD_START_ROUTINE)(LPVOID);
typedef struct _TIME_ZONE_INFORMATION TIME_ZONE_INFORMATION;
typedef struct _TIME_ZONE_INFORMATION * LPTIME_ZONE_INFORMATION;
typedef PTHREAD_START_ROUTINE LPTHREAD_START_ROUTINE;
typedef struct _OVERLAPPED * LPOVERLAPPED;
typedef struct _WIN32_FIND_DATAA * LPWIN32_FIND_DATAA;
typedef struct _STARTUPINFOA * LPSTARTUPINFOA;
typedef struct _RTL_CRITICAL_SECTION _RTL_CRITICAL_SECTION, *P_RTL_CRITICAL_SECTION;
typedef struct _RTL_CRITICAL_SECTION * PRTL_CRITICAL_SECTION;
typedef PRTL_CRITICAL_SECTION LPCRITICAL_SECTION;
typedef struct _RTL_CRITICAL_SECTION_DEBUG _RTL_CRITICAL_SECTION_DEBUG, *P_RTL_CRITICAL_SECTION_DEBUG;
typedef struct _RTL_CRITICAL_SECTION_DEBUG * PRTL_CRITICAL_SECTION_DEBUG;
typedef struct _LIST_ENTRY _LIST_ENTRY, *P_LIST_ENTRY;
typedef struct _LIST_ENTRY LIST_ENTRY;
struct _RTL_CRITICAL_SECTION {
PRTL_CRITICAL_SECTION_DEBUG DebugInfo;
LONG LockCount;
LONG RecursionCount;
HANDLE OwningThread;
HANDLE LockSemaphore;
ULONG_PTR SpinCount;
};
struct _LIST_ENTRY {
struct _LIST_ENTRY * Flink;
struct _LIST_ENTRY * Blink;
};
struct _RTL_CRITICAL_SECTION_DEBUG {
WORD Type;
WORD CreatorBackTraceIndex;
struct _RTL_CRITICAL_SECTION * CriticalSection;
LIST_ENTRY ProcessLocksList;
DWORD EntryCount;
DWORD ContentionCount;
DWORD Flags;
WORD CreatorBackTraceIndexHigh;
WORD SpareWORD;
};
typedef struct _SYSTEMTIME * LPSYSTEMTIME;
typedef DWORD ULONG;
typedef WORD CLIPFORMAT;
typedef WCHAR OLECHAR;
typedef OLECHAR * LPOLESTR;
typedef void * HMETAFILEPICT;
typedef struct _iobuf _iobuf, *P_iobuf;
struct _iobuf {
char * _ptr;
int _cnt;
char * _base;
int _flag;
int _file;
int _charbuf;
int _bufsiz;
char * _tmpfname;
};
typedef struct _iobuf FILE;
typedef struct _s_CatchableTypeArray _s_CatchableTypeArray, *P_s_CatchableTypeArray;
typedef struct _s_CatchableTypeArray CatchableTypeArray;
typedef struct _s_CatchableType _s_CatchableType, *P_s_CatchableType;
typedef struct _s_CatchableType CatchableType;
// WARNING! conflicting data type names: /ehdata.h/TypeDescriptor - /TypeDescriptor
typedef struct PMD PMD, *PPMD;
typedef void (* PMFN)(void *);
struct PMD {
ptrdiff_t mdisp;
ptrdiff_t pdisp;
ptrdiff_t vdisp;
};
struct _s_CatchableType {
uint properties;
struct TypeDescriptor * pType;
struct PMD thisDisplacement;
int sizeOrOffset;
PMFN copyFunction;
};
struct _s_CatchableTypeArray {
int nCatchableTypes;
CatchableType *[0] arrayOfCatchableTypes;
};
typedef struct _s_ThrowInfo _s_ThrowInfo, *P_s_ThrowInfo;
typedef struct _s_ThrowInfo ThrowInfo;
struct _s_ThrowInfo {
uint attributes;
PMFN pmfnUnwind;
int (* pForwardCompat)(void);
CatchableTypeArray * pCatchableTypeArray;
};
typedef struct _tagBINDINFO _tagBINDINFO, *P_tagBINDINFO;
typedef struct _tagBINDINFO BINDINFO;
typedef WCHAR * LPWSTR;
typedef struct tagSTGMEDIUM tagSTGMEDIUM, *PtagSTGMEDIUM;
typedef struct tagSTGMEDIUM uSTGMEDIUM;
typedef uSTGMEDIUM STGMEDIUM;
typedef struct _GUID _GUID, *P_GUID;
typedef struct _GUID GUID;
typedef GUID IID;
typedef struct IUnknown IUnknown, *PIUnknown;
typedef union _union_2260 _union_2260, *P_union_2260;
typedef struct IUnknownVtbl IUnknownVtbl, *PIUnknownVtbl;
typedef long HRESULT;
typedef struct HBITMAP__ HBITMAP__, *PHBITMAP__;
typedef struct HBITMAP__ * HBITMAP;
typedef struct HENHMETAFILE__ HENHMETAFILE__, *PHENHMETAFILE__;
typedef struct HENHMETAFILE__ * HENHMETAFILE;
typedef HANDLE HGLOBAL;
typedef struct IStream IStream, *PIStream;
typedef struct IStorage IStorage, *PIStorage;
typedef struct IStreamVtbl IStreamVtbl, *PIStreamVtbl;
typedef union _LARGE_INTEGER _LARGE_INTEGER, *P_LARGE_INTEGER;
typedef union _LARGE_INTEGER LARGE_INTEGER;
typedef union _ULARGE_INTEGER _ULARGE_INTEGER, *P_ULARGE_INTEGER;
typedef union _ULARGE_INTEGER ULARGE_INTEGER;
typedef struct tagSTATSTG tagSTATSTG, *PtagSTATSTG;
typedef struct tagSTATSTG STATSTG;
typedef struct IStorageVtbl IStorageVtbl, *PIStorageVtbl;
typedef LPOLESTR * SNB;
typedef struct IEnumSTATSTG IEnumSTATSTG, *PIEnumSTATSTG;
typedef struct _struct_19 _struct_19, *P_struct_19;
typedef struct _struct_20 _struct_20, *P_struct_20;
typedef double LONGLONG;
typedef struct _struct_22 _struct_22, *P_struct_22;
typedef struct _struct_23 _struct_23, *P_struct_23;
typedef double ULONGLONG;
typedef GUID CLSID;
typedef struct IEnumSTATSTGVtbl IEnumSTATSTGVtbl, *PIEnumSTATSTGVtbl;
struct IStreamVtbl {
HRESULT (* QueryInterface)(struct IStream *, IID *, void * *);
ULONG (* AddRef)(struct IStream *);
ULONG (* Release)(struct IStream *);
HRESULT (* Read)(struct IStream *, void *, ULONG, ULONG *);
HRESULT (* Write)(struct IStream *, void *, ULONG, ULONG *);
HRESULT (* Seek)(struct IStream *, LARGE_INTEGER, DWORD, ULARGE_INTEGER *);
HRESULT (* SetSize)(struct IStream *, ULARGE_INTEGER);
HRESULT (* CopyTo)(struct IStream *, struct IStream *, ULARGE_INTEGER, ULARGE_INTEGER *, ULARGE_INTEGER *);
HRESULT (* Commit)(struct IStream *, DWORD);
HRESULT (* Revert)(struct IStream *);
HRESULT (* LockRegion)(struct IStream *, ULARGE_INTEGER, ULARGE_INTEGER, DWORD);
HRESULT (* UnlockRegion)(struct IStream *, ULARGE_INTEGER, ULARGE_INTEGER, DWORD);
HRESULT (* Stat)(struct IStream *, STATSTG *, DWORD);
HRESULT (* Clone)(struct IStream *, struct IStream * *);
};
union _union_2260 {
HBITMAP hBitmap;
HMETAFILEPICT hMetaFilePict;
HENHMETAFILE hEnhMetaFile;
HGLOBAL hGlobal;
LPOLESTR lpszFileName;
struct IStream * pstm;
struct IStorage * pstg;
};
struct IStorageVtbl {
HRESULT (* QueryInterface)(struct IStorage *, IID *, void * *);
ULONG (* AddRef)(struct IStorage *);
ULONG (* Release)(struct IStorage *);
HRESULT (* CreateStream)(struct IStorage *, OLECHAR *, DWORD, DWORD, DWORD, struct IStream * *);
HRESULT (* OpenStream)(struct IStorage *, OLECHAR *, void *, DWORD, DWORD, struct IStream * *);
HRESULT (* CreateStorage)(struct IStorage *, OLECHAR *, DWORD, DWORD, DWORD, struct IStorage * *);
HRESULT (* OpenStorage)(struct IStorage *, OLECHAR *, struct IStorage *, DWORD, SNB, DWORD, struct IStorage * *);
HRESULT (* CopyTo)(struct IStorage *, DWORD, IID *, SNB, struct IStorage *);
HRESULT (* MoveElementTo)(struct IStorage *, OLECHAR *, struct IStorage *, OLECHAR *, DWORD);
HRESULT (* Commit)(struct IStorage *, DWORD);
HRESULT (* Revert)(struct IStorage *);
HRESULT (* EnumElements)(struct IStorage *, DWORD, void *, DWORD, struct IEnumSTATSTG * *);
HRESULT (* DestroyElement)(struct IStorage *, OLECHAR *);
HRESULT (* RenameElement)(struct IStorage *, OLECHAR *, OLECHAR *);
HRESULT (* SetElementTimes)(struct IStorage *, OLECHAR *, FILETIME *, FILETIME *, FILETIME *);
HRESULT (* SetClass)(struct IStorage *, IID *);
HRESULT (* SetStateBits)(struct IStorage *, DWORD, DWORD);
HRESULT (* Stat)(struct IStorage *, STATSTG *, DWORD);
};
struct IStream {
struct IStreamVtbl * lpVtbl;
};
struct _struct_20 {
DWORD LowPart;
LONG HighPart;
};
struct _struct_19 {
DWORD LowPart;
LONG HighPart;
};
union _LARGE_INTEGER {
struct _struct_19 s;
struct _struct_20 u;
LONGLONG QuadPart;
};
struct IStorage {
struct IStorageVtbl * lpVtbl;
};
struct IEnumSTATSTGVtbl {
HRESULT (* QueryInterface)(struct IEnumSTATSTG *, IID *, void * *);
ULONG (* AddRef)(struct IEnumSTATSTG *);
ULONG (* Release)(struct IEnumSTATSTG *);
HRESULT (* Next)(struct IEnumSTATSTG *, ULONG, STATSTG *, ULONG *);
HRESULT (* Skip)(struct IEnumSTATSTG *, ULONG);
HRESULT (* Reset)(struct IEnumSTATSTG *);
HRESULT (* Clone)(struct IEnumSTATSTG *, struct IEnumSTATSTG * *);
};
struct tagSTGMEDIUM {
DWORD tymed;
union _union_2260 u;
struct IUnknown * pUnkForRelease;
};
struct HBITMAP__ {
int unused;
};
struct IEnumSTATSTG {
struct IEnumSTATSTGVtbl * lpVtbl;
};
struct _struct_23 {
DWORD LowPart;
DWORD HighPart;
};
struct _GUID {
ulong Data1;
ushort Data2;
ushort Data3;
uchar Data4[8];
};
struct IUnknownVtbl {
HRESULT (* QueryInterface)(struct IUnknown *, IID *, void * *);
ULONG (* AddRef)(struct IUnknown *);
ULONG (* Release)(struct IUnknown *);
};
struct IUnknown {
struct IUnknownVtbl * lpVtbl;
};
struct _struct_22 {
DWORD LowPart;
DWORD HighPart;
};
union _ULARGE_INTEGER {
struct _struct_22 s;
struct _struct_23 u;
ULONGLONG QuadPart;
};
struct HENHMETAFILE__ {
int unused;
};
struct _tagBINDINFO {
ULONG cbSize;
LPWSTR szExtraInfo;
STGMEDIUM stgmedData;
DWORD grfBindInfoF;
DWORD dwBindVerb;
LPWSTR szCustomVerb;
DWORD cbstgmedData;
DWORD dwOptions;
DWORD dwOptionsFlags;
DWORD dwCodePage;
SECURITY_ATTRIBUTES securityAttributes;
IID iid;
struct IUnknown * pUnk;
DWORD dwReserved;
};
struct tagSTATSTG {
LPOLESTR pwcsName;
DWORD type;
ULARGE_INTEGER cbSize;
FILETIME mtime;
FILETIME ctime;
FILETIME atime;
DWORD grfMode;
DWORD grfLocksSupported;
CLSID clsid;
DWORD grfStateBits;
DWORD reserved;
};
typedef struct IBindStatusCallback IBindStatusCallback, *PIBindStatusCallback;
typedef struct IBindStatusCallbackVtbl IBindStatusCallbackVtbl, *PIBindStatusCallbackVtbl;
typedef struct IBinding IBinding, *PIBinding;
typedef WCHAR * LPCWSTR;
typedef struct tagFORMATETC tagFORMATETC, *PtagFORMATETC;
typedef struct tagFORMATETC FORMATETC;
typedef struct IBindingVtbl IBindingVtbl, *PIBindingVtbl;
typedef struct tagDVTARGETDEVICE tagDVTARGETDEVICE, *PtagDVTARGETDEVICE;
typedef struct tagDVTARGETDEVICE DVTARGETDEVICE;
struct IBindStatusCallback {
struct IBindStatusCallbackVtbl * lpVtbl;
};
struct tagFORMATETC {
CLIPFORMAT cfFormat;
DVTARGETDEVICE * ptd;
DWORD dwAspect;
LONG lindex;
DWORD tymed;
};
struct IBinding {
struct IBindingVtbl * lpVtbl;
};
struct IBindStatusCallbackVtbl {
HRESULT (* QueryInterface)(struct IBindStatusCallback *, IID *, void * *);
ULONG (* AddRef)(struct IBindStatusCallback *);
ULONG (* Release)(struct IBindStatusCallback *);
HRESULT (* OnStartBinding)(struct IBindStatusCallback *, DWORD, struct IBinding *);
HRESULT (* GetPriority)(struct IBindStatusCallback *, LONG *);
HRESULT (* OnLowResource)(struct IBindStatusCallback *, DWORD);
HRESULT (* OnProgress)(struct IBindStatusCallback *, ULONG, ULONG, ULONG, LPCWSTR);
HRESULT (* OnStopBinding)(struct IBindStatusCallback *, HRESULT, LPCWSTR);
HRESULT (* GetBindInfo)(struct IBindStatusCallback *, DWORD *, BINDINFO *);
HRESULT (* OnDataAvailable)(struct IBindStatusCallback *, DWORD, DWORD, FORMATETC *, STGMEDIUM *);
HRESULT (* OnObjectAvailable)(struct IBindStatusCallback *, IID *, struct IUnknown *);
};
struct IBindingVtbl {
HRESULT (* QueryInterface)(struct IBinding *, IID *, void * *);
ULONG (* AddRef)(struct IBinding *);
ULONG (* Release)(struct IBinding *);
HRESULT (* Abort)(struct IBinding *);
HRESULT (* Suspend)(struct IBinding *);
HRESULT (* Resume)(struct IBinding *);
HRESULT (* SetPriority)(struct IBinding *, LONG);
HRESULT (* GetPriority)(struct IBinding *, LONG *);
HRESULT (* GetBindResult)(struct IBinding *, CLSID *, DWORD *, LPOLESTR *, DWORD *);
};
struct tagDVTARGETDEVICE {
DWORD tdSize;
WORD tdDriverNameOffset;
WORD tdDeviceNameOffset;
WORD tdPortNameOffset;
WORD tdExtDevmodeOffset;
BYTE tdData[1];
};
typedef struct IBindStatusCallback * LPBINDSTATUSCALLBACK;
typedef struct HDC__ HDC__, *PHDC__;
typedef struct HDC__ * HDC;
typedef long LONG_PTR;
typedef LONG_PTR LPARAM;
typedef BOOL (* GRAYSTRINGPROC)(HDC, LPARAM, int);
struct HDC__ {
int unused;
};
typedef struct tagTRACKMOUSEEVENT tagTRACKMOUSEEVENT, *PtagTRACKMOUSEEVENT;
typedef struct HWND__ HWND__, *PHWND__;
typedef struct HWND__ * HWND;
struct tagTRACKMOUSEEVENT {
DWORD cbSize;
DWORD dwFlags;
HWND hwndTrack;
DWORD dwHoverTime;
};
struct HWND__ {
int unused;
};
typedef uint UINT;
typedef uint UINT_PTR;
typedef void (* TIMERPROC)(HWND, UINT, UINT_PTR, DWORD);
typedef struct tagTRACKMOUSEEVENT * LPTRACKMOUSEEVENT;
typedef struct basic_string<unsigned_short,struct_std::char_traits<unsigned_short>,class_std::allocator<unsigned_short>_> basic_string<unsigned_short,struct_std::char_traits<unsigned_short>,class_std::allocator<unsigned_short>_>, *Pbasic_string<unsigned_short,struct_std::char_traits<unsigned_short>,class_std::allocator<unsigned_short>_>;
struct basic_string<unsigned_short,struct_std::char_traits<unsigned_short>,class_std::allocator<unsigned_short>_> { // PlaceHolder Class Structure
};
typedef struct IMAGE_DOS_HEADER IMAGE_DOS_HEADER, *PIMAGE_DOS_HEADER;
struct IMAGE_DOS_HEADER {
char e_magic[2]; // Magic number
word e_cblp; // Bytes of last page
word e_cp; // Pages in file
word e_crlc; // Relocations
word e_cparhdr; // Size of header in paragraphs
word e_minalloc; // Minimum extra paragraphs needed
word e_maxalloc; // Maximum extra paragraphs needed
word e_ss; // Initial (relative) SS value
word e_sp; // Initial SP value
word e_csum; // Checksum
word e_ip; // Initial IP value
word e_cs; // Initial (relative) CS value
word e_lfarlc; // File address of relocation table
word e_ovno; // Overlay number
word e_res[4][4]; // Reserved words
word e_oemid; // OEM identifier (for e_oeminfo)
word e_oeminfo; // OEM information; e_oemid specific
word e_res2[10][10]; // Reserved words
dword e_lfanew; // File address of new exe header
byte e_program[64]; // Actual DOS program
};
typedef ULONG_PTR SIZE_T;
typedef struct CDocument CDocument, *PCDocument;
struct CDocument { // PlaceHolder Structure
};
typedef struct AFX_OLECMDMAP AFX_OLECMDMAP, *PAFX_OLECMDMAP;
struct AFX_OLECMDMAP { // PlaceHolder Structure
};
typedef struct AFX_MODULE_STATE AFX_MODULE_STATE, *PAFX_MODULE_STATE;
struct AFX_MODULE_STATE { // PlaceHolder Structure
};
typedef struct CTypeLibCache CTypeLibCache, *PCTypeLibCache;
struct CTypeLibCache { // PlaceHolder Structure
};
typedef struct CDataExchange CDataExchange, *PCDataExchange;
struct CDataExchange { // PlaceHolder Structure
};
typedef struct AFX_EVENTSINKMAP AFX_EVENTSINKMAP, *PAFX_EVENTSINKMAP;
struct AFX_EVENTSINKMAP { // PlaceHolder Structure
};
typedef struct COccManager COccManager, *PCOccManager;
struct COccManager { // PlaceHolder Structure
};
typedef struct tagTOOLINFOA tagTOOLINFOA, *PtagTOOLINFOA;
struct tagTOOLINFOA { // PlaceHolder Structure
};
typedef struct AFX_CMDHANDLERINFO AFX_CMDHANDLERINFO, *PAFX_CMDHANDLERINFO;
struct AFX_CMDHANDLERINFO { // PlaceHolder Structure
};
typedef struct AFX_CONNECTIONMAP AFX_CONNECTIONMAP, *PAFX_CONNECTIONMAP;
struct AFX_CONNECTIONMAP { // PlaceHolder Structure
};
typedef struct _charformat _charformat, *P_charformat;
struct _charformat { // PlaceHolder Structure
};
typedef struct COleControlSite COleControlSite, *PCOleControlSite;
struct COleControlSite { // PlaceHolder Structure
};
typedef struct CScrollBar CScrollBar, *PCScrollBar;
struct CScrollBar { // PlaceHolder Structure
};
typedef struct CRuntimeClass CRuntimeClass, *PCRuntimeClass;
struct CRuntimeClass { // PlaceHolder Structure
};
typedef struct tagMEASUREITEMSTRUCT tagMEASUREITEMSTRUCT, *PtagMEASUREITEMSTRUCT;
struct tagMEASUREITEMSTRUCT { // PlaceHolder Structure
};
typedef struct CSize CSize, *PCSize;
struct CSize { // PlaceHolder Structure
};
typedef struct tagVARIANT tagVARIANT, *PtagVARIANT;
struct tagVARIANT { // PlaceHolder Structure
};
typedef struct tagCOMPAREITEMSTRUCT tagCOMPAREITEMSTRUCT, *PtagCOMPAREITEMSTRUCT;
struct tagCOMPAREITEMSTRUCT { // PlaceHolder Structure
};
typedef struct IConnectionPoint IConnectionPoint, *PIConnectionPoint;
struct IConnectionPoint { // PlaceHolder Structure
};
typedef struct AFX_DISPMAP AFX_DISPMAP, *PAFX_DISPMAP;
struct AFX_DISPMAP { // PlaceHolder Structure
};
typedef struct _AFX_OCC_DIALOG_INFO _AFX_OCC_DIALOG_INFO, *P_AFX_OCC_DIALOG_INFO;
struct _AFX_OCC_DIALOG_INFO { // PlaceHolder Structure
};
typedef struct AFX_INTERFACEMAP AFX_INTERFACEMAP, *PAFX_INTERFACEMAP;
struct AFX_INTERFACEMAP { // PlaceHolder Structure
};
typedef struct tagCREATESTRUCTA tagCREATESTRUCTA, *PtagCREATESTRUCTA;
struct tagCREATESTRUCTA { // PlaceHolder Structure
};
typedef struct AFX_MSGMAP AFX_MSGMAP, *PAFX_MSGMAP;
struct AFX_MSGMAP { // PlaceHolder Structure
};