-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathshell32.api
395 lines (395 loc) · 11.1 KB
/
shell32.api
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
[DragQueryFileA]
1=HDROP hDrop
2=UINT iFile
3=LPSTR lpszFile
4=UINT cch
ParamCount=4
@=DragQueryFileA(HDROP hDrop, UINT iFile, LPSTR lpszFile, UINT cch);
[DragQueryFileW]
1=HDROP hDrop
2=UINT iFile
3=LPWSTR lpszFile
4=UINT cch
ParamCount=4
@=DragQueryFileW(HDROP hDrop, UINT iFile, LPWSTR lpszFile, UINT cch);
[DragQueryPoint]
1=HDROP hDrop
2=POINT *ppt
ParamCount=2
@=DragQueryPoint(HDROP hDrop, POINT *ppt);
[DragFinish]
1=HDROP hDrop
ParamCount=1
@=DragFinish(HDROP hDrop);
[DragAcceptFiles]
1=HWND hWnd
2=BOOL fAccept
ParamCount=2
@=DragAcceptFiles(HWND hWnd, BOOL fAccept);
[ShellExecuteA]
1=HWND hwnd
2=LPCSTR lpOperation
3=LPCSTR lpFile
4=LPCSTR lpParameters
5=LPCSTR lpDirectory
6=INT nShowCmd
ParamCount=6
@=ShellExecuteA(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd);
[ShellExecuteW]
1=HWND hwnd
2=LPCWSTR lpOperation
3=LPCWSTR lpFile
4=LPCWSTR lpParameters
5=LPCWSTR lpDirectory
6=INT nShowCmd
ParamCount=6
@=ShellExecuteW(HWND hwnd, LPCWSTR lpOperation, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd);
[FindExecutableA]
1=LPCSTR lpFile
2=LPCSTR lpDirectory
3=LPSTR lpResult
ParamCount=3
@=FindExecutableA(LPCSTR lpFile, LPCSTR lpDirectory, LPSTR lpResult);
[FindExecutableW]
1=LPCWSTR lpFile
2=LPCWSTR lpDirectory
3=LPWSTR lpResult
ParamCount=3
@=FindExecutableW(LPCWSTR lpFile, LPCWSTR lpDirectory, LPWSTR lpResult);
[CommandLineToArgvW]
1=LPCWSTR lpCmdLine
2=int* pNumArgs
ParamCount=2
@=CommandLineToArgvW(LPCWSTR lpCmdLine, int* pNumArgs);
[ShellAboutA]
1=HWND hWnd
2=LPCSTR szApp
3=LPCSTR szOtherStuff
4=HICON hIcon
ParamCount=4
@=ShellAboutA(HWND hWnd, LPCSTR szApp, LPCSTR szOtherStuff, HICON hIcon);
[ShellAboutW]
1=HWND hWnd
2=LPCWSTR szApp
3=LPCWSTR szOtherStuff
4=HICON hIcon
ParamCount=4
@=ShellAboutW(HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, HICON hIcon);
[DuplicateIcon]
1=HINSTANCE hInst
2=HICON hIcon
ParamCount=2
@=DuplicateIcon(HINSTANCE hInst, HICON hIcon);
[ExtractAssociatedIconA]
1=HINSTANCE hInst
2=LPSTR pszIconPath
3=WORD *piIcon
ParamCount=3
@=ExtractAssociatedIconA(HINSTANCE hInst, LPSTR pszIconPath, WORD *piIcon);
[ExtractAssociatedIconW]
1=HINSTANCE hInst
2=LPWSTR pszIconPath
3=WORD *piIcon
ParamCount=3
@=ExtractAssociatedIconW(HINSTANCE hInst, LPWSTR pszIconPath, WORD *piIcon);
[ExtractAssociatedIconExA]
1=HINSTANCE hInst
2=LPSTR pszIconPath
3=WORD *piIconIndex
4=WORD *piIconId
ParamCount=4
@=ExtractAssociatedIconExA(HINSTANCE hInst, LPSTR pszIconPath, WORD *piIconIndex, WORD *piIconId);
[ExtractAssociatedIconExW]
1=HINSTANCE hInst
2=LPWSTR pszIconPath
3=WORD *piIconIndex
4=WORD *piIconId
ParamCount=4
@=ExtractAssociatedIconExW(HINSTANCE hInst, LPWSTR pszIconPath, WORD *piIconIndex, WORD *piIconId);
[ExtractIconA]
1=HINSTANCE hInst
2=LPCSTR pszExeFileName
3=UINT nIconIndex
ParamCount=3
@=ExtractIconA(HINSTANCE hInst, LPCSTR pszExeFileName, UINT nIconIndex);
[ExtractIconW]
1=HINSTANCE hInst
2=LPCWSTR pszExeFileName
3=UINT nIconIndex
ParamCount=3
@=ExtractIconW(HINSTANCE hInst, LPCWSTR pszExeFileName, UINT nIconIndex);
[SHAppBarMessage]
1=DWORD dwMessage
2=PAPPBARDATA pData
ParamCount=2
@=SHAppBarMessage(DWORD dwMessage, PAPPBARDATA pData);
[DoEnvironmentSubstA]
1=LPSTR pszSrc
2=UINT cchSrc
ParamCount=2
@=DoEnvironmentSubstA(LPSTR pszSrc, UINT cchSrc);
[DoEnvironmentSubstW]
1=LPWSTR pszSrc
2=UINT cchSrc
ParamCount=2
@=DoEnvironmentSubstW(LPWSTR pszSrc, UINT cchSrc);
[ExtractIconExA]
1=LPCSTR lpszFile
2=int nIconIndex
3=HICON *phiconLarge
4=HICON *phiconSmall
5=UINT nIcons
ParamCount=5
@=ExtractIconExA(LPCSTR lpszFile, int nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIcons);
[ExtractIconExW]
1=LPCWSTR lpszFile
2=int nIconIndex
3=HICON *phiconLarge
4=HICON *phiconSmall
5=UINT nIcons
ParamCount=5
@=ExtractIconExW(LPCWSTR lpszFile, int nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIcons);
[SHFileOperationA]
1=LPSHFILEOPSTRUCTA lpFileOp
ParamCount=1
@=SHFileOperationA(LPSHFILEOPSTRUCTA lpFileOp);
[SHFileOperationW]
1=LPSHFILEOPSTRUCTW lpFileOp
ParamCount=1
@=SHFileOperationW(LPSHFILEOPSTRUCTW lpFileOp);
[SHFreeNameMappings]
1=HANDLE hNameMappings
ParamCount=1
@=SHFreeNameMappings(HANDLE hNameMappings);
[ShellExecuteExA]
1=SHELLEXECUTEINFOA *pExecInfo
ParamCount=1
@=ShellExecuteExA(SHELLEXECUTEINFOA *pExecInfo);
[ShellExecuteExW]
1=SHELLEXECUTEINFOW *pExecInfo
ParamCount=1
@=ShellExecuteExW(SHELLEXECUTEINFOW *pExecInfo);
[SHCreateProcessAsUserW]
1=PSHCREATEPROCESSINFOW pscpi
ParamCount=1
@=SHCreateProcessAsUserW(PSHCREATEPROCESSINFOW pscpi);
[SHEvaluateSystemCommandTemplate]
1=PCWSTR pszCmdTemplate
2=PWSTR *ppszApplication
3=PWSTR *ppszCommandLine
4=PWSTR *ppszParameters
ParamCount=4
@=SHEvaluateSystemCommandTemplate(PCWSTR pszCmdTemplate, PWSTR *ppszApplication, PWSTR *ppszCommandLine, PWSTR *ppszParameters);
[AssocCreateForClasses]
1=ASSOCIATIONELEMENT *rgClasses
2=ULONG cClasses
3=REFIID riid
4=void **ppv
ParamCount=4
@=AssocCreateForClasses(ASSOCIATIONELEMENT *rgClasses, ULONG cClasses, REFIID riid, void **ppv);
[SHQueryRecycleBinA]
1=LPCSTR pszRootPath
2=LPSHQUERYRBINFO pSHQueryRBInfo
ParamCount=2
@=SHQueryRecycleBinA(LPCSTR pszRootPath, LPSHQUERYRBINFO pSHQueryRBInfo);
[SHQueryRecycleBinW]
1=LPCWSTR pszRootPath
2=LPSHQUERYRBINFO pSHQueryRBInfo
ParamCount=2
@=SHQueryRecycleBinW(LPCWSTR pszRootPath, LPSHQUERYRBINFO pSHQueryRBInfo);
[SHEmptyRecycleBinA]
1=HWND hwnd
2=LPCSTR pszRootPath
3=DWORD dwFlags
ParamCount=3
@=SHEmptyRecycleBinA(HWND hwnd, LPCSTR pszRootPath, DWORD dwFlags);
[SHEmptyRecycleBinW]
1=HWND hwnd
2=LPCWSTR pszRootPath
3=DWORD dwFlags
ParamCount=3
@=SHEmptyRecycleBinW(HWND hwnd, LPCWSTR pszRootPath, DWORD dwFlags);
[SHQueryUserNotificationState]
1=QUERY_USER_NOTIFICATION_STATE *pquns
ParamCount=1
@=SHQueryUserNotificationState(QUERY_USER_NOTIFICATION_STATE *pquns);
[SHGetPropertyStoreForWindow]
1=HWND hwnd
2=REFIID riid
3=void** ppv
ParamCount=3
@=SHGetPropertyStoreForWindow(HWND hwnd, REFIID riid, void** ppv);
[Shell_NotifyIconA]
1=DWORD dwMessage
2=PNOTIFYICONDATAA lpData
ParamCount=2
@=Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA lpData);
[Shell_NotifyIconW]
1=DWORD dwMessage
2=PNOTIFYICONDATAW lpData
ParamCount=2
@=Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
[Shell_NotifyIconGetRect]
1=NOTIFYICONIDENTIFIER* identifier
2=RECT* iconLocation
ParamCount=2
@=Shell_NotifyIconGetRect(NOTIFYICONIDENTIFIER* identifier, RECT* iconLocation);
[SHGetFileInfoA]
1=LPCSTR pszPath
2=DWORD dwFileAttributes
3=SHFILEINFOA *psfi
4=UINT cbFileInfo
5=UINT uFlags
ParamCount=5
@=SHGetFileInfoA(LPCSTR pszPath, DWORD dwFileAttributes, SHFILEINFOA *psfi, UINT cbFileInfo, UINT uFlags);
[SHGetFileInfoW]
1=LPCWSTR pszPath
2=DWORD dwFileAttributes
3=SHFILEINFOW *psfi
4=UINT cbFileInfo
5=UINT uFlags
ParamCount=5
@=SHGetFileInfoW(LPCWSTR pszPath, DWORD dwFileAttributes, SHFILEINFOW *psfi, UINT cbFileInfo, UINT uFlags);
[SHGetStockIconInfo]
1=SHSTOCKICONID siid
2=UINT uFlags
3=SHSTOCKICONINFO *psii
ParamCount=3
@=SHGetStockIconInfo(SHSTOCKICONID siid, UINT uFlags, SHSTOCKICONINFO *psii);
[SHGetDiskFreeSpaceExA]
1=LPCSTR pszDirectoryName
2=ULARGE_INTEGER* pulFreeBytesAvailableToCaller
3=ULARGE_INTEGER* pulTotalNumberOfBytes
4=ULARGE_INTEGER* pulTotalNumberOfFreeBytes
ParamCount=4
@=SHGetDiskFreeSpaceExA(LPCSTR pszDirectoryName, ULARGE_INTEGER* pulFreeBytesAvailableToCaller, ULARGE_INTEGER* pulTotalNumberOfBytes, ULARGE_INTEGER* pulTotalNumberOfFreeBytes);
[SHGetDiskFreeSpaceExW]
1=LPCWSTR pszDirectoryName
2=ULARGE_INTEGER* pulFreeBytesAvailableToCaller
3=ULARGE_INTEGER* pulTotalNumberOfBytes
4=ULARGE_INTEGER* pulTotalNumberOfFreeBytes
ParamCount=4
@=SHGetDiskFreeSpaceExW(LPCWSTR pszDirectoryName, ULARGE_INTEGER* pulFreeBytesAvailableToCaller, ULARGE_INTEGER* pulTotalNumberOfBytes, ULARGE_INTEGER* pulTotalNumberOfFreeBytes);
[SHGetNewLinkInfoA]
1=LPCSTR pszLinkTo
2=LPCSTR pszDir
3=LPSTR pszName
4=BOOL *pfMustCopy
5=UINT uFlags
ParamCount=5
@=SHGetNewLinkInfoA(LPCSTR pszLinkTo, LPCSTR pszDir, LPSTR pszName, BOOL *pfMustCopy, UINT uFlags);
[SHGetNewLinkInfoW]
1=LPCWSTR pszLinkTo
2=LPCWSTR pszDir
3=LPWSTR pszName
4=BOOL *pfMustCopy
5=UINT uFlags
ParamCount=5
@=SHGetNewLinkInfoW(LPCWSTR pszLinkTo, LPCWSTR pszDir, LPWSTR pszName, BOOL *pfMustCopy, UINT uFlags);
[SHInvokePrinterCommandA]
1=HWND hwnd
2=UINT uAction
3=LPCSTR lpBuf1
4=LPCSTR lpBuf2
5=BOOL fModal
ParamCount=5
@=SHInvokePrinterCommandA(HWND hwnd, UINT uAction, LPCSTR lpBuf1, LPCSTR lpBuf2, BOOL fModal);
[SHInvokePrinterCommandW]
1=HWND hwnd
2=UINT uAction
3=LPCWSTR lpBuf1
4=LPCWSTR lpBuf2
5=BOOL fModal
ParamCount=5
@=SHInvokePrinterCommandW(HWND hwnd, UINT uAction, LPCWSTR lpBuf1, LPCWSTR lpBuf2, BOOL fModal);
[SHLoadNonloadedIconOverlayIdentifiers]
ParamCount=0
@=SHLoadNonloadedIconOverlayIdentifiers();
[SHIsFileAvailableOffline]
1=PCWSTR pwszPath
2=DWORD *pdwStatus
ParamCount=2
@=SHIsFileAvailableOffline(PCWSTR pwszPath, DWORD *pdwStatus);
[SHSetLocalizedName]
1=PCWSTR pszPath
2=PCWSTR pszResModule
3=int idsRes
ParamCount=3
@=SHSetLocalizedName(PCWSTR pszPath, PCWSTR pszResModule, int idsRes);
[SHRemoveLocalizedName]
1=PCWSTR pszPath
ParamCount=1
@=SHRemoveLocalizedName(PCWSTR pszPath);
[SHGetLocalizedName]
1=PCWSTR pszPath
2=PWSTR pszResModule
3=UINT cch
4=int *pidsRes
ParamCount=4
@=SHGetLocalizedName(PCWSTR pszPath, PWSTR pszResModule, UINT cch, int *pidsRes);
[IsLFNDriveA]
1=LPCSTR pszPath
ParamCount=1
@=IsLFNDriveA(LPCSTR pszPath);
[IsLFNDriveW]
1=LPCWSTR pszPath
ParamCount=1
@=IsLFNDriveW(LPCWSTR pszPath);
[SHEnumerateUnreadMailAccountsA]
1=HKEY hKeyUser
2=DWORD dwIndex
3=LPSTR pszMailAddress
4=int cchMailAddress
ParamCount=4
@=SHEnumerateUnreadMailAccountsA(HKEY hKeyUser, DWORD dwIndex, LPSTR pszMailAddress, int cchMailAddress);
[SHEnumerateUnreadMailAccountsW]
1=HKEY hKeyUser
2=DWORD dwIndex
3=LPWSTR pszMailAddress
4=int cchMailAddress
ParamCount=4
@=SHEnumerateUnreadMailAccountsW(HKEY hKeyUser, DWORD dwIndex, LPWSTR pszMailAddress, int cchMailAddress);
[SHGetUnreadMailCountA]
1=HKEY hKeyUser
2=LPCSTR pszMailAddress
3=DWORD *pdwCount
4=FILETIME *pFileTime
5=LPSTR pszShellExecuteCommand
6=int cchShellExecuteCommand
ParamCount=6
@=SHGetUnreadMailCountA(HKEY hKeyUser, LPCSTR pszMailAddress, DWORD *pdwCount, FILETIME *pFileTime, LPSTR pszShellExecuteCommand, int cchShellExecuteCommand);
[SHGetUnreadMailCountW]
1=HKEY hKeyUser
2=LPCWSTR pszMailAddress
3=DWORD *pdwCount
4=FILETIME *pFileTime
5=LPWSTR pszShellExecuteCommand
6=int cchShellExecuteCommand
ParamCount=6
@=SHGetUnreadMailCountW(HKEY hKeyUser, LPCWSTR pszMailAddress, DWORD *pdwCount, FILETIME *pFileTime, LPWSTR pszShellExecuteCommand, int cchShellExecuteCommand);
[SHSetUnreadMailCountA]
1=LPCSTR pszMailAddress
2=DWORD dwCount
3=LPCSTR pszShellExecuteCommand
ParamCount=3
@=SHSetUnreadMailCountA(LPCSTR pszMailAddress, DWORD dwCount, LPCSTR pszShellExecuteCommand);
[SHSetUnreadMailCountW]
1=LPCWSTR pszMailAddress
2=DWORD dwCount
3=LPCWSTR pszShellExecuteCommand
ParamCount=3
@=SHSetUnreadMailCountW(LPCWSTR pszMailAddress, DWORD dwCount, LPCWSTR pszShellExecuteCommand);
[SHTestTokenMembership]
1=HANDLE hToken
2=ULONG ulRID
ParamCount=2
@=SSHTestTokenMembership(HANDLE hToken, ULONG ulRID);
[SHGetImageList]
1=int iImageList
2=REFIID riid
3=void **ppvObj
ParamCount=3
@=SHGetImageList(int iImageList, REFIID riid, void **ppvObj);
[InitNetworkAddressControl]
ParamCount=0
@=InitNetworkAddressControl();