Heap   _In_
Type: HANDLEHeap HandleBuffer   _In_
Type: PCSTRBuffer containing the name to setSizeOfBuffer   _In_
Type: SIZE_TSize in bytes of Buffer
Type: BOOLOn success XMemSetWin32HeapName returns TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError.
The heap name is limited to 8 characters not including the NULL terminator. XMemSetWin32HeapName will truncate the supplied name at the character limit.