Return Code
Return Code | Value | Meaning |
---|---|---|
PCS_SUCCESSFUL | 0 | Function ended successfully. |
PCS_INVALID_ID | 1 | Incorrect session ID was specified. |
PCS_INVALID_SESS_TYPE | 2 | Not supported for the host session type. |
PCS_DIALOG_IN_USE | 3 | Failed because the host session Page Setup or Printer Setup dialog was in use. |
PCS_PRINTING | 4 | Page settings cannot be obtained because host session was printing. |
PCS_PDT_MODE | 5 | Page settings cannot be obtained because host session is in PDT mode. |
PCS_SYSTEM_ERROR | 9 | A system error occurred. |