You do realize the examples on msdn.microsoft.com normally say C++; can work in most cases in both C and C++.

This is because the API for MS Windows is almost (if not all) all written in C.

Tim...