ReactOS 0.4.17-dev-357-ga8f14ff
shlwapi_undoc.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS header
3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE: Undocumented SHLWAPI definitions
5 * COPYRIGHT: Copyright 2009 Andrew Hill <ash77 at domain reactos.org>
6 * Copyright 2026 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
7 */
8
9#pragma once
10
11#include <winreg.h> // For REGSAM
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#define SHELL_NO_POLICY ((DWORD)-1)
18
19typedef struct tagPOLICYDATA
20{
21 DWORD policy; /* flags value passed to SHRestricted */
22 LPCWSTR appstr; /* application str such as "Explorer" */
23 LPCWSTR keystr; /* name of the actual registry key / policy */
25
30
31#if FALSE && ((DLL_EXPORT_VERSION) >= _WIN32_WINNT_VISTA)
32#define SHELL_GCOUNTER_DEFINE_GUID(name, a, b, c, d, e, f, g, h, i, j, k) enum { SHELLUNUSEDCOUNTERGUID_##name }
33#define SHELL_GCOUNTER_DEFINE_HANDLE(name) enum { SHELLUNUSEDCOUNTERHANDLE_##name }
34#define SHELL_GCOUNTER_PARAMETERS(handle, id) id
35#define SHELL_GlobalCounterCreate(refguid, handle) ( (refguid), (handle), (void)0 )
36#define SHELL_GlobalCounterIsInitialized(handle) ( (handle), TRUE )
37#define SHELL_GlobalCounterGet(id) SHGlobalCounterGetValue_Vista(id)
38#define SHELL_GlobalCounterIncrement(id) SHGlobalCounterIncrement_Vista(id)
39#else
40#define SHELL_GCOUNTER_DEFINE_GUID(name, a, b, c, d, e, f, g, h, i, j, k) const GUID name = { a, b, c, { d, e, f, g, h, i, j, k } }
41#define SHELL_GCOUNTER_DEFINE_HANDLE(name) HANDLE name = NULL
42#define SHELL_GCOUNTER_PARAMETERS(handle, id) handle
43#define SHELL_GlobalCounterCreate(refguid, handle) \
44 do { \
45 EXTERN_C HANDLE SHELL_GetCachedGlobalCounter(HANDLE *phGlobalCounter, REFGUID rguid); \
46 SHELL_GetCachedGlobalCounter(&(handle), (refguid)); \
47 } while (0)
48#define SHELL_GlobalCounterIsInitialized(handle) ( (handle) != NULL )
49#define SHELL_GlobalCounterGet(handle) SHGlobalCounterGetValue(handle)
50#define SHELL_GlobalCounterIncrement(handle) SHGlobalCounterIncrement(handle)
51#endif
52#define SHELL_GCOUNTER_DECLAREPARAMETERS(handle, id) SHELL_GCOUNTER_PARAMETERS(HANDLE handle, SHGLOBALCOUNTER id)
53
58 _In_ const POLICYDATA *polTable,
59 _Inout_ LPDWORD polArr);
60
62
65
68 _In_ PCSTR pszStart,
69 _Out_writes_(cchDest) PSTR pszDest,
71
74 _In_ PCWSTR pszStart,
75 _Out_writes_(cchDest) PWSTR pszDest,
77
78#ifdef UNICODE
79#define SHAboutInfo SHAboutInfoW
80#define NextPath NextPathW
81#else
82#define SHAboutInfo SHAboutInfoA
83#define NextPath NextPathA
84#endif
85
89 _In_ REFGUID rguid,
90 _In_ BOOL bShow);
91
94HRESULT WINAPI IUnknown_QueryStatus(IUnknown *lpUnknown, REFGUID pguidCmdGroup, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT* pCmdText);
95HRESULT WINAPI IUnknown_Exec(IUnknown* lpUnknown, REFGUID pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut);
98HRESULT WINAPI ConnectToConnectionPoint(IUnknown *lpUnkSink, REFIID riid, BOOL bAdviseOnly, IUnknown *lpUnknown, LPDWORD lpCookie, IConnectionPoint **lppCP);
106BOOL WINAPI SHSimulateDrop(IDropTarget *pDrop, IDataObject *pDataObj, DWORD grfKeyState, PPOINTL lpPt, DWORD* pdwEffect);
112HRESULT WINAPI SHIsExpandableFolder(LPSHELLFOLDER lpFolder, LPCITEMIDLIST pidl);
114int WINAPI SHSearchMapInt(const int *lpKeys, const int *lpValues, int iLen, int iKey);
115
119 _In_opt_ IUnknown *punkSite,
120 _In_ IContextMenu *pCM,
121 _In_ DWORD fMask,
122 _In_reads_opt_(cVerbs) PCSTR *pVerbs,
123 _In_ UINT cVerbs);
124
127 _In_ IUnknown *lpUnknown,
128 _In_ INT nUnknown,
129 _In_opt_ REFGUID riidCmdGrp,
130 _In_ ULONG cCmds,
131 _Inout_ OLECMD *prgCmds,
132 _Inout_ OLECMDTEXT *pCmdText);
133
136 _In_ IUnknown *lpUnknown,
137 _In_ INT nUnknown,
138 _In_opt_ REFGUID pguidCmdGroup,
139 _In_ DWORD nCmdID,
140 _In_ DWORD nCmdexecopt,
141 _In_ VARIANT *pvaIn,
142 _Inout_ VARIANT *pvaOut);
143
144HRESULT WINAPI IsQSForward(_In_opt_ REFGUID pguidCmdGroup, _In_ ULONG cCmds, _In_ OLECMD *prgCmds);
149
151
154 _In_ HKEY hKey,
155 _In_opt_ PCWSTR lpSubKey,
159
160BOOL WINAPI SHAddDataBlock(LPDBLIST* lppList, const DATABLOCK_HEADER *lpNewItem);
161BOOL WINAPI SHRemoveDataBlock(LPDBLIST* lppList, DWORD dwSignature);
166
169
170LONG
171WINAPI
173 _In_ HKEY hKey,
174 _In_ LPCWSTR lpSubKey,
176 _In_opt_ LPWSTR lpClass,
178 _In_ REGSAM samDesired,
179 _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes,
180 _Out_ PHKEY phkResult,
181 _Out_opt_ LPDWORD lpdwDisposition);
182
183/* Redirected to kernel32.ExpandEnvironmentStringsA/W */
186#ifdef UNICODE
187#define SHExpandEnvironmentStrings SHExpandEnvironmentStringsW
188#else
189#define SHExpandEnvironmentStrings SHExpandEnvironmentStringsA
190#endif
191
192/* Redirected to userenv.ExpandEnvironmentStringsForUserA/W */
193#if (WINVER >= 0x0500)
194BOOL WINAPI SHExpandEnvironmentStringsForUserA(HANDLE, LPCSTR, LPSTR, DWORD);
195BOOL WINAPI SHExpandEnvironmentStringsForUserW(HANDLE, LPCWSTR, LPWSTR, DWORD);
196#ifdef UNICODE
197#define SHExpandEnvironmentStringsForUser SHExpandEnvironmentStringsForUserW
198#else
199#define SHExpandEnvironmentStringsForUser SHExpandEnvironmentStringsForUserA
200#endif
201#endif
202
203
220
223 _Out_writes_(cchBuffer) LPWSTR pszBuffer,
226
239
241
244 _In_ HKEY hKey,
246 _In_ DWORD dwMode,
248 _Out_ void **ppvObj);
249
253 _In_opt_z_ LPCWSTR pszSection,
254 _In_ DWORD dwMode,
256 _Out_ void **ppvObj);
257
261 _In_ long flags,
263 _Outptr_ void **ppvObj);
264
266 DWORD dwStyle, HMENU hMenu, LONG_PTR wnd_extra);
267
269 DWORD dwStyle, HMENU hMenu, LONG_PTR wnd_extra);
270#ifdef UNICODE
271#define SHCreateWorkerWindow SHCreateWorkerWindowW
272#else
273#define SHCreateWorkerWindow SHCreateWorkerWindowA
274#endif
275
277HRESULT WINAPI IUnknown_GetClassID(IUnknown *lpUnknown, CLSID *lpClassId);
278HRESULT WINAPI IUnknown_QueryServiceExec(IUnknown *lpUnknown, REFIID service, const GUID *group, DWORD cmdId, DWORD cmdOpt, VARIANT *pIn, VARIANT *pOut);
280HRESULT WINAPI IUnknown_TranslateAcceleratorOCS(IUnknown *lpUnknown, LPMSG lpMsg, DWORD dwModifiers);
281HRESULT WINAPI IUnknown_OnFocusOCS(IUnknown *lpUnknown, BOOL fGotFocus);
282HRESULT WINAPI IUnknown_HandleIRestrict(LPUNKNOWN lpUnknown, PVOID lpArg1, PVOID lpArg2, PVOID lpArg3, PVOID lpArg4);
285HRESULT WINAPI IUnknown_OnFocusChangeIS(LPUNKNOWN lpUnknown, LPUNKNOWN pFocusObject, BOOL bFocus);
286
287DWORD WINAPI SHAnsiToUnicode(LPCSTR lpSrcStr, LPWSTR lpDstStr, INT iLen);
288INT WINAPI SHUnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR lpDstStr, INT iLen);
289
290DWORD WINAPI SHAnsiToUnicodeCP(DWORD dwCp, LPCSTR lpSrcStr, LPWSTR lpDstStr, int iLen);
291DWORD WINAPI SHUnicodeToAnsiCP(UINT CodePage, LPCWSTR lpSrcStr, LPSTR lpDstStr, int dstlen);
292
294
296 LPDWORD pwType, LPVOID pvData, LPDWORD pbData);
298 LPDWORD pwType, LPVOID pvData, LPDWORD pbData);
301#ifdef UNICODE
302#define SHGetValueGoodBoot SHGetValueGoodBootW
303#define SHLoadRegUIString SHLoadRegUIStringW
304#else
305#define SHGetValueGoodBoot SHGetValueGoodBootA
306#define SHLoadRegUIString SHLoadRegUIStringA
307#endif
308
312 _In_z_ LPCWSTR keyName,
313 _Out_writes_to_(outLen, return + 1) LPWSTR out,
314 _In_ DWORD outLen,
316
320 _In_z_ LPCWSTR keyName,
323
326 _In_opt_z_ LPCWSTR lpAppName,
327 _In_z_ LPCWSTR lpKeyName,
328 _Out_writes_to_(nSize, return + 1) _Post_z_ LPWSTR lpReturnedString,
331
334 _In_z_ LPCWSTR lpAppName,
335 _In_z_ LPCWSTR lpKeyName,
336 _In_opt_z_ LPCWSTR lpString,
338
340{
353 SHKEY_Subkey_FileExts = 0x6000
355
357
358int
361 _In_opt_ HINSTANCE hAppInst,
363 _In_ LPCWSTR lpcText,
364 _In_opt_ LPCWSTR lpcTitle,
365 _In_ UINT fuStyle,
366 ...);
367
368/* dwWhich flags for PathFileExistsDefExtW, PathFindOnPathExW,
369 * and PathFileExistsDefExtAndAttributesW */
370#define WHICH_PIF (1 << 0)
371#define WHICH_COM (1 << 1)
372#define WHICH_EXE (1 << 2)
373#define WHICH_BAT (1 << 3)
374#define WHICH_LNK (1 << 4)
375#define WHICH_CMD (1 << 5)
376#define WHICH_OPTIONAL (1 << 6)
377
378#define WHICH_DEFAULT (WHICH_PIF | WHICH_COM | WHICH_EXE | WHICH_BAT | WHICH_LNK | WHICH_CMD)
379
380/* dwClass flags for PathIsValidCharA and PathIsValidCharW */
381#define PATH_CHAR_CLASS_LETTER 0x00000001
382#define PATH_CHAR_CLASS_ASTERIX 0x00000002
383#define PATH_CHAR_CLASS_DOT 0x00000004
384#define PATH_CHAR_CLASS_BACKSLASH 0x00000008
385#define PATH_CHAR_CLASS_COLON 0x00000010
386#define PATH_CHAR_CLASS_SEMICOLON 0x00000020
387#define PATH_CHAR_CLASS_COMMA 0x00000040
388#define PATH_CHAR_CLASS_SPACE 0x00000080
389#define PATH_CHAR_CLASS_OTHER_VALID 0x00000100
390#define PATH_CHAR_CLASS_DOUBLEQUOTE 0x00000200
391#define PATH_CHAR_CLASS_INVALID 0x00000000
392#define PATH_CHAR_CLASS_ANY 0xffffffff
393
394BOOL WINAPI PathFileExistsDefExtW(LPWSTR lpszPath, DWORD dwWhich);
395
398 _Inout_ LPWSTR pszPath,
399 _In_ DWORD dwWhich,
400 _Out_opt_ LPDWORD pdwFileAttributes);
401
405 _In_ PCSTR pszPath,
406 _Out_writes_(cchBuff) PSTR pszBuff,
407 _In_ INT cchBuff);
408
412 _In_ PCWSTR pwszPath,
413 _Out_writes_(cchBuff) PWSTR pszBuff,
414 _In_ INT cchBuff);
415
416BOOL WINAPI PathFindOnPathExW(LPWSTR lpszFile, LPCWSTR *lppszOtherDirs, DWORD dwWhich);
419BOOL WINAPI PathIsValidCharA(char c, DWORD dwClass);
422#ifndef _SHLWAPI_
425#else
428#endif
429
431
433 _In_ PCSTR pszPath,
434 _In_opt_ PCSTR pszVerKey,
435 _In_opt_ PCSTR pszDisplayName,
436 _Out_opt_ PSTR pszOut,
437 _Inout_ PUINT pcchOut);
438
440 _In_ PCWSTR pszPath,
441 _In_opt_ PCWSTR pszVerKey,
442 _In_opt_ PCWSTR pszDisplayName,
443 _Out_opt_ PWSTR pszOut,
444 _Inout_ PUINT pcchOut);
445
448
449#ifdef UNICODE
450 #define PathIsValidChar PathIsValidCharW
451 #define StrCpyNX StrCpyNXW
452 #define FixSlashesAndColon FixSlashesAndColonW
453 #define SHGetFileDescription SHGetFileDescriptionW
454#else
455 #define PathIsValidChar PathIsValidCharA
456 #define StrCpyNX StrCpyNXA
457 #define FixSlashesAndColon FixSlashesAndColonA
458 #define SHGetFileDescription SHGetFileDescriptionA
459#endif
460
463 _In_ IContextMenu *pContextMenu,
464 _In_ HWND hwnd,
465 _In_ LPCSTR lpVerb,
467
471
473
474/* Flags for SHGetAppCompatFlags */
475#define SHACF_CONTEXTMENU 0x00000001
476#define SHACF_FLUSHNOWAITALWAYS SHACF_CONTEXTMENU
477#define SHACF_DOCOBJECT 0x00000002
478#define SHACF_CORELINTERNETENUM 0x00000004
479#define SHACF_OLDCREATEVIEWWND SHACF_CORELINTERNETENUM
480#define SHACF_WIN95DEFVIEW SHACF_CORELINTERNETENUM
481#define SHACF_MYCOMPUTERFIRST 0x00000008
482#define SHACF_OLDREGITEMGDN 0x00000010
483// 0x00000020
484#define SHACF_LOADCOLUMNHANDLER 0x00000040
485#define SHACF_ANSI 0x00000080
486#define SHACF_UNKNOWN1 0x00000100
487#define SHACF_WIN95SHLEXEC 0x00000200
488#define SHACF_STAROFFICE5PRINTER 0x00000400
489#define SHACF_NOVALIDATEFSIDS 0x00000800
490#define SHACF_FILEOPENNEEDSEXT 0x00001000
491#define SHACF_WIN95BINDTOOBJECT 0x00002000
492#define SHACF_IGNOREENUMRESET 0x00004000
493// 0x00008000
494#define SHACF_ANSIDISPLAYNAMES 0x00010000
495#define SHACF_FILEOPENBOGUSCTRLID 0x00020000
496#define SHACF_FORCELFNIDLIST 0x00040000
497// 0x00080000
498#define SHACF_UNKNOWN2 0x01000000
499#define SHACF_UNKNOWN3 0x80000000
500
502
505 _In_ IUnknown* lpUnknown,
507 _Out_ LPVOID *lppOut);
508
510 PVOID pThis,
511 HWND hWnd,
512 UINT uMsg,
514 LPARAM lParam);
515
519 _In_ PCSTR lpTemplateName,
522 _In_opt_ PVOID pThis);
523
525
530
533 _In_ REFGUID rpolid,
534 _Out_opt_ PVOID pvValue,
535 _Out_opt_ PDWORD pcbValue);
536
537#define E_DATATYPE_MISMATCH HRESULT_FROM_WIN32(ERROR_DATATYPE_MISMATCH)
538
539/*****************************************************************************
540 * ZoneCheck*
541 */
542
545 _In_ PCSTR pszUrl,
546 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
547 _In_ DWORD cbPolicy,
548 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
549 _In_ DWORD cbContext,
550 _In_ DWORD dwAction,
552 _In_opt_ IInternetSecurityMgrSite *pSecuritySite,
554
557 _In_ PCWSTR pszUrl,
558 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
559 _In_ DWORD cbPolicy,
560 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
561 _In_ DWORD cbContext,
562 _In_ DWORD dwAction,
564 _In_opt_ IInternetSecurityMgrSite *pSecuritySite,
566
569 _In_ PCSTR pszPath,
570 _In_ DWORD dwAction,
572 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
573
576 _In_ PCWSTR pszPath,
577 _In_ DWORD dwAction,
579 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
580
583 _In_ PCSTR pszUrl,
584 _In_ DWORD dwAction,
586 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
587
590 _In_ PCWSTR pszUrl,
591 _In_ DWORD dwAction,
593 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
594
597 _In_ PCSTR pszUrl,
598 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
599 _In_ DWORD cbPolicy,
600 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
601 _In_ DWORD cbContext,
602 _In_ DWORD dwAction,
604 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
605
608 _In_ PCWSTR pszUrl,
609 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
610 _In_ DWORD cbPolicy,
611 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
612 _In_ DWORD cbContext,
613 _In_ DWORD dwAction,
615 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
616
620 _In_ PCWSTR pszUrl,
621 _In_ DWORD dwAction);
622
626 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
627 _In_ DWORD cbPolicy,
628 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
629 _In_ DWORD cbContext,
630 _In_ PCWSTR pszUrl,
631 _In_ DWORD dwAction);
632
633#ifdef UNICODE
634 #define ZoneCheckUrlExCache ZoneCheckUrlExCacheW
635 #define ZoneCheckPath ZoneCheckPathW
636 #define ZoneCheckUrl ZoneCheckUrlW
637 #define ZoneCheckUrlEx ZoneCheckUrlExW
638#else
639 #define ZoneCheckUrlExCache ZoneCheckUrlExCacheA
640 #define ZoneCheckPath ZoneCheckPathA
641 #define ZoneCheckUrl ZoneCheckUrlA
642 #define ZoneCheckUrlEx ZoneCheckUrlExA
643#endif
644
645#ifdef __cplusplus
646} /* extern "C" */
647#endif
static HDC hDC
Definition: 3dtext.c:33
#define PathUnExpandEnvStringsForUserW
UINT cchMax
WCHAR lpszDest[260]
WINBASEAPI _Check_return_ _Out_ AppPolicyProcessTerminationMethod * policy
Definition: appmodel.h:73
#define msg(x)
Definition: auth_time.c:54
HWND hWnd
Definition: settings.c:17
HANDLE hUserToken
Definition: install.c:39
#define EXTERN_C
Definition: basetyps.h:12
HINSTANCE hInstance
Definition: charmap.c:19
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
HRESULT hr
Definition: delayimp.cpp:582
static LPVOID LPUNKNOWN
Definition: dinput.c:53
UINT uFlags
Definition: api.c:59
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1605
OLECHAR * BSTR
Definition: compat.h:2293
unsigned short VARTYPE
Definition: compat.h:2254
#define CALLBACK
Definition: compat.h:35
static DWORD cchBuffer
Definition: fusion.c:85
GUID guid
Definition: version.c:147
static REFPROPVARIANT PROPVAR_CHANGE_FLAGS VARTYPE vt
Definition: suminfo.c:91
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30
HINSTANCE hInst
Definition: dxdiag.c:13
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
FxAutoRegKey hKey
PWCHAR pValue
GLsizeiptr size
Definition: glext.h:5919
GLintptr offset
Definition: glext.h:5920
const GLubyte * c
Definition: glext.h:8905
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLbitfield flags
Definition: glext.h:7161
GLboolean GLuint group
Definition: glext.h:11120
static LRESULT WINAPI wndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: imm32.c:185
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
const char * filename
Definition: ioapi.h:137
const char * appName(const char *argv0)
Definition: loadlib.c:89
LONG_PTR LPARAM
Definition: minwindef.h:175
LONG_PTR LRESULT
Definition: minwindef.h:176
UINT_PTR WPARAM
Definition: minwindef.h:174
int * LPINT
Definition: minwindef.h:151
static HDC
Definition: imagelist.c:88
static HTREEITEM hChild
Definition: treeview.c:383
static const struct access_res create[16]
Definition: package.c:7505
static DWORD dstlen
Definition: directory.c:51
static char * dest
Definition: rtl.c:149
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:60
_shellkey_flags
Definition: ordinal.c:2804
const CLSID * clsid
Definition: msctf.cpp:50
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
unsigned int * PUINT
Definition: ndis.h:50
unsigned int UINT
Definition: ndis.h:50
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
Definition: netsh.h:141
_In_ LPWSTR _In_ DWORD _In_ LPCVOID pvData
Definition: netsh.h:116
#define _Out_opt_
Definition: no_sal2.h:214
#define _Inout_
Definition: no_sal2.h:162
#define _In_z_
Definition: no_sal2.h:164
#define _In_opt_z_
Definition: no_sal2.h:218
#define _Outptr_
Definition: no_sal2.h:262
#define _Post_z_
Definition: no_sal2.h:508
#define _Out_writes_bytes_opt_(s)
Definition: no_sal2.h:228
#define _Out_writes_(s)
Definition: no_sal2.h:176
#define _Out_
Definition: no_sal2.h:160
#define _In_reads_opt_(s)
Definition: no_sal2.h:222
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Out_writes_to_(s, c)
Definition: no_sal2.h:188
#define _In_reads_bytes_opt_(s)
Definition: no_sal2.h:224
BYTE * PBYTE
Definition: pedump.c:66
short WCHAR
Definition: pedump.c:58
DWORD * PDWORD
Definition: pedump.c:68
short SHORT
Definition: pedump.c:59
long LONG
Definition: pedump.c:60
static const WCHAR szName[]
Definition: powrprof.c:45
#define REFIID
Definition: guiddef.h:118
_In_opt_ IUnknown * punk
Definition: shlwapi.h:158
_In_ DWORD dwProcessId
Definition: shlwapi.h:193
_In_ INT cchDest
Definition: shlwapi.h:1151
_In_opt_ LPCSTR pszSubKey
Definition: shlwapi.h:783
_In_ UINT uID
Definition: shlwapi.h:156
_In_opt_ LPCSTR _In_opt_ LPCSTR pszValue
Definition: shlwapi.h:783
const WCHAR * str
#define WINAPIV
Definition: sdbpapi.h:64
#define DECLSPEC_IMPORT
Definition: rpc.h:74
_In_ int _In_ BOOL bCreate
Definition: shlobj.h:1527
HRESULT WINAPI IUnknown_UIActivateIO(IUnknown *unknown, BOOL activate, LPMSG msg)
Definition: ordinal.c:1228
HRESULT WINAPI ZoneCheckUrlExCacheA(_In_ PCSTR pszUrl, _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy, _In_ DWORD cbPolicy, _In_reads_bytes_opt_(cbContext) PBYTE pbContext, _In_ DWORD cbContext, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite, _In_opt_ IInternetSecurityManager *pISM)
Definition: zonechk.c:107
HRESULT WINAPI IUnknown_QueryServiceExec(IUnknown *lpUnknown, REFIID service, const GUID *group, DWORD cmdId, DWORD cmdOpt, VARIANT *pIn, VARIANT *pOut)
Definition: ordinal.c:1148
HRESULT WINAPI ZoneCheckPathW(_In_ PCWSTR pszPath, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite)
Definition: zonechk.c:216
HRESULT WINAPI SHPropertyBag_ReadInt(IPropertyBag *ppb, LPCWSTR pszPropName, LPINT pnValue)
BOOL WINAPI SHSimulateDrop(IDropTarget *pDrop, IDataObject *pDataObj, DWORD grfKeyState, PPOINTL lpPt, DWORD *pdwEffect)
Definition: ordinal.c:1423
HRESULT WINAPI IUnknown_QueryServiceForWebBrowserApp(_In_ IUnknown *lpUnknown, _In_ REFGUID riid, _Out_ LPVOID *lppOut)
HRESULT WINAPI SHRegGetCLSIDKeyW(REFGUID guid, LPCWSTR lpszValue, BOOL bUseHKCU, BOOL bCreate, PHKEY phKey)
Definition: reg.c:595
HRESULT WINAPI IUnknown_TranslateAcceleratorOCS(IUnknown *lpUnknown, LPMSG lpMsg, DWORD dwModifiers)
Definition: ordinal.c:1493
DATABLOCK_HEADER *WINAPI SHFindDataBlock(LPDBLIST lpList, DWORD dwSignature)
Definition: clist.c:424
DWORD WINAPI SHAnsiToUnicode(LPCSTR lpSrcStr, LPWSTR lpDstStr, INT iLen)
HRESULT WINAPI SHPropertyBag_WriteRECTL(IPropertyBag *ppb, LPCWSTR pszPropName, const RECTL *prcl)
HRESULT WINAPI SHPropertyBag_ReadDWORD(IPropertyBag *ppb, LPCWSTR pszPropName, DWORD *pdwValue)
HRESULT WINAPI IStream_WritePidl(_In_ IStream *pstm, _In_ LPCITEMIDLIST pidlWrite)
DWORD WINAPI SHGetValueGoodBootA(HKEY hkey, LPCSTR pSubKey, LPCSTR pValue, LPDWORD pwType, LPVOID pvData, LPDWORD pbData)
Definition: reg.c:234
HRESULT WINAPI SHPropertyBag_ReadSHORT(IPropertyBag *ppb, LPCWSTR pszPropName, SHORT *psValue)
HRESULT WINAPI CLSIDFromStringWrap(_In_ LPCWSTR idstr, _Out_ CLSID *id)
HRESULT WINAPI ZoneCheckUrlExW(_In_ PCWSTR pszUrl, _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy, _In_ DWORD cbPolicy, _In_reads_bytes_opt_(cbContext) PBYTE pbContext, _In_ DWORD cbContext, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite)
Definition: zonechk.c:287
HMENU WINAPI SHGetMenuFromID(HMENU hMenu, UINT uID)
Definition: ordinal.c:1592
HRESULT WINAPI IUnknown_HandleIRestrict(LPUNKNOWN lpUnknown, PVOID lpArg1, PVOID lpArg2, PVOID lpArg3, PVOID lpArg4)
Definition: ordinal.c:1548
HRESULT WINAPI SHPropertyBag_ReadGUID(IPropertyBag *ppb, LPCWSTR pszPropName, GUID *pguid)
HRESULT WINAPI ZoneCheckUrlA(_In_ PCSTR pszUrl, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite)
Definition: zonechk.c:229
BOOL WINAPI SHPropertyBag_ReadBOOLOld(IPropertyBag *ppb, LPCWSTR pszPropName, BOOL bDefValue)
HRESULT WINAPI SHReadDataBlockList(IStream *lpStream, LPDBLIST *lppList)
Definition: clist.c:235
HRESULT WINAPI SHLoadRegUIStringW(HKEY hkey, LPCWSTR value, LPWSTR buf, DWORD size)
Definition: ordinal.c:3669
LPSTR WINAPI StrCpyNXA(LPSTR lpszDest, LPCSTR lpszSrc, int iLen)
LONG WINAPI SHGlobalCounterGetValue(HANDLE hGlobalCounter)
Definition: thread.c:122
DWORD WINAPI SHSendMessageBroadcastW(UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: ordinal.c:3616
PWSTR WINAPI CharUpperNoDBCSW(_Inout_ PWSTR lpString)
Definition: utils.cpp:299
HRESULT WINAPI IUnknown_GetClassID(IUnknown *lpUnknown, CLSID *lpClassId)
Definition: ordinal.c:1071
VOID WINAPI SHSetDefaultDialogFont(HWND hWnd, INT id)
Definition: ordinal.c:2093
HRESULT WINAPI IUnknown_QueryStatus(IUnknown *lpUnknown, REFGUID pguidCmdGroup, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT *pCmdText)
Definition: ordinal.c:723
HWND WINAPI SHCreateWorkerWindowA(WNDPROC wndProc, HWND hWndParent, DWORD dwExStyle, DWORD dwStyle, HMENU hMenu, LONG_PTR wnd_extra)
Definition: ordinal.c:2292
HRESULT WINAPI RunIndirectRegCommand(_In_opt_ HWND hWnd, _In_ HKEY hKey, _In_opt_ PCWSTR pszSubKey, _In_ PCWSTR pszVerb)
Definition: utils.cpp:611
BOOL WINAPI PathIsValidCharW(WCHAR c, DWORD dwClass)
Definition: path.c:2197
HRESULT WINAPI SHPropertyBag_ReadPOINTS(IPropertyBag *ppb, LPCWSTR pszPropName, POINTS *ppts)
HRESULT WINAPI SHPropertyBag_WriteBOOL(IPropertyBag *ppb, LPCWSTR pszPropName, BOOL bValue)
VOID WINAPI SHFreeDataBlockList(LPDBLIST lpList)
Definition: clist.c:331
HANDLE WINAPI SHGlobalCounterCreate(REFGUID guid)
Definition: thread.c:240
INT WINAPI SHUnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR lpDstStr, INT iLen)
Definition: string.c:1260
HRESULT WINAPI SHInvokeDefaultCommand(HWND, IShellFolder *, LPCITEMIDLIST)
Definition: ordinal.c:2608
DECLSPEC_IMPORT BOOL WINAPI PathFileExistsAndAttributesA(LPCSTR lpszPath, DWORD *dwAttr)
Definition: path.c:721
struct tagPOLICYDATA * LPPOLICYDATA
HRESULT WINAPI SHInvokeCommandsOnContextMenu(_In_opt_ HWND hwnd, _In_opt_ IUnknown *punkSite, _In_ IContextMenu *pCM, _In_ DWORD fMask, _In_reads_opt_(cVerbs) PCSTR *pVerbs, _In_ UINT cVerbs)
Definition: utils.cpp:436
@ SHKEY_Subkey_Handlers
@ SHKEY_Root_HKLM
@ SHKEY_Key_ShellNoRoam
@ SHKEY_Subkey_Volatile
@ SHKEY_Subkey_Associations
@ SHKEY_Key_Classes
@ SHKEY_Subkey_MUICache
@ SHKEY_Key_Explorer
@ SHKEY_Root_HKCU
@ SHKEY_Subkey_FileExts
@ SHKEY_Key_Shell
@ SHKEY_Subkey_Default
@ SHKEY_Subkey_ResourceName
DWORD WINAPI SHCheckMenuItem(HMENU hMenu, UINT uID, BOOL bCheck)
Definition: ordinal.c:1395
HRESULT WINAPI ConnectToConnectionPoint(IUnknown *lpUnkSink, REFIID riid, BOOL bAdviseOnly, IUnknown *lpUnknown, LPDWORD lpCookie, IConnectionPoint **lppCP)
Definition: ordinal.c:868
HRESULT WINAPI SHCreatePropertyBagOnRegKey(_In_ HKEY hKey, _In_z_ LPCWSTR pszSubKey, _In_ DWORD dwMode, _In_ REFIID riid, _Out_ void **ppvObj)
Definition: propbag.cpp:583
HRESULT WINAPI SHPropertyBag_ReadPOINTL(IPropertyBag *ppb, LPCWSTR pszPropName, POINTL *pptl)
HRESULT WINAPI SHWindowsPolicyGetValue(_In_ REFGUID rpolid, _Out_opt_ PVOID pvValue, _Out_opt_ PDWORD pcbValue)
Definition: policy.cpp:289
HRESULT WINAPI SHPropertyBag_WriteGUID(IPropertyBag *ppb, LPCWSTR pszPropName, const GUID *pguid)
BOOL WINAPI IContextMenu_Invoke(_In_ IContextMenu *pContextMenu, _In_ HWND hwnd, _In_ LPCSTR lpVerb, _In_ UINT uFlags)
Definition: utils.cpp:557
LONG WINAPI RegCreateKeyExWrapW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
INT WINAPI SHRestrictedMessageBox(_In_ HWND hWnd)
Definition: utils.cpp:1251
HRESULT WINAPI SHPropertyBag_WriteSHORT(IPropertyBag *ppb, LPCWSTR pszPropName, SHORT sValue)
LONG WINAPI SHGlobalCounterIncrement(HANDLE hGlobalCounter)
Definition: thread.c:143
DWORD WINAPI SHWaitForSendMessageThread(HANDLE hand, DWORD dwTimeout)
Definition: ordinal.c:1645
DWORD WINAPI SHFillRectClr(HDC hDC, LPCRECT pRect, COLORREF cRef)
Definition: ordinal.c:1728
BOOL WINAPI SHGetPathFromIDListWrapW(LPCITEMIDLIST pidl, LPWSTR pszPath)
Definition: ordinal.c:3016
UINT WINAPI SHEnableMenuItem(HMENU hMenu, UINT wItemID, BOOL bEnable)
Definition: ordinal.c:1376
BOOL WINAPI SHAddDataBlock(LPDBLIST *lppList, const DATABLOCK_HEADER *lpNewItem)
Definition: clist.c:68
HRESULT WINAPI IUnknown_OnFocusOCS(IUnknown *lpUnknown, BOOL fGotFocus)
Definition: ordinal.c:1526
DWORD WINAPI SHGetObjectCompatFlags(IUnknown *pUnk, const CLSID *clsid)
Definition: ordinal.c:5727
HRESULT WINAPI SHPropertyBag_ReadStr(IPropertyBag *ppb, LPCWSTR pszPropName, LPWSTR pszDst, int cchMax)
HRESULT WINAPI SHWriteDataBlockList(IStream *lpStream, LPDBLIST lpList)
Definition: clist.c:179
DWORD WINAPI SHRestrictionLookup(_In_ DWORD policy, _In_ LPCWSTR key, _In_ const POLICYDATA *polTable, _Inout_ LPDWORD polArr)
DWORD WINAPI SHGetIniStringW(_In_z_ LPCWSTR appName, _In_z_ LPCWSTR keyName, _Out_writes_to_(outLen, return+1) LPWSTR out, _In_ DWORD outLen, _In_z_ LPCWSTR filename)
Definition: propbag.cpp:612
HRESULT WINAPI SHRunIndirectRegClientCommand(_In_ HWND hWnd, _In_ PCWSTR pszClientType)
HRESULT WINAPI SHIsExpandableFolder(LPSHELLFOLDER lpFolder, LPCITEMIDLIST pidl)
Definition: ordinal.c:1683
struct tagPOLICYDATA POLICYDATA
EXTERN_C BOOL WINAPI SHBoolSystemParametersInfo(UINT uiAction, PVOID pvParam)
HRESULT WINAPI ZoneCheckHostEx(_In_ IInternetSecurityManager *pISM, _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy, _In_ DWORD cbPolicy, _In_reads_bytes_opt_(cbContext) PBYTE pbContext, _In_ DWORD cbContext, _In_ PCWSTR pszUrl, _In_ DWORD dwAction)
Definition: zonechk.c:317
HRESULT WINAPI SHPropertyBag_ReadBSTR(IPropertyBag *ppb, LPCWSTR pszPropName, BSTR *pbstr)
BOOL WINAPI SHIsChildOrSelf(HWND hParent, HWND hChild)
Definition: ordinal.c:1941
HRESULT WINAPI MayExecForward(_In_ IUnknown *lpUnknown, _In_ INT nUnknown, _In_opt_ REFGUID pguidCmdGroup, _In_ DWORD nCmdID, _In_ DWORD nCmdexecopt, _In_ VARIANT *pvaIn, _Inout_ VARIANT *pvaOut)
HRESULT WINAPI IUnknown_Exec(IUnknown *lpUnknown, REFGUID pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
Definition: ordinal.c:762
BOOL WINAPI SHSetIniStringUTF7W(_In_z_ LPCWSTR lpAppName, _In_z_ LPCWSTR lpKeyName, _In_opt_z_ LPCWSTR lpString, _In_z_ LPCWSTR lpFileName)
Definition: propbag.cpp:758
DWORD WINAPI SHGetCurColorRes(void)
Definition: ordinal.c:1618
DWORD WINAPI SHExpandEnvironmentStringsW(LPCWSTR, LPWSTR, DWORD)
INT_PTR(CALLBACK * SHDIALOGPROC)(PVOID pThis, HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
LPWSTR WINAPI StrCpyNXW(LPWSTR lpszDest, LPCWSTR lpszSrc, int iLen)
PVOID WINAPI SHInterlockedCompareExchange(PVOID *dest, PVOID xchg, PVOID compare)
Definition: ordinal.c:3045
PSTR WINAPI CharUpperNoDBCSA(_Inout_ PSTR lpString)
Definition: utils.cpp:291
HRESULT WINAPI IUnknown_TranslateAcceleratorIO(IUnknown *punk, MSG *pmsg)
VOID WINAPI PrettifyFileDescriptionW(_Inout_ PWSTR pszTarget, _In_opt_ PCWSTR pszCutList)
Definition: utils.cpp:1044
BOOL WINAPI PathUnExpandEnvStringsForUserA(_In_ HANDLE hUserToken, _In_ PCSTR pszPath, _Out_writes_(cchBuff) PSTR pszBuff, _In_ INT cchBuff)
Definition: utils.cpp:138
HRESULT WINAPI MayQSForward(_In_ IUnknown *lpUnknown, _In_ INT nUnknown, _In_opt_ REFGUID riidCmdGrp, _In_ ULONG cCmds, _Inout_ OLECMD *prgCmds, _Inout_ OLECMDTEXT *pCmdText)
BOOL WINAPI SHIsSameObject(IUnknown *lpInt1, IUnknown *lpInt2)
Definition: ordinal.c:941
DWORD WINAPI SHExpandEnvironmentStringsA(LPCSTR, LPSTR, DWORD)
HRESULT WINAPI ZoneCheckPathA(_In_ PCSTR pszPath, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite)
Definition: zonechk.c:196
VOID WINAPI FixSlashesAndColonA(_Inout_ LPSTR lpstr)
HRESULT WINAPI IsQSForward(_In_opt_ REFGUID pguidCmdGroup, _In_ ULONG cCmds, _In_ OLECMD *prgCmds)
HWND WINAPI SHCreateWorkerWindowW(WNDPROC wndProc, HWND hWndParent, DWORD dwExStyle, DWORD dwStyle, HMENU hMenu, LONG_PTR wnd_extra)
Definition: ordinal.c:2552
HRESULT WINAPI IUnknown_SetOwner(IUnknown *iface, IUnknown *pUnk)
Definition: ordinal.c:1037
HRESULT WINAPI SHPropertyBag_ReadRECTL(IPropertyBag *ppb, LPCWSTR pszPropName, RECTL *prcl)
BOOL WINAPI SHGetFileDescriptionA(_In_ PCSTR pszPath, _In_opt_ PCSTR pszVerKey, _In_opt_ PCSTR pszDisplayName, _Out_opt_ PSTR pszOut, _Inout_ PUINT pcchOut)
Definition: utils.cpp:1199
BOOL WINAPI SHGetFileDescriptionW(_In_ PCWSTR pszPath, _In_opt_ PCWSTR pszVerKey, _In_opt_ PCWSTR pszDisplayName, _Out_opt_ PWSTR pszOut, _Inout_ PUINT pcchOut)
Definition: utils.cpp:1087
HRESULT WINAPI SHForwardContextMenuMsg(IUnknown *pUnk, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *pResult, BOOL useIContextMenu2)
Definition: rosordinal.c:11
HRESULT WINAPI SHCreatePropertyBagOnProfileSection(_In_z_ LPCWSTR lpFileName, _In_opt_z_ LPCWSTR pszSection, _In_ DWORD dwMode, _In_ REFIID riid, _Out_ void **ppvObj)
Definition: propbag.cpp:975
HRESULT WINAPI SHPropertyBag_Delete(IPropertyBag *ppb, LPCWSTR pszPropName)
LONG WINAPI SHSetWindowBits(HWND hwnd, INT offset, UINT wMask, UINT wFlags)
Definition: ordinal.c:805
HRESULT WINAPI SHCreatePropertyBagOnMemory(_In_ DWORD dwMode, _In_ REFIID riid, _Out_ void **ppvObj)
Definition: propbag.cpp:260
HRESULT WINAPI IUnknown_HasFocusIO(IUnknown *punk)
Definition: ordinal.c:3724
BOOL WINAPI SHIsEmptyStream(IStream *)
Definition: istream.c:78
DWORD WINAPI SHGetAppCompatFlags(_In_ DWORD dwMask)
Definition: appcompat.c:433
DWORD WINAPI SHRemoveAllSubMenus(HMENU hMenu)
Definition: ordinal.c:1347
HMODULE WINAPI SHPinDllOfCLSID(REFIID refiid)
Definition: ordinal.c:2173
HRESULT WINAPI IUnknown_OnFocusChangeIS(LPUNKNOWN lpUnknown, LPUNKNOWN pFocusObject, BOOL bFocus)
Definition: ordinal.c:4231
BOOL WINAPI SHRemoveDataBlock(LPDBLIST *lppList, DWORD dwSignature)
Definition: clist.c:355
HRESULT WINAPI QuerySourceCreateFromKey(_In_ HKEY hKey, _In_opt_ PCWSTR lpSubKey, _In_ BOOL bCreate, _In_ REFIID riid, _Outptr_ PVOID *ppv)
Definition: querysrc.cpp:499
HRESULT WINAPI SHPropertyBag_WriteInt(IPropertyBag *ppb, LPCWSTR pszPropName, INT nValue)
HRESULT WINAPI ZoneCheckUrlW(_In_ PCWSTR pszUrl, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite)
Definition: zonechk.c:249
PVOID WINAPI SHLockSharedEx(HANDLE hData, DWORD dwProcessId, BOOL bWriteAccess)
BOOL WINAPI PathFindOnPathExW(LPWSTR lpszFile, LPCWSTR *lppszOtherDirs, DWORD dwWhich)
Definition: path.c:404
void WINAPI SHPropagateMessage(HWND hWnd, UINT uiMsgId, WPARAM wParam, LPARAM lParam, BOOL bSend)
Definition: ordinal.c:1314
PWSTR WINAPI NextPathW(_In_ PCWSTR pszStart, _Out_writes_(cchDest) PWSTR pszDest, _In_ UINT cchDest)
Definition: utils.cpp:955
HRESULT WINAPI SHPropertyBag_ReadStream(IPropertyBag *ppb, LPCWSTR pszPropName, IStream **ppStream)
HRESULT WINAPI IUnknown_ShowBrowserBar(_In_ IUnknown *punk, _In_ REFGUID rguid, _In_ BOOL bShow)
Definition: utils.cpp:1021
BOOL WINAPI SHSetIniStringW(_In_z_ LPCWSTR appName, _In_z_ LPCWSTR keyName, _In_opt_z_ LPCWSTR str, _In_z_ LPCWSTR filename)
Definition: propbag.cpp:668
DWORD WINAPI SHGetValueGoodBootW(HKEY hkey, LPCWSTR pSubKey, LPCWSTR pValue, LPDWORD pwType, LPVOID pvData, LPDWORD pbData)
Definition: reg.c:247
HRESULT WINAPI MapWin32ErrorToSTG(_In_ HRESULT hr)
Definition: utils.cpp:229
BOOL WINAPI SHLoadMenuPopup(HINSTANCE hInst, LPCWSTR szName)
Definition: ordinal.c:1261
DECLSPEC_IMPORT BOOL WINAPI PathFileExistsAndAttributesW(LPCWSTR lpszPath, DWORD *dwAttr)
Definition: path.c:747
HRESULT WINAPI SHPropertyBag_ReadBOOL(IPropertyBag *ppb, LPCWSTR pszPropName, BOOL *pbValue)
HKEY WINAPI SHGetShellKey(DWORD flags, LPCWSTR sub_key, BOOL create)
Definition: ordinal.c:4049
HRESULT WINAPI IStream_ReadPidl(_In_ IStream *pstm, _Out_ LPITEMIDLIST *ppidlOut)
INT_PTR WINAPI SHDialogBox(_In_opt_ HINSTANCE hInstance, _In_ PCSTR lpTemplateName, _In_opt_ HWND hWndParent, _In_opt_ SHDIALOGPROC fn, _In_opt_ PVOID pThis)
Definition: utils.cpp:896
DWORD WINAPI SHAnsiToUnicodeCP(DWORD dwCp, LPCSTR lpSrcStr, LPWSTR lpDstStr, int iLen)
Definition: string.c:1111
int WINAPI SHSearchMapInt(const int *lpKeys, const int *lpValues, int iLen, int iKey)
Definition: ordinal.c:1756
HRESULT WINAPI SHLoadRegUIStringA(HKEY hkey, LPCSTR value, LPSTR buf, DWORD size)
HWND WINAPI SHSetParentHwnd(HWND hWnd, HWND hWndParent)
Definition: ordinal.c:833
HRESULT WINAPI ZoneCheckUrlExA(_In_ PCSTR pszUrl, _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy, _In_ DWORD cbPolicy, _In_reads_bytes_opt_(cbContext) PBYTE pbContext, _In_ DWORD cbContext, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite)
Definition: zonechk.c:262
DWORD WINAPI SHGetIniStringUTF7W(_In_opt_z_ LPCWSTR lpAppName, _In_z_ LPCWSTR lpKeyName, _Out_writes_to_(nSize, return+1) _Post_z_ LPWSTR lpReturnedString, _In_ DWORD nSize, _In_z_ LPCWSTR lpFileName)
Definition: propbag.cpp:732
HRESULT WINAPI SHPropertyBag_WriteStr(IPropertyBag *ppb, LPCWSTR pszPropName, LPCWSTR pszValue)
HRESULT WINAPI SHPropertyBag_WriteStream(IPropertyBag *ppb, LPCWSTR pszPropName, IStream *pStream)
BOOL WINAPI PathFileExistsDefExtW(LPWSTR lpszPath, DWORD dwWhich)
Definition: path.c:170
HRESULT WINAPI SHPropertyBag_WritePOINTL(IPropertyBag *ppb, LPCWSTR pszPropName, const POINTL *pptl)
PSTR WINAPI NextPathA(_In_ PCSTR pszStart, _Out_writes_(cchDest) PSTR pszDest, _In_ UINT cchDest)
Definition: utils.cpp:913
DWORD WINAPI SHMenuIndexFromID(HMENU hMenu, UINT uID)
Definition: ordinal.c:3951
BOOL WINAPI SHAboutInfoW(LPWSTR lpszDest, DWORD dwDestLen)
Definition: ordinal.c:609
DWORD WINAPI SHUnicodeToAnsiCP(UINT CodePage, LPCWSTR lpSrcStr, LPSTR lpDstStr, int dstlen)
Definition: string.c:1161
HRESULT WINAPI SHPropertyBag_WritePOINTS(IPropertyBag *ppb, LPCWSTR pszPropName, const POINTS *ppts)
INT WINAPI SHGetPerScreenResName(_Out_writes_(cchBuffer) LPWSTR pszBuffer, _In_ INT cchBuffer, _In_ DWORD dwReserved)
Definition: propbag.cpp:1957
HRESULT WINAPI SHPropertyBag_WriteLONG(IPropertyBag *ppb, LPCWSTR pszPropName, LONG lValue)
EXTERN_C HRESULT WINAPI IUnknown_QueryServicePropertyBag(_In_ IUnknown *punk, _In_ long flags, _In_ REFIID riid, _Outptr_ void **ppvObj)
Definition: propbag.cpp:1986
PWSTR WINAPI CharLowerNoDBCSW(_Inout_ PWSTR lpString)
Definition: utils.cpp:283
HRESULT WINAPI ZoneCheckUrlExCacheW(_In_ PCWSTR pszUrl, _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy, _In_ DWORD cbPolicy, _In_reads_bytes_opt_(cbContext) PBYTE pbContext, _In_ DWORD cbContext, _In_ DWORD dwAction, _In_ DWORD dwFlags, _In_opt_ IInternetSecurityMgrSite *pSecuritySite, _In_opt_ IInternetSecurityManager *pISM)
Definition: zonechk.c:133
HRESULT WINAPI RunRegCommand(_In_opt_ HWND hWnd, _In_ HKEY hKey, _In_opt_ PCWSTR pszSubKey)
Definition: utils.cpp:597
HRESULT WINAPI SHPropertyBag_ReadType(IPropertyBag *ppb, LPCWSTR pszPropName, VARIANTARG *pvarg, VARTYPE vt)
HRESULT WINAPI SHPropertyBag_WriteDWORD(IPropertyBag *ppb, LPCWSTR pszPropName, DWORD dwValue)
BOOL WINAPI PathFileExistsDefExtAndAttributesW(_Inout_ LPWSTR pszPath, _In_ DWORD dwWhich, _Out_opt_ LPDWORD pdwFileAttributes)
Definition: utils.cpp:661
int WINAPIV ShellMessageBoxWrapW(_In_opt_ HINSTANCE hAppInst, _In_opt_ HWND hWnd, _In_ LPCWSTR lpcText, _In_opt_ LPCWSTR lpcTitle, _In_ UINT fuStyle,...)
VOID WINAPI FixSlashesAndColonW(_Inout_ LPWSTR lpwstr)
HRESULT WINAPI ZoneCheckHost(_In_ IInternetSecurityManager *pISM, _In_ PCWSTR pszUrl, _In_ DWORD dwAction)
Definition: zonechk.c:305
BOOL WINAPI PathIsValidCharA(char c, DWORD dwClass)
Definition: path.c:2189
DWORD WINAPI SHRegisterClassA(WNDCLASSA *wndclass)
Definition: ordinal.c:1412
BOOL WINAPI SHAboutInfoA(LPSTR lpszDest, DWORD dwDestLen)
Definition: ordinal.c:590
PSTR WINAPI CharLowerNoDBCSA(_Inout_ PSTR lpString)
Definition: utils.cpp:275
HRESULT WINAPI SHPropertyBag_ReadLONG(IPropertyBag *ppb, LPCWSTR pszPropName, LPLONG pValue)
Definition: ordinal.c:5036
ITEMIDLIST UNALIGNED * LPITEMIDLIST
Definition: shtypes.idl:41
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
DWORD dwOptions
Definition: solitaire.cpp:25
Definition: scsiwmi.h:51
Definition: bug.cpp:8
Definition: copy.c:22
DWORD policy
Definition: ordinal.c:2330
LPCWSTR keystr
Definition: ordinal.c:2332
LPCWSTR appstr
Definition: ordinal.c:2331
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1829
uint16_t * PWSTR
Definition: typedefs.h:56
const char * LPCSTR
Definition: typedefs.h:52
int32_t INT_PTR
Definition: typedefs.h:64
char * PSTR
Definition: typedefs.h:51
const uint16_t * PCWSTR
Definition: typedefs.h:57
const uint16_t * LPCWSTR
Definition: typedefs.h:57
uint16_t * LPWSTR
Definition: typedefs.h:56
int32_t * LPLONG
Definition: typedefs.h:58
uint32_t * LPDWORD
Definition: typedefs.h:59
char * LPSTR
Definition: typedefs.h:51
int32_t INT
Definition: typedefs.h:58
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG
Definition: typedefs.h:59
Definition: pdh_main.c:96
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
Definition: wcsftime.cpp:383
static GLenum _GLUfuncptr fn
Definition: wgl_font.c:159
_In_ LPCSTR lpFileName
Definition: winbase.h:2800
*nSize LPSTR _Inout_ LPDWORD nSize
Definition: winbase.h:1811
WINBASEAPI _In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon_undoc.h:337
_In_ POINTL * pptl
Definition: winddi.h:3741
_In_ ULONG _In_ CLIPOBJ _In_ RECTL * prcl
Definition: winddi.h:3531
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
_In_ BOOL bEnable
Definition: winddi.h:3426
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
DWORD COLORREF
Definition: windef.h:100
#define WINAPI
Definition: msvc.h:6
ACCESS_MASK REGSAM
Definition: winreg.h:76
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:3014