BOOL StrokePath(hdc) | |||
HDC hdc; |
The StrokePath function renders the specified path using the current pen.
hdc
Identifies the device context.
The return value is TRUE if the call succeeded, otherwise FALSE.
The DC must have an inactive path bracket, started by calling BeginPath and ended by calling EndPath. StrokePath discards the path.
Use the GetLastError function to retrieve the error value, which may be one of the following:
ERROR_INVALID_MODE | |
ERROR_INVALID_PARAMETER | |
ERROR_NOT_ENOUGH_MEMORY |
ExtCreatePen, BeginPath, EndPath