UpdateScreen

  WORD UpdateScreen(lpPntStruc)    
  LPEXTPAINTSTRUC lpPntStruc;    

The UpdateScreen function updates changed portions of the screen. When a non-Windows application modifies the display on its own, UpdateScreen is called.

Parameters

lpPntStruc

Points to an EXTPAINTSTRUC structure.

Return Value

The return value is 1 if the function paints the screen, unless the FGRBPROB bit is set in EPStatusFlags member. The return value is zero if the function cannot paint the screen, such as when Windows does not have enough memory to carry out the request.

Comments

The export ordinal for this function is 12.