IsWindowUnicode

  BOOL IsWindowUnicode(hwnd)    
  HWND hwnd;    

This function determines whether this window is a native Unicode window, or a native ANSI-ASCII window. A window is a Unicode window if its window class definition was registered with the wide-character version of RegisterClass.

The system does automatic two-way Unicode to ANSI-ASCII translation for window messages. If an ANSI-ASCII window message is sent to a Unicode window for example, the system will translate that message into a Unicode message before calling the window procedure. The system determines whether it needs to do translation by calling IsWindowUnicode.

Parameters

hwnd

Specifies a window handle.

Return Value

Returns TRUE if the window is a Unicode window, FALSE otherwise.