ok(Mdl == NULL,
"IoAllocateMdl should fail allocation of 2Gb or more, but got Mdl=0x%X",
- (UINT)Mdl);
+ (UINT32)Mdl);
if (Mdl)
IoFreeMdl(Mdl);
ok(Mdl != NULL, "Mdl allocation failed");
// Check fields of the allocated struct
ok(Mdl->Next == NULL, "Mdl->Next should be NULL, but is 0x%X",
- (UINT)Mdl->Next);
+ (UINT32)Mdl->Next);
ok(Mdl->ByteCount == MdlSize,
"Mdl->ByteCount should be equal to MdlSize, but is 0x%X",
- (UINT)Mdl->ByteCount);
+ (UINT32)Mdl->ByteCount);
// TODO: Check other fields of MDL struct
IoFreeMdl(Mdl);
Mdl = IoAllocateMdl(VirtualAddress, MdlSize, FALSE, FALSE, Irp);
ok(Mdl != NULL, "Mdl allocation failed");
ok(Irp->MdlAddress == Mdl, "Irp->MdlAddress should be 0x%X, but is 0x%X",
- (UINT)Mdl, (UINT)Irp->MdlAddress);
+ (UINT32)Mdl, (UINT32)Irp->MdlAddress);
IoFreeMdl(Mdl);
if (ZwQuerySystemInformation(SystemPerformanceInformation,
(PVOID) &PerformanceInfo,
sizeof(SYSTEM_PERFORMANCE_INFORMATION),
- &Length) != NO_ERROR)
+ &Length) != STATUS_SUCCESS)
{
break;
}