InvertSelection

  POINT InvertSelection(lpPntStruc)    
  LPEXTPAINTSTRUC lpPntStruc;    

The InvertSelection function inverts the selection.

Parameters

lpPntStruc

Points to an EXTPAINTSTRUC structure.

Return Value

The return value is a POINT structure specifying the x-and y-coordinates of the “active” selection end point.

Comments

The export ordinal for this function is 6.

The function ensures that subsequent output to the screen within the selection rectangle is inverted.