Skip to content

Latest commit

 

History

History
66 lines (53 loc) · 1.88 KB

nf-printerextension-iprinterscriptablepropertybag-setint32.md

File metadata and controls

66 lines (53 loc) · 1.88 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.SetInt32
IPrinterScriptablePropertyBag::SetInt32 (printerextension.h)
Learn how this method writes an integer property.
print
08/02/2022
IPrinterScriptablePropertyBag::SetInt32
IPrinterScriptablePropertyBag interface [Print Devices],SetInt32 method, IPrinterScriptablePropertyBag.SetInt32, IPrinterScriptablePropertyBag::SetInt32, SetInt32, SetInt32 method [Print Devices], SetInt32 method [Print Devices],IPrinterScriptablePropertyBag interface, print.iprinterscriptablepropertybag_setint32, printerextension/IPrinterScriptablePropertyBag::SetInt32
printerextension.h
Desktop
Windows 8
Windows Server 2012
Windows
IPrinterScriptablePropertyBag::SetInt32
printerextension/IPrinterScriptablePropertyBag::SetInt32
APIRef
kbSyntax
COM
Printerextension.h
IPrinterScriptablePropertyBag::SetInt32

-description

Writes an integer property.

-parameters

-param bstrName [in]

The property to set.

-param nValue [in]

The new value to set.

-returns

This method returns an HRESULT value.

-remarks

A call to SetInt32 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