ControlEUDC Function [GDI (Windows 3.1J)]

int ControlEUDC(iControl)
int iControl;
 

The ControlEUDC function enables or disables all TrueType EUDC fonts.

A Windows 3.1J application may call this function whenever the application adds, modifies, or deletes a TrueType EUDC font.

·    If this function fails, the return value is zero.

iControl
Specifies the subfunction number.
CE_DISABLETTEUDC This subfunction disables all TrueType EUDC fonts and flushes the related contexts of the fonts in GDI.

Before adding, modifying, or deleting a TrueType EUDC font, an application must call this subfunction.

Once this subfunction is called, no GDI function effect for TrueType EUDC fonts.

CE_ENABLETTEUDC This subfunction enables all TrueType EUDC fonts.

After adding, modifying, or deleting a TrueType EUDC font, an application must call this subfunction.

After this subfunction is called, all GDI functions effect for TrueType EUDC fonts.