-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.inc
247 lines (229 loc) · 8.95 KB
/
data.inc
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
__UNICODE__ equ 1
include \masm32\include\masm32rt.inc
includelib img_conv\img_conv.lib
includelib select_frame\select_frame.lib
includelib setti\setti.lib
includelib lang\lang.lib
includelib ex_api\ex_api.lib
includelib \masm32\lib\gdiplus.lib
include \masm32\include\gdiplus.inc
include \masm32\include\advapi32.inc
includelib \masm32\lib\advapi32.lib
avi_ini proto :DWORD, :DWORD, :DWORD, :DWORD, :DWORD, :DWORD
scr_shot proto :DWORD, :DWORD, :DWORD, :DWORD
ENProc proto :DWORD, :DWORD, :DWORD, :DWORD
get_folder proto :DWORD, :DWORD, :DWORD
PreviewImg proto :DWORD, :DWORD
bfol proto :DWORD, :DWORD
paint_proc proto :DWORD
GetTime proto :DWORD
include lib.inc
;macro
mmioFOURCC MACRO c0, c1, c2, c3
EXITM <(c0) or ((c1) shl 8) or ((c2) shl 16) or ((c3) shl 24)>
ENDM
avi_invoke MACRO a1, a2:=<0>, a3:=<0>, a4:=<0>, a5:=<0>, a6:=<0>, a7:=<0>, a8:=<0>, a9:=<0>
LOCAL stack
.data?
stack dd ?
.code
mov stack, esp
push a9
push a8
push a7
push a6
push a5
push a4
push a3
push a2
call a1
mov esp, stack
ENDM
xparam MACRO n_const, ident
mov ebx, ident
mov ecx, n_const
shl ecx, 16
or ecx, ebx
EXITM <ecx>
ENDM
;struct
AVISTREAMINFO STRUCT
fccType dd ?
fccHandler dd ?
dwFlags dd ?
dwCaps dd ?
wPriority dw ?
wLanguage dw ?
dwScale dd ?
dwRate dd ?
dwStart dd ?
dwLength dd ?
dwInitialFrames dd ?
dwSuggestedBufferSize dd ?
dwQuality dd ?
dwSampleSize dd ?
rcFrame RECT <>
dwEditCount dd ?
dwFormatChangeCount dd ?
szName TCHAR 64 dup (?)
AVISTREAMINFO ENDS
AVICOMPRESSOPTIONS STRUCT
fccType dd ?
fccHandler dd ?
dwKeyFrameEvery dd ?
dwQuality dd ?
dwBytesPerSecond dd ?
dwFlags dd ?
lpFormat LPVOID ?
cbFormat dd ?
lpParms LPVOID ?
cbParms dd ?
dwInterleaveEvery dd ?
AVICOMPRESSOPTIONS ENDS
.const
STR_A equ 0
STR_W equ -1
STR_ITALIC equ 010000h
STR_UNDERLINE equ 0100h
STR_STRIKEOUT equ 01h
PM_QUIT equ WM_USER + 160
TM_COMMAND equ WM_USER + 161
.data
UC Screenshot_Class, "Screenshot_Class", 0
UC Class_Preview, "Class_Preview", 0
UC button, "button", 0
UC static, "static", 0
UC edit, "edit", 0
UC updown, "msctls_updown32", 0
UC hotkey, "msctls_hotkey32",0
UC combobox, "combobox",0
UC VerdanaFont, "Verdana",0
UCC RegP, "Software\\Microsoft\\Windows\\CurrentVersion\\Run",0
UC RegN, "Screenshot",0
streamtypeVIDEO dd mmioFOURCC('v','i','d','s')
msvc_codec dd mmioFOURCC('M','S','V','C')
WM_TASKBARCREATED dd 0
f_mod dd 0
format_f dd 0
fLng dd 1
hPreview dd 0
tru_icon dd 0
hdll dd 0
lStart dd 0
quality_avi_f dd 50
fps_f dd 10
hCompressStream dd 0
hStream dd 0
avi_f dd 0
maxp dd 260
reg_check dd 0
color_hotkey dd 000000ffh
fPrint dd 0
f_FolderForScreenshots dd 0
f_FolderForVideo dd 0
s_Translation dd 0, 10000 ; Ïåðåâîä
s_RestartProgram dd 0, 10010 ; Ïåðåçàïóñòèòå ïðîãðàììó
s_About dd 0, 10020 ; Î ïðîãðàììå
s_Save dd 0, 10030 ; Ñîõðàíèòü
s_SaveAndOpenFolder dd 0, 10040 ; Ñîõðàíèòü è îòêðûòü ïàïêó
s_SaveAndCopyPath dd 0, 10045 ; Ñîõðàíèòü è êîïèðîâàòü ïóòü
s_CancelSave dd 0, 10050 ; Îòìåíà
s_StopExit dd 0, 10060 ; Ïðîöåññ çàïèñè áóäåò ïðåðâàí, çàêðûòü?
s_Screenshot dd 0, 10070 ; Screenshot
s_DoScreenshot dd 0, 10080 ; - Ñäåëàòü Screenshot
s_Preview dd 0, 10090 ; Ïðåäïðîñìîòð
s_WindowUnderCursor dd 0, 10100 ; Îêíî ïîä êóðñîðîì
s_PortionScreen dd 0, 10110 ; Ó÷àñòîê ýêðàíà
s_FullScreen dd 0, 10120 ; Âåñü ýêðàí
s_StartRec dd 0, 10130 ; - Íà÷àòü çàïèñü
s_StopRec dd 0, 10140 ; - Îñòàíîâèòü çàïèñü
s_FPS dd 0, 10160 ; ê/ñ
s_Quality_avi dd 0, 10180 ; Êà÷åñòâî AVI
s_Exit dd 0, 10190 ; Âûõîä
s_StopSave dd 0, 10200 ; Ôàéë ñ òàêèì èìåíåì óæå ñóùåñòâóåò, çàìåíèòü?
s_AutoRun dd 0, 10210 ; Àâòîçàïóñê
s_AutoRunInf dd 0, 10220 ;
s_AdditionalOptions dd 0, 10230 ; Äîïîëíèòåëüíûå îïöèè
s_PrintWindow dd 0, 10240 ; PrintWindow
s_Settings dd 0, 10250 ; Íàñòðîéêè
s_FolderForScreenshots dd 0, 10260 ; Ïàïêà äëÿ ñêðèíøîòîâ
s_FolderForVideo dd 0, 10270 ; Ïàïêà äëÿ âèäåîçàïèñåé
s_Select dd 0, 10280 ; Âûáðàòü
s_NearToProgram dd 0, 10290 ; Ðÿäîì ñ ïðîãðàììîé
s_YouCanNotSaveInThisFolder dd 0, 10300 ; Íåëüçÿ ñîõðàíèòü â ýòîé ïàïêå
s_FolderIsWriteProtected dd 0, 10310 ; Ïàïêà çàùèùåíà îò çàïèñè
id_edit_name dd 3065, 0, -1
id_static_1 dd 3060, 0, -1
id_static_2 dd 3055, 0, -1
id_DoScreenshot dd 3050, 0, -1
id_updown_fps_avi dd 3040, 0, -1
id_fps_avi dd 3035, 0, -1
id_Quality_avi dd 3030, 0, -1
id_updown_quality_avi dd 3025, 0, -1
id_edit_fps_avi dd 3020, 0, 0
id_edit_quality_avi dd 3015, 0, 0
id_combobox2 dd 3010, 0, 0
id_combobox dd 3005, 0, 0
id_hotkey dd 3000, 0, 0
.data?
hInstance dd ?
CommandLine dd ?
hWin dd ?
Xhwnd dd ?
monx dd ?
mony dd ?
hDC dd ?
hDC1 dd ?
hDib dd ?
hMenuPreview dd ?
hMenuClose dd ?
www2 dd ?
hhh2 dd ?
www3 dd ?
hhh3 dd ?
xxx1 dd ?
yyy1 dd ?
hSelectFrame dd ?
hMenu dd ?
hMenu2 dd ?
hMenu3 dd ?
hMenu4 dd ?
hSysMenu dd ?
ini_f dd ?
h_icon dd ?
h_clip dd ?
hENProc dd ?
hKey dd ?
hFocus dd ?
AVIFileInit dd ?
AVIFileOpen dd ?
AVIFileCreateStream dd ?
AVIMakeCompressedStream dd ?
AVIStreamSetFormat dd ?
AVIFileRelease dd ?
AVIStreamEndStreaming dd ?
AVISaveOptions dd ?
AVIStreamRelease dd ?
AVIFileExit dd ?
AVIStreamStart dd ?
AVIStreamWrite dd ?
temp_str TCHAR 2048 dup (?)
temp_str_2 TCHAR 2048 dup (?)
temp_str_3 TCHAR 2048 dup (?)
ExplorerPath TCHAR 1024 dup (?)
SystemPath TCHAR 2048 dup (?)
TimeBuffer TCHAR 256 dup (?)
maxpbuf TCHAR 260 dup (?)
videoPath TCHAR 1024 dup (?)
screenshotPath TCHAR 1024 dup (?)
avis AVISTREAMINFO <>
avco AVICOMPRESSOPTIONS <>
wc WNDCLASSEX <>
msg MSG <>
xpt POINT <>
rct RECT <>
focus_rct RECT <>
iccex INITCOMMONCONTROLSEX <>
seci SHELLEXECUTEINFO <>
nid NOTIFYICONDATA <>
wfd WIN32_FIND_DATA <>