WriteFile Function

It makes bitmap file.
For Debugging