Freigeben über


IOleInPlaceSiteWindowless.InvalidateRgn(IntPtr, Int32) Method

Definition

Enables an object to invalidate a specified region of its in-place image on the screen.

public:
 void InvalidateRgn(IntPtr hRGN, int fErase);
public void InvalidateRgn (IntPtr hRGN, int fErase);
abstract member InvalidateRgn : nativeint * int -> unit
Public Sub InvalidateRgn (hRGN As IntPtr, fErase As Integer)

Parameters

hRGN
IntPtr

nativeint

[in] Region to invalidate, in client coordinates of the containing window. If this parameter is NULL, the object's full extent is invalidated.

fErase
Int32

[in] Specifies whether the background within the update region is to be erased when the region is updated. If this parameter is TRUE, the background is erased. If this parameter is FALSE, the background remains unchanged.

Remarks

For information on the COM interface, see IOleInPlaceSiteWindowless::InvalidateRgn

Applies to