typedef struct _HEAP_LOCK { union { RTL_CRITICAL_SECTION CriticalSection; } Lock; } HEAP_LOCK, *PHEAP_LOCK;