Device-dependent attributes, such as pick aperture, character cell, and
marker cell, are copied only when they have been set by the application.
Otherwise, the target device defaults are used.
In response to this call, the graphics engine does the following:
- Transfers the contents of the source DC's lcid table
to the target DC's lcid table.
- Translates any bit maps when the devices associated
with the source and target DCs are different.
- Calls GreCreateLogicalFont for the target DC, as necessary.
- Transfers the color table and checks that the resulting
color table in the target DC is the same as the one in the source DC.
- Resets the source DC using GreResetDC. When the save
level of the source DC is not 1, it is restored to the default value before
GreResetDC is called. The color table is also reset to the default value.
The values of the GPI handles in the source DC are preserved. This
function fails if the target DC lcid table already has lcids set in the
range specified. If the target DC does not support LCOL_REALIZABLE (see
GreCreateLogColorTable),
a warning (PMERR_REALIZE_NOT_SUPPORTED) is raised and the color table is
treated as nonrealizable.
This function has the following effect on fonts: