Printer_AddPrinterPropPages

Go to Home Page

Loads property sheet pages for a named printer and any defaults that exist in the registry.

Syntax

void WINAPI Printer_AddPrinterPropPages (
    LPCWSTR printer,
    PROPSHEETHEADER* pPropHeader
)

Parameters

printer
The name of the printer to load property pages for
pPropHeader
Pointer to a PROPSHEETHEADER structure whose phPage member is valid and has space for more entries

Return Value

None

Remarks

CoInitialize(NULL)/CoInitializeEx(NULL, COINIT_APARTMENTTHREADED) must be called prior to using this function.

The default proprerty sheets are registered under HKCR\Printers\shellex\PropertySheetHandlers

This function is also known as _Printer_AddPrinterPropPages@8.