49{
60
62
63 TRACE(
"Enumerating Shell Service Object GUIDs...\n");
64
66 L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ShellServiceObjectDelayLoad",
67 &hkey))
68 {
69 ERR(
"RegOpenKeyW failed.\n");
71 }
72
74
75
76 do
77 {
80
83 break;
84
86 {
87 WARN(
"Value type was not REG_SZ.\n");
88 continue;
89 }
90
93 {
94 ERR(
"CLSIDFromString failed %08x.\n",
hr);
96 }
97
100 {
101 ERR(
"CoCreateInstance failed %08x.\n",
hr);
103 }
104
106
108 }
109 while (1);
110
112 {
113 ERR(
"RegEnumValueW failed %08x.\n",
ret);
116 }
117
118
122
124
125 *phdpa = hdpa;
127
133}
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegEnumValueW(_In_ HKEY hKey, _In_ DWORD index, _Out_ LPWSTR value, _Inout_ PDWORD val_count, _Reserved_ PDWORD reserved, _Out_opt_ PDWORD type, _Out_opt_ LPBYTE data, _Inout_opt_ PDWORD count)
VOID WINAPI DPA_EnumCallback(HDPA hdpa, PFNDPAENUMCALLBACK enumProc, LPVOID lParam)
HDPA WINAPI DPA_Create(INT nGrow)
#define ERROR_NO_MORE_ITEMS
#define FAILED_UNEXPECTEDLY(hr)
static void cleanup(void)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CLSIDFromString(LPCOLESTR idstr, LPCLSID id)
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei count
#define DPA_AppendPtr(hdpa, pitem)
static int CALLBACK InitializeAllCallback(void *pItem, void *pData)
HRESULT ShutdownShellServices(HDPA hdpa)
DWORD WINAPI GetLastError(void)
#define HRESULT_FROM_WIN32(x)
#define HKEY_LOCAL_MACHINE
#define IID_PPV_ARG(Itype, ppType)