Skip to content

Latest commit

 

History

History
89 lines (77 loc) · 2.43 KB

nf-d2d1_1-id2d1printcontrol-close.md

File metadata and controls

89 lines (77 loc) · 2.43 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type 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 targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d2d1_1.ID2D1PrintControl.Close
ID2D1PrintControl::Close (d2d1_1.h)
Passes all remaining resources to the print sub-system, then clean up and close the current print job.
Close
Close method [Direct2D]
Close method [Direct2D]
ID2D1PrintControl interface
ID2D1PrintControl interface [Direct2D]
Close method
ID2D1PrintControl.Close
ID2D1PrintControl::Close
d2d1_1/ID2D1PrintControl::Close
direct2d.id2d1printcontrol_close
direct2d\id2d1printcontrol_close.htm
Direct2D
2ADCA373-C461-4737-A292-AF29977B148C
12/05/2018
Close, Close method [Direct2D], Close method [Direct2D],ID2D1PrintControl interface, ID2D1PrintControl interface [Direct2D],Close method, ID2D1PrintControl.Close, ID2D1PrintControl::Close, d2d1_1/ID2D1PrintControl::Close, direct2d.id2d1printcontrol_close
d2d1_1.h
Windows
Windows 8 and Platform Update for Windows 7 [desktop apps \| UWP apps]
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps \| UWP apps]
D2d1.lib
Windows
19H1
ID2D1PrintControl::Close
d2d1_1/ID2D1PrintControl::Close
c++
APIRef
kbSyntax
COM
d2d1.lib
d2d1.dll
ID2D1PrintControl.Close

ID2D1PrintControl::Close

-description

Passes all remaining resources to the print sub-system, then clean up and close the current print job.

-returns

Type: HRESULT

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

HRESULT Description
S_OK No error occurred.
E_OUTOFMEMORY Direct2D could not allocate sufficient memory to complete the call.
E_INVALIDARG An invalid parameter was passed to the returning function.
D2DERR_PRINT_JOB_CLOSED The print job is already finished.

-see-also

ID2D1PrintControl