IPrinterPropertyBag interface

Provides strongly-typed get and set methods.

Note that the driver property bag uses the following GUID for its property store format ID:

DEFINE_GUID(FMTID_PrinterPropertyBag, 0x75f9adca, 0x097d, 0x45c3, 0xa6, 0xe4, 0xba, 0xb2, 0x9e, 0x27, 0x6f, 0x3e);

The IPrinterPropertyBag interface is used by all the printer property bags, including driver property bag, user property bag, queue property bag, and DEVMODE property bag.

Members

The IPrinterPropertyBag interface inherits from the IDispatch interface. IPrinterPropertyBag also has these types of members:

Methods

The IPrinterPropertyBag interface has these methods.

MethodDescription
GetBool

Reads a specified boolean property.

GetBytes

Reads a byte array property.

GetInt32

Reads an integer property.

GetReadStream

Gets a stream in order to read from a stream property.

GetString

Reads a string property.

GetWriteStream

Gets a stream in order to write a stream property.

SetBool

Writes a specified boolean property value.

SetBytes

Writes a byte array property.

SetInt32

Writes an integer property.

SetString

Writes a string property.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Printerextension.h

See also

IPrinterExtensionContext::DriverProperties
IPrinterExtensionContext::UserProperties
IPrinterQueue::GetProperties
IPrinterScriptablePropertyBag
V4 Printer Driver Property Bags

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft