[KERNEL32]: Cleanup and fix the Global* APIs for heap allocation. Mostly parameter...
authorAlex Ionescu <aionescu@gmail.com>
Thu, 4 Aug 2011 22:18:01 +0000 (22:18 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 4 Aug 2011 22:18:01 +0000 (22:18 +0000)
commit4e634556d901c450957b4f068c928a4968be6419
tree6f7617958f49ac9005a51ceba92504f6abda3463
parente2c053a3075470dfb445fb516cc37cb266e920e9
[KERNEL32]: Cleanup and fix the Global* APIs for heap allocation. Mostly parameter check fixing, checking for errors and failure cases, as well as adding SEH (no real functionality improvement, other than fixing a security issue in GlobalLock).
[KERNEL32]: Rename hProcessHeap to BaseHeap, and only allow the heapmem.c access to this (change find.c to use RtlGetProcessHeap() like everyone else).

svn path=/trunk/; revision=53068
reactos/dll/win32/kernel32/client/dllmain.c
reactos/dll/win32/kernel32/client/file/find.c
reactos/dll/win32/kernel32/client/heapmem.c
reactos/dll/win32/kernel32/include/baseheap.h
reactos/dll/win32/kernel32/include/kernel32.h