GETVECTORPENSIZE

Syntax

short Escape(hDC, GETVECTORPENSIZE, sizeof(LOGPEN),lpInData,lpOutData)

This escape retrieves the size in device units of a plotter pen. GDI uses this information to prevent hatched brush patterns from overwriting the border of a closed figure.

Parameter Type/Description  

hDC HDC Identifies the device context.  
lpInData LOGPEN FAR * Points to a LOGPEN data structure that specifies the pen for which the width is to be retrieved.  
lpOutData LPPOINT Points to a POINT data structure that contains in its second word the width of the pen in device units.  

Return Value

The return value specifies the outcome of the escape. It is 1 if the escape is successful; it is zero if the escape is not successful or if it is not implemented.