Error in WinDef.h RRS feed

  • Question

  •  I created a basic windows hello program. I want to use UNICODE so I did write 
    #ifndef UNICODE
    #define UNICODE

    However, for W/A functions like CreateWindowEx, now I expect the WinDef.h header to change it to CreateWindowExW, but when it compiles it doesn't.

    The program does work if I manually put in WNDCLASSW, RegisterClassW, CreateWindowExW.

    Is there an error in the WinDef.h? Also, the definition appear after the struct they define does this make a difference?

    • Edited by MDax Saturday, September 28, 2013 2:11 AM
    Saturday, September 28, 2013 2:04 AM