Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 2.15 KB

nf-printerextension-iprinterscriptablepropertybag-getwritestream.md

File metadata and controls

70 lines (55 loc) · 2.15 KB
UID title description tech.root ms.date keywords 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 f1_keywords topic_type api_type api_location api_name
NF:printerextension.IPrinterScriptablePropertyBag.GetWriteStream
IPrinterScriptablePropertyBag::GetWriteStream (printerextension.h)
Gets a stream and uses it to write to a stream property.
print
08/02/2022
IPrinterScriptablePropertyBag::GetWriteStream
GetWriteStream, GetWriteStream method [Print Devices], GetWriteStream method [Print Devices],IPrinterScriptablePropertyBag interface, IPrinterScriptablePropertyBag interface [Print Devices],GetWriteStream method, IPrinterScriptablePropertyBag.GetWriteStream, IPrinterScriptablePropertyBag::GetWriteStream, print.iprinterscriptablepropertybag_getwritestream, printerextension/IPrinterScriptablePropertyBag::GetWriteStream
printerextension.h
Desktop
Windows 8
Windows Server 2012
Windows
IPrinterScriptablePropertyBag::GetWriteStream
printerextension/IPrinterScriptablePropertyBag::GetWriteStream
APIRef
kbSyntax
COM
Printerextension.h
IPrinterScriptablePropertyBag::GetWriteStream

-description

Gets a stream and uses it to write to a stream property.

-parameters

-param bstrName [in]

The property to write.

-param ppStream [out, retval]

The retrieved stream.

-returns

This method returns an HRESULT value.

-remarks

GetWriteStream does not work with non-stream properties.

A call to GetWriteStream will throw an exception, if the specified property is not found. We recommend that you use a try-catch statement around calls to this method, to allow your app to handle any failures gracefully.

-see-also

IPrinterScriptablePropertyBag

IPrinterScriptableStream