Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Clears all of the rendering resources used by Direct2D.
Syntax
void ClearResources(
UINT32 millisecondsSinceUse
);
Parameters
millisecondsSinceUse
Type: UINT
Discards only resources that haven't been used for greater than the specified time in milliseconds. The default is 0 milliseconds.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | d2d1_1.h |
| Library | D2d1.lib |
| DLL | D2d1.dll |