Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
563 B

#pragma message("### Building FULL_DEBUG version ###")
// Clear out any prior definitions
#ifdef LocalAlloc
#undef LocalAlloc
#endif
#ifdef LocalReAlloc
#undef LocalReAlloc
#endif
#ifdef LocalFree
#undef LocalFree
#endif
//Redefine to be our debug allocators
#define LocalAlloc DebugLocalAlloc
#define LocalReAlloc DebugLocalReAlloc
#define LocalFree DebugLocalFree
HLOCAL WINAPI DebugLocalAlloc(UINT uFlags, UINT uBytes);
HLOCAL WINAPI DebugLocalReAlloc(HLOCAL hMem, UINT uBytes, UINT uFlags);
HLOCAL WINAPI DebugLocalFree( HLOCAL hMem );