https://www.e-consystems.com/blog/windowsce/windows-ce-ddraw-api/