-#ifdef _UNICODE
-inline HACCEL LoadAccelerators(HINSTANCE h, LPCWSTR name)
-{
- return LoadAcceleratorsW(h, name);
-}
-#else
-inline HACCEL LoadAccelerators(HINSTANCE h, LPCSTR name)
-{
- return LoadAcceleratorsA(h, name);
-}
+// DrawText
+
+#ifdef DrawText
+ #undef DrawText
+ #ifdef _UNICODE
+ inline int DrawText(HDC h, LPCWSTR str, int count, LPRECT rect, UINT format)
+ {
+ return DrawTextW(h, str, count, rect, format);
+ }
+ #else
+ inline int DrawText(HDC h, LPCSTR str, int count, LPRECT rect, UINT format)
+ {
+ return DrawTextA(h, str, count, rect, format);
+ }
+ #endif