43static const char regpath_iemain[] =
"Software\\Microsoft\\Internet Explorer\\Main";
44static const char regpath_shellfolders[] =
"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
54 {
"http://www.winehq.org",
"http://www.winehq.org/", 22},
55 {
"www.winehq.org",
"http://www.winehq.org/", 22},
56 {
"winehq.org",
"http://winehq.org/", 18},
57 {
"ftp.winehq.org",
"ftp://ftp.winehq.org/", 21},
58 {
"http://winehq.org",
"http://winehq.org/", 18},
59 {
"https://winehq.org",
"https://winehq.org/", 19},
60 {
"https://www.winehq.org",
"https://www.winehq.org/", 23},
61 {
"ftp://winehq.org",
"ftp://winehq.org/", 17},
62 {
"ftp://ftp.winehq.org",
"ftp://ftp.winehq.org/", 21},
63 {
"about:blank",
"about:blank", 11},
64 {
"about:home",
"about:home", 10},
65 {
"about:mozilla",
"about:mozilla", 13},
67 {
" http://www.winehq.org",
"http://%20http://www.winehq.org", 31}
90 if (!pURLSubRegQueryA) {
91 skip(
"URLSubRegQueryA not found\n");
107 ok(
hr ==
S_OK,
"got 0x%x and %d (expected S_OK)\n",
hr,
len);
116 "got 0x%x and %d (expected S_OK and %d)\n",
hr,
used,
len);
124 "got 0x%x and %d (expected S_OK and %d)\n",
hr,
used,
len - 1);
133 "got 0x%x and %d (expected S_OK and %d)\n",
hr,
used,
len - 2);
142 "got 0x%x and %d (expected S_OK and 0)\n",
hr,
used);
152 "got 0x%x and %d (expected S_OK and INTERNET_MAX_URL_LENGTH - 1)\n",
157 ok(
hr ==
S_OK,
"got 0x%x (expected S_OK)\n",
hr);
161 ok(
hr ==
S_OK,
"got 0x%x (expected S_OK)\n",
hr);
176 "got 0x%x and %d (expected S_OK and %d)\n",
hr,
used,
len);
205 if (!pParseURLFromOutsideSourceA) {
206 skip(
"ParseURLFromOutsideSourceA not found\n");
220 "#%d: got %d and %d with '%s' (expected %d and %d with '%s')\n",
236 "#%d (+1): got %d and %d with '%s' (expected '!=0' and %d with '%s')\n",
246 "#%d (==): got %d and %d (expected '0' and %d)\n",
256 "#%d (-1): got %d and %d (expected '0' and %d or %d)\n",
266 "#%d (buffer): got %d and %d (expected '0' and %d)\n",
281 "#%d (unknown): got %d and %d with '%s' (expected '!=0' and %d with '%s')\n",
298 if (!pParseURLFromOutsideSourceW) {
299 skip(
"ParseURLFromOutsideSourceW not found\n");
304 memset(bufferA,
'#',
sizeof(bufferA)-1);
305 bufferA[
sizeof(bufferA) - 1] =
'\0';
312 res = pParseURLFromOutsideSourceW(urlW, bufferW, &
len, &
dummy);
316 "got %d and %d with '%s' (expected 1 and %d with '%s')\n",
322 memset(bufferA,
'#',
sizeof(bufferA)-1);
323 bufferA[
sizeof(bufferA) - 1] =
'\0';
327 res = pParseURLFromOutsideSourceW(urlW, bufferW, &
len, &
dummy);
332 "+1: got %d and %d with '%s' (expected '!=0' and %d with '%s')\n",
337 res = pParseURLFromOutsideSourceW(urlW, bufferW, &
len, &
dummy);
340 "==: got %d and %d (expected '0' and %d)\n",
345 res = pParseURLFromOutsideSourceW(urlW, bufferW, &
len, &
dummy);
348 "-1: got %d and %d (expected '0' and %d or %d)\n",
#define GetProcAddress(x, y)
#define WideCharToMultiByte
#define MultiByteToWideChar
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
#define INTERNET_MAX_URL_LENGTH
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
int WINAPI lstrlenA(LPCSTR lpString)
static void test_ParseURLFromOutsideSourceA(void)
static void test_URLSubRegQueryA(void)
static const char common_appdata[]
static const char start_page[]
static const char default_page_url[]
static const char appdata[]
static const struct @1709 ParseURL_table[]
static void test_ParseURLFromOutsideSourceW(void)
static const char regpath_shellfolders[]
static const char does_not_exist[]
static void init_functions(void)
static const char regpath_iemain[]