The original Win32 API is based on C. However, there are many COM-based services on Windows. Good examples are clipboard, drag & drop + drop, shell, user mode driver infrastructure, DirectX. Although it is technically possible to write COM code in C, it is very painful to do so.
You are actually using C ++. And a C ++ class library to make the original C-interface less painful, especially for the graphical interface.
source
share