ID2D1ImageSource::OfferResources method (d2d1_3.h)

Allows the operating system to free the video memory of resources by discarding their content.

Syntax

HRESULT OfferResources();

Return value

Type: HRESULT

OfferResources returns:

  • S_OK if resources were successfully offered
  • E_INVALIDARG if a resource in the array or the priority is invalid

Requirements

Requirement Value
Target Platform Windows
Header d2d1_3.h
Library D2d1.lib
DLL D2d1.dll

See also

ID2D1ImageSource