The IsBadHugeWritePtr function is obsolete. It is available only for compatibility with 16-bit Windows, which distinguishes between normal memory allocations and huge allocations occupying multiple segments. In the Win32 API, this function is equivalent to the IsBadWritePtr function.
Memory Management Overview, Memory Management Functions