---
name: "PageSetupDlgA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/PageSetupDlgA"
---

# PageSetupDlgA(3w)

## NAME

**PageSetupDlgA** (COMDLG32.@)

## SYNOPSIS

BOOL PageSetupDlgA\
  (\
   LPPAGESETUPDLGA *setupdlg*\
  )

## DESCRIPTION

Displays the **PAGE** SETUP dialog box, which enables the user to specify specific properties of a printed page such as size, source, orientation and the width of the page margins.

## PARAMS

*setupdlg* **\[IO\]**  **PAGESETUPDLGA** struct.

## RETURNS

**TRUE** if the user pressed the **OK** button **FALSE** if the user cancelled the window or an error occurred.

## NOTES

The values of hDevMode and hDevNames are filled on output and can be changed in **PAGESETUPDLG** when they are passed in PageSetupDlg.

## IMPLEMENTATION

Declared in **"commdlg.h"**.

Implemented in **"dlls/comdlg32/printdlg.c"**.

Debug channel **"commdlg"**.
