---
UID: NF:ddraw.IDirectDraw7.Compact
title: IDirectDraw7::Compact (ddraw.h)
description: This method is not currently implemented.
old-location: directdraw\idirectdraw7_compact.htm
tech.root: directdraw
ms.assetid: ae417266-5c75-4f7f-b892-f99e5e25e5f4
ms.date: 12/05/2018
ms.keywords: Compact, Compact method [DirectDraw], Compact method [DirectDraw],IDirectDraw7 interface, IDirectDraw7 interface [DirectDraw],Compact method, IDirectDraw7.Compact, IDirectDraw7::Compact, ddraw/IDirectDraw7::Compact, directdraw.idirectdraw7_compact
f1_keywords:
- ddraw/IDirectDraw7.Compact
dev_langs:
- c++
req.header: ddraw.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- Ddraw.h
api_name:
- IDirectDraw7.Compact
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDirectDraw7::Compact


## -description


This method is not currently implemented.




## -parameters






## -returns



If the method succeeds, the return value is DD_OK.



If it fails, the method can return one of the following error values:

<ul>
<li>DDERR_INVALIDOBJECT</li>
<li>DDERR_INVALIDPARAMS</li>
<li>DDERR_NOEXCLUSIVEMODE</li>
<li>DDERR_SURFACEBUSY</li>
</ul>



## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/ddraw/nn-ddraw-idirectdraw7">IDirectDraw7</a>
 

 

