ReactOS 0.4.17-dev-470-gf9e3448
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#if !defined(_INC_SHLWAPI) && !defined(__WINE_SHLWAPI_H)
14#error Please #include <shlwapi.h> first
15#endif
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#define SHELL_NO_POLICY ((DWORD)-1)
22
23typedef struct tagPOLICYDATA
24{
25 DWORD policy; /* flags value passed to SHRestricted */
26 LPCWSTR appstr; /* application str such as "Explorer" */
27 LPCWSTR keystr; /* name of the actual registry key / policy */
29
34
35#if FALSE && ((DLL_EXPORT_VERSION) >= _WIN32_WINNT_VISTA)
36#define SHELL_GCOUNTER_DEFINE_GUID(name, a, b, c, d, e, f, g, h, i, j, k) enum { SHELLUNUSEDCOUNTERGUID_##name }
37#define SHELL_GCOUNTER_DEFINE_HANDLE(name) enum { SHELLUNUSEDCOUNTERHANDLE_##name }
38#define SHELL_GCOUNTER_PARAMETERS(handle, id) id
39#define SHELL_GlobalCounterCreate(refguid, handle) ( (refguid), (handle), (void)0 )
40#define SHELL_GlobalCounterIsInitialized(handle) ( (handle), TRUE )
41#define SHELL_GlobalCounterGet(id) SHGlobalCounterGetValue_Vista(id)
42#define SHELL_GlobalCounterIncrement(id) SHGlobalCounterIncrement_Vista(id)
43#else
44#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 } }
45#define SHELL_GCOUNTER_DEFINE_HANDLE(name) HANDLE name = NULL
46#define SHELL_GCOUNTER_PARAMETERS(handle, id) handle
47#define SHELL_GlobalCounterCreate(refguid, handle) \
48 do { \
49 EXTERN_C HANDLE SHELL_GetCachedGlobalCounter(HANDLE *phGlobalCounter, REFGUID rguid); \
50 SHELL_GetCachedGlobalCounter(&(handle), (refguid)); \
51 } while (0)
52#define SHELL_GlobalCounterIsInitialized(handle) ( (handle) != NULL )
53#define SHELL_GlobalCounterGet(handle) SHGlobalCounterGetValue(handle)
54#define SHELL_GlobalCounterIncrement(handle) SHGlobalCounterIncrement(handle)
55#endif
56#define SHELL_GCOUNTER_DECLAREPARAMETERS(handle, id) SHELL_GCOUNTER_PARAMETERS(HANDLE handle, SHGLOBALCOUNTER id)
57
62 _In_ const POLICYDATA *polTable,
63 _Inout_ LPDWORD polArr);
64
66
69
72 _In_ PCSTR pszStart,
73 _Out_writes_(cchDest) PSTR pszDest,
75
78 _In_ PCWSTR pszStart,
79 _Out_writes_(cchDest) PWSTR pszDest,
81
82#ifdef UNICODE
83#define SHAboutInfo SHAboutInfoW
84#define NextPath NextPathW
85#else
86#define SHAboutInfo SHAboutInfoA
87#define NextPath NextPathA
88#endif
89
93 _In_ REFGUID rguid,
94 _In_ BOOL bShow);
95
98HRESULT WINAPI IUnknown_QueryStatus(IUnknown *lpUnknown, REFGUID pguidCmdGroup, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT* pCmdText);
99HRESULT WINAPI IUnknown_Exec(IUnknown* lpUnknown, REFGUID pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut);
102HRESULT WINAPI ConnectToConnectionPoint(IUnknown *lpUnkSink, REFIID riid, BOOL bAdviseOnly, IUnknown *lpUnknown, LPDWORD lpCookie, IConnectionPoint **lppCP);
103BOOL WINAPI SHIsSameObject(IUnknown *lpInt1, IUnknown *lpInt2);
110BOOL WINAPI SHSimulateDrop(IDropTarget *pDrop, IDataObject *pDataObj, DWORD grfKeyState, PPOINTL lpPt, DWORD* pdwEffect);
116HRESULT WINAPI SHIsExpandableFolder(LPSHELLFOLDER lpFolder, LPCITEMIDLIST pidl);
118int WINAPI SHSearchMapInt(const int *lpKeys, const int *lpValues, int iLen, int iKey);
119
123 _In_opt_ IUnknown *punkSite,
124 _In_ IContextMenu *pCM,
125 _In_ DWORD fMask,
126 _In_reads_opt_(cVerbs) PCSTR *pVerbs,
127 _In_ UINT cVerbs);
128
131 _In_ IUnknown *lpUnknown,
132 _In_ INT nUnknown,
133 _In_opt_ REFGUID riidCmdGrp,
134 _In_ ULONG cCmds,
135 _Inout_ OLECMD *prgCmds,
136 _Inout_ OLECMDTEXT *pCmdText);
137
140 _In_ IUnknown *lpUnknown,
141 _In_ INT nUnknown,
142 _In_opt_ REFGUID pguidCmdGroup,
143 _In_ DWORD nCmdID,
144 _In_ DWORD nCmdexecopt,
145 _In_ VARIANT *pvaIn,
146 _Inout_ VARIANT *pvaOut);
147
148HRESULT WINAPI IsQSForward(_In_opt_ REFGUID pguidCmdGroup, _In_ ULONG cCmds, _In_ OLECMD *prgCmds);
153
155
158 _In_ HKEY hKey,
159 _In_opt_ PCWSTR lpSubKey,
163
164BOOL WINAPI SHAddDataBlock(LPDBLIST* lppList, const DATABLOCK_HEADER *lpNewItem);
165BOOL WINAPI SHRemoveDataBlock(LPDBLIST* lppList, DWORD dwSignature);
170
173
174LONG
175WINAPI
177 _In_ HKEY hKey,
178 _In_ LPCWSTR lpSubKey,
180 _In_opt_ LPWSTR lpClass,
182 _In_ REGSAM samDesired,
183 _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes,
184 _Out_ PHKEY phkResult,
185 _Out_opt_ LPDWORD lpdwDisposition);
186
187/* Redirected to kernel32.ExpandEnvironmentStringsA/W */
190#ifdef UNICODE
191#define SHExpandEnvironmentStrings SHExpandEnvironmentStringsW
192#else
193#define SHExpandEnvironmentStrings SHExpandEnvironmentStringsA
194#endif
195
196/* Redirected to userenv.ExpandEnvironmentStringsForUserA/W */
197#if (WINVER >= 0x0500)
198BOOL WINAPI SHExpandEnvironmentStringsForUserA(HANDLE, LPCSTR, LPSTR, DWORD);
199BOOL WINAPI SHExpandEnvironmentStringsForUserW(HANDLE, LPCWSTR, LPWSTR, DWORD);
200#ifdef UNICODE
201#define SHExpandEnvironmentStringsForUser SHExpandEnvironmentStringsForUserW
202#else
203#define SHExpandEnvironmentStringsForUser SHExpandEnvironmentStringsForUserA
204#endif
205#endif
206
207
224
227 _Out_writes_(cchBuffer) LPWSTR pszBuffer,
230
243
245
248 _In_ HKEY hKey,
250 _In_ DWORD dwMode,
252 _Out_ void **ppvObj);
253
257 _In_opt_z_ LPCWSTR pszSection,
258 _In_ DWORD dwMode,
260 _Out_ void **ppvObj);
261
265 _In_ long flags,
267 _Outptr_ void **ppvObj);
268
270 DWORD dwStyle, HMENU hMenu, LONG_PTR wnd_extra);
271
273 DWORD dwStyle, HMENU hMenu, LONG_PTR wnd_extra);
274#ifdef UNICODE
275#define SHCreateWorkerWindow SHCreateWorkerWindowW
276#else
277#define SHCreateWorkerWindow SHCreateWorkerWindowA
278#endif
279
281HRESULT WINAPI IUnknown_GetClassID(IUnknown *lpUnknown, CLSID *lpClassId);
282HRESULT WINAPI IUnknown_QueryServiceExec(IUnknown *lpUnknown, REFIID service, const GUID *group, DWORD cmdId, DWORD cmdOpt, VARIANT *pIn, VARIANT *pOut);
284HRESULT WINAPI IUnknown_TranslateAcceleratorOCS(IUnknown *lpUnknown, LPMSG lpMsg, DWORD dwModifiers);
285HRESULT WINAPI IUnknown_OnFocusOCS(IUnknown *lpUnknown, BOOL fGotFocus);
286HRESULT WINAPI IUnknown_HandleIRestrict(LPUNKNOWN lpUnknown, PVOID lpArg1, PVOID lpArg2, PVOID lpArg3, PVOID lpArg4);
289HRESULT WINAPI IUnknown_OnFocusChangeIS(LPUNKNOWN lpUnknown, LPUNKNOWN pFocusObject, BOOL bFocus);
290
291DWORD WINAPI SHAnsiToUnicode(LPCSTR lpSrcStr, LPWSTR lpDstStr, INT iLen);
292INT WINAPI SHUnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR lpDstStr, INT iLen);
293
294DWORD WINAPI SHAnsiToUnicodeCP(DWORD dwCp, LPCSTR lpSrcStr, LPWSTR lpDstStr, int iLen);
295DWORD WINAPI SHUnicodeToAnsiCP(UINT CodePage, LPCWSTR lpSrcStr, LPSTR lpDstStr, int dstlen);
296
298
300 LPDWORD pwType, LPVOID pvData, LPDWORD pbData);
302 LPDWORD pwType, LPVOID pvData, LPDWORD pbData);
305#ifdef UNICODE
306#define SHGetValueGoodBoot SHGetValueGoodBootW
307#define SHLoadRegUIString SHLoadRegUIStringW
308#else
309#define SHGetValueGoodBoot SHGetValueGoodBootA
310#define SHLoadRegUIString SHLoadRegUIStringA
311#endif
312
316 _In_z_ LPCWSTR keyName,
317 _Out_writes_to_(outLen, return + 1) LPWSTR out,
318 _In_ DWORD outLen,
320
324 _In_z_ LPCWSTR keyName,
327
330 _In_opt_z_ LPCWSTR lpAppName,
331 _In_z_ LPCWSTR lpKeyName,
332 _Out_writes_to_(nSize, return + 1) _Post_z_ LPWSTR lpReturnedString,
335
338 _In_z_ LPCWSTR lpAppName,
339 _In_z_ LPCWSTR lpKeyName,
340 _In_opt_z_ LPCWSTR lpString,
342
344{
357 SHKEY_Subkey_FileExts = 0x6000
359
362 void *data, DWORD *count);
364 DWORD type, void *data, DWORD count);
365
366int
369 _In_opt_ HINSTANCE hAppInst,
371 _In_ LPCWSTR lpcText,
372 _In_opt_ LPCWSTR lpcTitle,
373 _In_ UINT fuStyle,
374 ...);
375
376/* dwWhich flags for PathFileExistsDefExtW, PathFindOnPathExW,
377 * and PathFileExistsDefExtAndAttributesW */
378#define WHICH_PIF (1 << 0)
379#define WHICH_COM (1 << 1)
380#define WHICH_EXE (1 << 2)
381#define WHICH_BAT (1 << 3)
382#define WHICH_LNK (1 << 4)
383#define WHICH_CMD (1 << 5)
384#define WHICH_OPTIONAL (1 << 6)
385
386#define WHICH_DEFAULT (WHICH_PIF | WHICH_COM | WHICH_EXE | WHICH_BAT | WHICH_LNK | WHICH_CMD)
387
388/* dwClass flags for PathIsValidCharA and PathIsValidCharW */
389#define PATH_CHAR_CLASS_LETTER 0x00000001
390#define PATH_CHAR_CLASS_ASTERIX 0x00000002
391#define PATH_CHAR_CLASS_DOT 0x00000004
392#define PATH_CHAR_CLASS_BACKSLASH 0x00000008
393#define PATH_CHAR_CLASS_COLON 0x00000010
394#define PATH_CHAR_CLASS_SEMICOLON 0x00000020
395#define PATH_CHAR_CLASS_COMMA 0x00000040
396#define PATH_CHAR_CLASS_SPACE 0x00000080
397#define PATH_CHAR_CLASS_OTHER_VALID 0x00000100
398#define PATH_CHAR_CLASS_DOUBLEQUOTE 0x00000200
399#define PATH_CHAR_CLASS_INVALID 0x00000000
400#define PATH_CHAR_CLASS_ANY 0xffffffff
401
402BOOL WINAPI PathFileExistsDefExtW(LPWSTR lpszPath, DWORD dwWhich);
403
406 _Inout_ LPWSTR pszPath,
407 _In_ DWORD dwWhich,
408 _Out_opt_ LPDWORD pdwFileAttributes);
409
413 _In_ PCSTR pszPath,
414 _Out_writes_(cchBuff) PSTR pszBuff,
415 _In_ INT cchBuff);
416
420 _In_ PCWSTR pwszPath,
421 _Out_writes_(cchBuff) PWSTR pszBuff,
422 _In_ INT cchBuff);
423
424BOOL WINAPI PathFindOnPathExW(LPWSTR lpszFile, LPCWSTR *lppszOtherDirs, DWORD dwWhich);
427BOOL WINAPI PathIsValidCharA(char c, DWORD dwClass);
430#ifndef _SHLWAPI_
433#else
436#endif
437
439
441 _In_ PCSTR pszPath,
442 _In_opt_ PCSTR pszVerKey,
443 _In_opt_ PCSTR pszDisplayName,
444 _Out_opt_ PSTR pszOut,
445 _Inout_ PUINT pcchOut);
446
448 _In_ PCWSTR pszPath,
449 _In_opt_ PCWSTR pszVerKey,
450 _In_opt_ PCWSTR pszDisplayName,
451 _Out_opt_ PWSTR pszOut,
452 _Inout_ PUINT pcchOut);
453
456
457#ifdef UNICODE
458 #define PathIsValidChar PathIsValidCharW
459 #define StrCpyNX StrCpyNXW
460 #define FixSlashesAndColon FixSlashesAndColonW
461 #define SHGetFileDescription SHGetFileDescriptionW
462#else
463 #define PathIsValidChar PathIsValidCharA
464 #define StrCpyNX StrCpyNXA
465 #define FixSlashesAndColon FixSlashesAndColonA
466 #define SHGetFileDescription SHGetFileDescriptionA
467#endif
468
471 _In_ IContextMenu *pContextMenu,
472 _In_ HWND hwnd,
473 _In_ LPCSTR lpVerb,
475
479
481
482/* Flags for SHGetAppCompatFlags */
483#define SHACF_CONTEXTMENU 0x00000001
484#define SHACF_FLUSHNOWAITALWAYS SHACF_CONTEXTMENU
485#define SHACF_DOCOBJECT 0x00000002
486#define SHACF_CORELINTERNETENUM 0x00000004
487#define SHACF_OLDCREATEVIEWWND SHACF_CORELINTERNETENUM
488#define SHACF_WIN95DEFVIEW SHACF_CORELINTERNETENUM
489#define SHACF_MYCOMPUTERFIRST 0x00000008
490#define SHACF_OLDREGITEMGDN 0x00000010
491// 0x00000020
492#define SHACF_LOADCOLUMNHANDLER 0x00000040
493#define SHACF_ANSI 0x00000080
494#define SHACF_UNKNOWN1 0x00000100
495#define SHACF_WIN95SHLEXEC 0x00000200
496#define SHACF_STAROFFICE5PRINTER 0x00000400
497#define SHACF_NOVALIDATEFSIDS 0x00000800
498#define SHACF_FILEOPENNEEDSEXT 0x00001000
499#define SHACF_WIN95BINDTOOBJECT 0x00002000
500#define SHACF_IGNOREENUMRESET 0x00004000
501// 0x00008000
502#define SHACF_ANSIDISPLAYNAMES 0x00010000
503#define SHACF_FILEOPENBOGUSCTRLID 0x00020000
504#define SHACF_FORCELFNIDLIST 0x00040000
505// 0x00080000
506#define SHACF_UNKNOWN2 0x01000000
507#define SHACF_UNKNOWN3 0x80000000
508
510
513 _In_ IUnknown* lpUnknown,
515 _Out_ LPVOID *lppOut);
516
518 PVOID pThis,
519 HWND hWnd,
520 UINT uMsg,
522 LPARAM lParam);
523
527 _In_ PCSTR lpTemplateName,
530 _In_opt_ PVOID pThis);
531
533
538
541 _In_ REFGUID rpolid,
542 _Out_opt_ PVOID pvValue,
543 _Out_opt_ PDWORD pcbValue);
544
545#define E_DATATYPE_MISMATCH HRESULT_FROM_WIN32(ERROR_DATATYPE_MISMATCH)
546
547static inline BOOL
549{
550 return (PathGetDriveNumberW(pszPath) != -1 && pszPath[2] == L'\\') || PathIsUNCW(pszPath);
551}
552
553static inline HRESULT
555{
557 return *ppData ? S_OK : E_OUTOFMEMORY;
558}
559
560static inline DWORD
561SHWindowsPolicyEx(_In_ REFGUID rpolid, _In_ DWORD dwDefaultValue)
562{
563 DWORD dwData, cbData = sizeof(dwData);
565 return (SUCCEEDED(hr) ? dwData : dwDefaultValue);
566}
567
568#if (NTDDI_VERSION >= NTDDI_LONGHORN) || defined(_SHELL32_)
571#endif
572
573/*****************************************************************************
574 * ZoneCheck*
575 */
576
579 _In_ PCSTR pszUrl,
580 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
581 _In_ DWORD cbPolicy,
582 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
583 _In_ DWORD cbContext,
584 _In_ DWORD dwAction,
586 _In_opt_ IInternetSecurityMgrSite *pSecuritySite,
588
591 _In_ PCWSTR pszUrl,
592 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
593 _In_ DWORD cbPolicy,
594 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
595 _In_ DWORD cbContext,
596 _In_ DWORD dwAction,
598 _In_opt_ IInternetSecurityMgrSite *pSecuritySite,
600
603 _In_ PCSTR pszPath,
604 _In_ DWORD dwAction,
606 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
607
610 _In_ PCWSTR pszPath,
611 _In_ DWORD dwAction,
613 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
614
617 _In_ PCSTR pszUrl,
618 _In_ DWORD dwAction,
620 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
621
624 _In_ PCWSTR pszUrl,
625 _In_ DWORD dwAction,
627 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
628
631 _In_ PCSTR pszUrl,
632 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
633 _In_ DWORD cbPolicy,
634 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
635 _In_ DWORD cbContext,
636 _In_ DWORD dwAction,
638 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
639
642 _In_ PCWSTR pszUrl,
643 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
644 _In_ DWORD cbPolicy,
645 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
646 _In_ DWORD cbContext,
647 _In_ DWORD dwAction,
649 _In_opt_ IInternetSecurityMgrSite *pSecuritySite);
650
654 _In_ PCWSTR pszUrl,
655 _In_ DWORD dwAction);
656
660 _Out_writes_bytes_opt_(cbPolicy) PBYTE pbPolicy,
661 _In_ DWORD cbPolicy,
662 _In_reads_bytes_opt_(cbContext) PBYTE pbContext,
663 _In_ DWORD cbContext,
664 _In_ PCWSTR pszUrl,
665 _In_ DWORD dwAction);
666
667#ifdef UNICODE
668 #define ZoneCheckUrlExCache ZoneCheckUrlExCacheW
669 #define ZoneCheckPath ZoneCheckPathW
670 #define ZoneCheckUrl ZoneCheckUrlW
671 #define ZoneCheckUrlEx ZoneCheckUrlExW
672#else
673 #define ZoneCheckUrlExCache ZoneCheckUrlExCacheA
674 #define ZoneCheckPath ZoneCheckPathA
675 #define ZoneCheckUrl ZoneCheckUrlA
676 #define ZoneCheckUrlEx ZoneCheckUrlExA
677#endif
678
679#ifdef __cplusplus
680} /* extern "C" */
681#endif
static HDC hDC
Definition: 3dtext.c:33
#define PathUnExpandEnvStringsForUserW
UINT cchMax
WCHAR lpszDest[260]
WINBASEAPI _Check_return_ _Out_ AppPolicyProcessTerminationMethod * policy
Definition: appmodel.h:78
#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
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
HRESULT hr
Definition: delayimp.cpp:582
static LPVOID LPUNKNOWN
Definition: dinput.c:53
UINT uFlags
Definition: api.c:59
void *WINAPI CoTaskMemAlloc(SIZE_T size)
Definition: malloc.c:381
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1674
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
BOOL WINAPI PathIsUNCW(const WCHAR *path)
Definition: path.c:989
int WINAPI PathGetDriveNumberW(const WCHAR *path)
Definition: path.c:1786
GUID guid
Definition: version.c:147
static MonoProfilerRuntimeShutdownBeginCallback cb
Definition: metahost.c:118
static REFPROPVARIANT PROPVAR_CHANGE_FLAGS VARTYPE vt
Definition: suminfo.c:91
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
Definition: dplayx.c:30
#define L(x)
Definition: resources.c:13
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
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
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
unsigned int UINT
Definition: sysinfo.c:13
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
#define S_OK
Definition: intsafe.h:52
#define SUCCEEDED(hr)
Definition: intsafe.h:50
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
PSDBQUERYRESULT_VISTA PVOID * ppData
Definition: env.c:56
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
_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
static HANDLE ULONG_PTR dwData
Definition: pipe.c:111
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
#define REFCLSID
Definition: guiddef.h:117
_In_opt_ IUnknown * punk
Definition: shlwapi.h:158
_In_ DWORD dwProcessId
Definition: shlwapi.h:193
_In_opt_ _In_opt_ _In_ _In_ DWORD cbData
Definition: shlwapi.h:761
_In_ INT cchDest
Definition: shlwapi.h:1161
_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:1536
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:108
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:217
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:288
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:230
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:318
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
static HRESULT SHCoAlloc(_In_ SIZE_T cb, _Outptr_ PVOID *ppData)
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:197
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)
HRESULT WINAPI AssocCreateElement(_In_ REFCLSID rclsid, _In_ REFIID riid, _Outptr_ PVOID *ppvObj)
Definition: elements.cpp:1635
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
static DWORD SHWindowsPolicyEx(_In_ REFGUID rpolid, _In_ DWORD dwDefaultValue)
HRESULT WINAPI SHCreatePropertyBagOnMemory(_In_ DWORD dwMode, _In_ REFIID riid, _Out_ void **ppvObj)
Definition: propbag.cpp:260
HRESULT WINAPI SKGetValueW(DWORD flags, LPCWSTR subkey, LPCWSTR value, DWORD *type, void *data, DWORD *count)
Definition: ordinal.c:4311
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:250
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)
HRESULT WINAPI SKSetValueW(DWORD flags, LPCWSTR subkey, LPCWSTR value, DWORD type, void *data, DWORD count)
Definition: ordinal.c:4333
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:263
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:134
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:306
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
static BOOL PathIsAbsolute(_In_ PCWSTR pszPath)
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
ULONG_PTR SIZE_T
Definition: typedefs.h:80
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