Share via


UnRegisterForDirtyRange method

Stops any further dirty range notification, corresponding to a given cookie, from the markup container.

Syntax

HRESULT retVal = object.UnRegisterForDirtyRange(dwCookie);

Parameters

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Subsequent calls using this cookie will return E_INVALIDARG.

See also

Reference

IMarkupContainer2::RegisterForDirtyRange

IMarkupContainer2::GetAndClearDirtyRange