PrinterProperties  4GIYQX 

The PrinterProperties function displays a printer-properties dialog box for the specified printer.

BOOL PrinterProperties(

    HWND hWnd,

// handle of parent window

    HANDLE hPrinter

// handle of printer object

   );

 

 

Parameters

hWnd

Identifies the parent window of the dialog box.

hPrinter

Identifies a printer object.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError11C2VS7.

See Also

OpenPrinter