"Jerry Jenkins" Jerry_J_Jenkins@hotmail.com wrote:
Maybe we can add a new inline function which likes inline void *HeapReAllocEx(..., lpMemory, ...) { if (lpMemory)... else ... } then #define HeapReAlloc HeapReAllocEx in a proper header file.
No, that will confuse people even more, and will abuse an exported API by a not appropriate functionality, which without looking at the headers will be very hard to identify.