This topic has not yet been rated - Rate this topic

EnableEUDC function

Applies to: desktop apps only

This function enables or disables support for end-user-defined characters (EUDC).

Syntax

BOOL EnableEUDC(
  __in  HDC BOOL fEnableEUDC
);

Parameters

fEnableEUDC [in]

Boolean that is set to TRUE to enable EUDC, and to FALSE to disable EUDC.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

If EUDC is disabled, trying to display EUDC characters will result in missing or bad glyphs.

During multi-session, this function affects the current session only.

It is recommended that you use this function with Windows XP SP2 or later.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Library

Gdi32.lib

DLL

Gdi32.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
EUDC is not enabled by default for services
Support for EUDC needs to be enabled and is a per-session setting. It can be turned on or off using the EnableEUDC Windows API. It is enabled by default by userinit.exe, so usually, nothing needs to be done for standard Windows apps. However, because of session 0 isolation, services running on Windows Vista or later need to call EnableEUDC explicitly otherwise EUDC support will be disabled.