32DEFINE_GUID(
GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
46 &CATID_BrowsableShellExt,
55 &CGID_ShellServiceObject,
57 &IID_INewShortcutHookA,
61 &IID_IShellPropSheetExt,
65 &WINE_IID_IDelayedRelease,
73 &IID_IShellExecuteHookA,
75 &IID_INewShortcutHookW,
79 &IID_IShellExecuteHookW,
84 &IID_IDockingWindowSite,
99DEFINE_GUID(IID_Endianness, 0x01020304, 0x0506, 0x0708, 0x09, 0x0A, 0x0B,
100 0x0C, 0x0D, 0x0E, 0x0F, 0x0A);
112 if (!pSHLWAPI_269 || !pSHLWAPI_23)
117 dwLen = pSHLWAPI_23(*guids, szBuff, 256);
118 if (!
i && dwLen ==
S_OK) is_vista =
TRUE;
119 ok(dwLen == (is_vista ?
S_OK : 39),
"wrong size %u for id %d\n", dwLen,
i);
121 bRet = pSHLWAPI_269(szBuff, &
guid);
122 ok(bRet !=
FALSE,
"created invalid string '%s'\n", szBuff);
132 dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 256);
133 ok(dwLen == (is_vista ?
S_OK : 39),
"wrong size %u for IID_Endianness\n", dwLen);
135 ok(!
strcmp(szBuff,
"{01020304-0506-0708-090A-0B0C0D0E0F0A}"),
136 "Endianness Broken, got '%s'\n", szBuff);
140 dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 0);
141 ok(dwLen == (is_vista ?
E_FAIL : 0),
"accepted bad length\n");
142 ok(szBuff[0] ==
':',
"wrote to buffer with no length\n");
145 dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 38);
146 ok(dwLen == (is_vista ?
E_FAIL : 0),
"accepted bad length\n");
147 ok(szBuff[0] ==
':',
"wrote to buffer with no length\n");
150 dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 39);
151 ok(dwLen == (is_vista ?
S_OK : 39),
"rejected ok length\n");
152 ok(szBuff[0] ==
'{',
"Didn't write to buffer with ok length\n");
156 bRet = pSHLWAPI_269(szBuff, &
guid);
157 ok(bRet ==
FALSE,
"accepted invalid string\n");
159 dwLen = pSHLWAPI_23(&IID_Endianness, szBuff, 39);
160 ok(dwLen == (is_vista ?
S_OK : 39),
"rejected ok length\n");
161 ok(szBuff[0] ==
'{',
"Didn't write to buffer with ok length\n");
170 static const WCHAR wszStdPicture[] = {
'S',
't',
'd',
'P',
'i',
'c',
't',
'u',
'r',
'e',0};
174 hres = pCLSIDFromProgIDWrap(wszStdPicture, &
clsid);
181 hres = pCLSIDFromProgIDWrap(wszStdPicture,
NULL);
191 win_skip(
"Too old shlwapi version\n");
int strcmp(const char *String1, const char *String2)
char * strcpy(char *DstString, const char *SrcString)
static void test_CLSIDFromProgIDWrap(void)
static void test_ClassIDs(void)
static const GUID * TEST_guids[]
static CLSID *static LPSTR
#define GetProcAddress(x, y)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
const GUID CLSID_StdPicture
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
#define IsEqualGUID(rguid1, rguid2)
#define DEFINE_OLEGUID(name, l, w1, w2)