Owen Rudge orudge@codeweavers.com writes:
- ptr = HeapAlloc(procHeap, HEAP_ZERO_MEMORY, MEMORY_ALLOCATION_SIZE + cbSize);
Are all allocations supposed to be zeroed? This is a little surprising, it would need a test too.
- srand((unsigned)time(NULL));
Please don't do that, test results need to be reproducible.