Platform Adaptation Layer (OS abstraction layer used to port the Microsoft Shared Source Implementation)