#include <windows.h>
#include <stdio.h>
int __cdecl wmain(int argc, wchar_t* pArgs[])
{
BYTE* pAlloc1 = NULL;
HANDLE hProcessHeap = GetProcessHeap();
pAlloc1 = (BYTE*)HeapAlloc(hProcessHeap, 0, 16);
pAlloc1 = (BYTE*)"Hello Heap!";
HeapFree(hProcessHeap, 0, pAlloc1);
return 0;
}
I2luY2x1ZGUgPHdpbmRvd3MuaD4KI2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgX19jZGVjbCB3bWFpbihpbnQgYXJnYywgd2NoYXJfdCogcEFyZ3NbXSkKewoJQllURSogcEFsbG9jMSA9IE5VTEw7CglIQU5ETEUgaFByb2Nlc3NIZWFwID0gR2V0UHJvY2Vzc0hlYXAoKTsKCXBBbGxvYzEgPSAoQllURSopSGVhcEFsbG9jKGhQcm9jZXNzSGVhcCwgMCwgMTYpOwoJcEFsbG9jMSA9IChCWVRFKikiSGVsbG8gSGVhcCEiOwoJSGVhcEZyZWUoaFByb2Nlc3NIZWFwLCAwLCBwQWxsb2MxKTsKCXJldHVybiAwOwp9Cg==