The GetMiterLimit function returns the miter limit for the specified device context.
BOOL GetMiterLimit(
HDC hdc, // handle to device context
PFLOAT peLimit // pointer to variable receiving miter limit
);
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Windows NT: To get extended error information, call GetLastError.
The miter limit is used when drawing geometric lines that have miter joins.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Import Library: Use gdi32.lib.
Paths Overview, Path Functions, ExtCreatePen, SetMiterLimit