Michael Stefaniuc : comctl32: HANDLE/ HGLOBAL are basically just void pointers. No casts to other pointers are needed.