ok(InternetCrackUrlA(TEST_URL,strlen(TEST_URL),0,&urlComponents),"InternetCrackUrl failed with GLE 0x%lx\n",GetLastError());
ok(urlComponents.dwUrlPathLength==strlen(TEST_URL_PATH),".dwUrlPathLength should be %d, but is %ld\n",strlen(TEST_URL_PATH),urlComponents.dwUrlPathLength);
ok(urlComponents.dwUrlPathLength==strlen(TEST_URL_PATH),".dwUrlPathLength should be %d, but is %ld\n",lstrlenA(TEST_URL_PATH),urlComponents.dwUrlPathLength);
ok(!strncmp(urlComponents.lpszUrlPath,TEST_URL_PATH,strlen(TEST_URL_PATH)),"lpszUrlPath should be %s but is %s\n",TEST_URL_PATH,urlComponents.lpszUrlPath);
ok(urlComponents.dwHostNameLength==strlen(TEST_URL_HOST),".dwHostNameLength should be %d, but is %ld\n",strlen(TEST_URL_HOST),urlComponents.dwHostNameLength);
ok(urlComponents.dwHostNameLength==strlen(TEST_URL_HOST),".dwHostNameLength should be %d, but is %ld\n",lstrlenA(TEST_URL_HOST),urlComponents.dwHostNameLength);
ok(!strncmp(urlComponents.lpszHostName,TEST_URL_HOST,strlen(TEST_URL_HOST)),"lpszHostName should be %s but is %s\n",TEST_URL_HOST,urlComponents.lpszHostName);
ok(urlComponents.nPort==INTERNET_DEFAULT_HTTP_PORT,"urlComponents->nPort should have been 80 instead of %d\n",urlComponents.nPort);
ok(urlComponents.nScheme==INTERNET_SCHEME_HTTP,"urlComponents->nScheme should have been INTERNET_SCHEME_HTTP instead of %d\n",urlComponents.nScheme);