IPrinterPropertyBag::GetBytes method

Reads a byte array property.

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.

Syntax

HRESULT GetBytes(
  BSTR  bstrName,
  DWORD *pcbValue,
  BYTE  **ppValue
);

Parameters

bstrName

The property to read.

pcbValue

The number of bytes read.

ppValue

Return Value

This method returns an HRESULT value.

Requirements

   
Target Platform Desktop
Header printerextension.h (include Printerextension.h)

See Also

IPrinterPropertyBag