1027 static const WCHAR commasep[] = {
',',
' ',0};
1028 static const WCHAR winedll[] = {
'w',
'i',
'n',
'e',
'.',
'd',
'l',
'l',0};
1029 static const WCHAR wine[] = {
'w',
'i',
'n',
'e',0};
1030 static const WCHAR ver[] = {
1031 'V',
'e',
'r',
's',
'i',
'o',
'n',
'=',
'1',
'.',
'0',
'.',
'0',
'.',
'0',0};
1032 static const WCHAR otherver[] = {
1033 'V',
'e',
'r',
's',
'i',
'o',
'n',
'=',
'1',
'.',
'0',
'.',
'0',
'.',
'0',
'0',
'0',
'0',
'0',0};
1034 static const WCHAR badver[] = {
1035 'V',
'e',
'r',
's',
'i',
'o',
'n',
'=',
'1',
'.',
'0',
'.',
'0',
'.',
'1',0};
1037 'C',
'u',
'l',
't',
'u',
'r',
'e',
'=',
'n',
'e',
'u',
't',
'r',
'a',
'l',0};
1038 static const WCHAR badculture[] = {
1039 'C',
'u',
'l',
't',
'u',
'r',
'e',
'=',
'e',
'n',0};
1041 'P',
'u',
'b',
'l',
'i',
'c',
'K',
'e',
'y',
'T',
'o',
'k',
'e',
'n',
'=',
1042 '2',
'd',
'0',
'3',
'6',
'1',
'7',
'b',
'1',
'c',
'3',
'1',
'e',
'2',
'f',
'5',0};
1043 static const WCHAR badpubkey[] = {
1044 'P',
'u',
'b',
'l',
'i',
'c',
'K',
'e',
'y',
'T',
'o',
'k',
'e',
'n',
'=',
1045 'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',
'a',0};
1046 static const WCHAR badprop[] = {
'B',
'a',
'd',
'P',
'r',
'o',
'p',
'=',
'b',
'u',
'h',0};
1047 static const WCHAR msil[] = {
1048 '_',
'M',
'S',
'I',
'L',
'\\',
'w',
'i',
'n',
'e',
'\\',
1049 '1',
'.',
'0',
'.',
'0',
'.',
'0',
'_',
'_',
'2',
'd',
'0',
'3',
'6',
'1',
'7',
'b',
1050 '1',
'c',
'3',
'1',
'e',
'2',
'f',
'5',
'\\',0};
1051 static const WCHAR wine2[] = {
1052 'w',
'i',
'n',
'e',
',',
'v',
'e',
'r',
's',
'i',
'o',
'n',
'=',
'1',
'.',
'0',
'.',
'0',
'.',
'1',
',',
1053 'p',
'u',
'b',
'l',
'i',
'c',
'K',
'e',
'y',
'T',
'o',
'k',
'e',
'n',
'=',
1054 '2',
'd',
'0',
'3',
'6',
'1',
'7',
'b',
'1',
'c',
'3',
'1',
'e',
'2',
'f',
'5',
',',
1055 'c',
'u',
'l',
't',
'u',
'r',
'e',
'=',
'n',
'e',
'u',
't',
'r',
'a',
'l',0};
1056 static const WCHAR nullpublickey[] = {
1057 'm',
's',
'c',
'o',
'r',
'l',
'i',
'b',
'.',
'd',
'l',
'l',
',',
'v',
'e',
'r',
's',
'i',
'o',
'n',
'=',
'0',
'.',
'0',
'.',
1058 '0',
'.',
'0',
',',
'c',
'u',
'l',
't',
'u',
'r',
'e',
'=',
'n',
'e',
'u',
't',
'r',
'a',
'l',
',',
1059 'p',
'u',
'b',
'l',
'i',
'c',
'K',
'e',
'y',
'T',
'o',
'k',
'e',
'n',
'=',
'n',
'u',
'l',
'l',0};
1060 static const WCHAR nullpublickey1[] = {
1061 'm',
's',
'c',
'o',
'r',
'l',
'i',
'b',
'.',
'd',
'l',
'l',
',',
1062 'p',
'u',
'b',
'l',
'i',
'c',
'K',
'e',
'y',
'T',
'o',
'k',
'e',
'n',
'=',
'n',
'u',
'L',
'l',0};
1066 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1073 hr = pCreateAssemblyCache(&
cache, 0);
1074 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1080 "Expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got %08x\n",
hr);
1082 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1083 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1084 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1085 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1086 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1087 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1089 "Assembly path was changed\n");
1092 hr = IAssemblyCache_InstallAssembly(
cache, 0, winedll,
NULL);
1093 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1097 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_VALIDATE,
1101 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1102 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1103 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1104 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1105 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1106 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1108 "Assembly path was changed\n");
1113 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_VALIDATE,
1117 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1118 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1119 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1120 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1121 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1122 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1124 "Assembly path was changed\n");
1130 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1132 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1134 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1135 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1136 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1137 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1138 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1140 "Wrong assembly path returned\n");
1142 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1146 hr = IAssemblyCache_QueryAssemblyInfo(
cache, 0, winedll, &
info);
1148 "Expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got %08x\n",
hr);
1150 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1151 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1152 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1153 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1154 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1155 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1157 "Assembly path was changed\n");
1161 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_VALIDATE,
1163 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1166 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1168 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1172 info.cbAssemblyInfo = 0;
1173 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_VALIDATE,
1175 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1177 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1179 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1180 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1181 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1182 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1183 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1185 "Wrong assembly path returned\n");
1187 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1191 info.cbAssemblyInfo = 1;
1192 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_VALIDATE,
1195 ok(
info.cbAssemblyInfo == 1,
"Expected 1, got %d\n",
info.cbAssemblyInfo);
1196 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1197 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1198 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1199 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1200 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1202 "Assembly path was changed\n");
1208 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1212 "Expected sizeof(ASSEMBLY_INFO) * 2, got %d\n",
info.cbAssemblyInfo);
1213 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1214 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1215 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1216 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1217 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1219 "Assembly path was changed\n");
1224 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1226 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1228 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1230 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1231 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1232 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1235 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1236 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1239 "Wrong assembly path returned\n");
1241 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1245 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE |
1246 QUERYASMINFO_FLAG_VALIDATE,
wine, &
info);
1247 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1249 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1251 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1252 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1253 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1256 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1257 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1260 "Wrong assembly path returned\n");
1262 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1266 info.pszCurrentAssemblyPathBuf =
NULL;
1267 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1270 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1272 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1273 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1274 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1278 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1279 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1282 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1287 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1290 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1292 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1293 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1294 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1296 "Assembly path was changed\n");
1300 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1301 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1304 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1309 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1311 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1313 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1315 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1316 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1317 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1319 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1322 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1323 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1326 "Wrong assembly path returned\n");
1333 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1335 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1337 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1339 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1340 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1341 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1344 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1345 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1348 "Wrong assembly path returned\n");
1350 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1357 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_VALIDATE,
1367 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1374 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1376 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1378 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1380 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1381 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1382 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1385 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1386 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1389 "Wrong assembly path returned\n");
1391 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1398 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1401 "Expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got %08x\n",
hr);
1403 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1404 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1405 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1406 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1407 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1408 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1410 "Assembly path was changed\n");
1416 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1419 "Expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got %08x\n",
hr);
1421 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1422 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1423 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1424 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1425 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1426 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1428 "Assembly path was changed\n");
1448 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1450 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1452 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1454 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1455 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1456 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1459 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1460 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1463 "Wrong assembly path returned\n");
1465 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1472 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1475 "Expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got %08x\n",
hr);
1476 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1478 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1479 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1480 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1481 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1482 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1484 "Assembly path was changed\n");
1492 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1494 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1496 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1498 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1499 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1500 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1503 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1504 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1507 "Wrong assembly path returned\n");
1509 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1516 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1519 "Expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got %08x\n",
hr);
1521 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1522 ok(
info.dwAssemblyFlags == 0,
"Expected 0, got %08x\n",
info.dwAssemblyFlags);
1523 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1524 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1525 ok(
info.uliAssemblySizeInKB.u.LowPart == 0,
1526 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1528 "Assembly path was changed\n");
1536 hr = IAssemblyCache_QueryAssemblyInfo(
cache, QUERYASMINFO_FLAG_GETSIZE,
1538 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1540 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1542 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1543 ok(
info.uliAssemblySizeInKB.u.HighPart == 0,
1544 "Expected 0, got %d\n",
info.uliAssemblySizeInKB.u.HighPart);
1547 ok((
info.uliAssemblySizeInKB.u.LowPart == 4),
1548 "Expected 4, got %d\n",
info.uliAssemblySizeInKB.u.LowPart);
1551 "Wrong assembly path returned\n");
1553 "Expected %d, got %d\n",
lstrlenW(asmpath) + 1,
info.cchBuf);
1557 info.pszCurrentAssemblyPathBuf =
NULL;
1565 "Expected sizeof(ASSEMBLY_INFO), got %d\n",
info.cbAssemblyInfo);
1567 "Expected ASSEMBLYINFO_FLAG_INSTALLED, got %08x\n",
info.dwAssemblyFlags);
1572 ok(
hr ==
S_OK,
"Expected S_OK, got %08x\n",
hr);
1573 ok(disp == IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED,
1574 "Expected IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED, got %d\n", disp);
1578 IAssemblyCache_Release(
cache);
#define HRESULT_FROM_WIN32(x)
#define ASSEMBLYINFO_FLAG_INSTALLED
static const WCHAR pubkey[]
int WINAPI lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
#define FUSION_E_PRIVATE_ASM_DISALLOWED
static struct _test_info info[]
struct _ASSEMBLY_INFO ASSEMBLY_INFO
BOOL WINAPI DeleteFileA(IN LPCSTR lpFileName)
#define ERROR_FILE_NOT_FOUND
#define E_NOT_SUFFICIENT_BUFFER
static void create_assembly(LPCSTR file)
static const WCHAR culture[]
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)