ID2D1ImageSource::OfferResources method

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

Syntax


HRESULT OfferResources();

Parameters

This method has no parameters.

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

Header

D2d1_3.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1ImageSource

 

 

Show: