Shims are small bits of code that can be inserted between any two modules in the system. For example, code can be inserted between an application and a call to the memory allocation API. Uses for this debugging feature are almost limitless. Common uses include tracking memory allocations, ensuring that handles are closed, and parameter checking on various calls. This module covers how to create and use shims to debug various aspects of a Windows CE platform.