This content has moved to another location. See DrawText for the latest version.
DrawTextW on 2000 and XP will not render to a DIBSection if the string is not WCHAR aligned in memory. But it does work in Vista.TextOutW will not render to a DIBSection when the string is non WCHAR aligned on any of 2000, XP or Vista.Both DrawTextW and TextOutW work find when drawing to either a screen DC or a printer DC on all three Windows flavours.
see http://louis.steelbytes.com/DrawTextBug.html for more info
Note that using DT_CALCRECT will not draw the text, so a subsequent call to DrawText is required.