GetPolyFillMode

  int GetPolyFillMode(hdc)    
  HDC hdc; /* handle of a device context */

The GetPolyFillMode function retrieves the current polygon filling mode.

Parameters

hdc

Identifies the device context.

Return Value

The return value specifies the polygon fill-mode. It can be either of the following values:

Value Meaning

ALTERNATE Alternate mode.
WINDING Winding-number mode.

If an error occurred, the return value is 0.

Comments

For a description of the polygon fill-modes, see the SetPolyFillMode function.

See Also

SetPolyFillMode