| Constant | Value | Description |
| cdlAlloc | &H&H7FF0 & | Couldn't allocate memory for FileName or Filter property |
| cdlCancel | &H&H7FF3 & | Cancel was selected |
| cdlDialogFailure | &H&H8000 & | The function failed to load the dialog box |
| cdlFindResFailure | &H&H7FF9 & | The function failed to load a specified resource |
| cdlHelp | &H&H7FEF & | Call to Windows Help failed |
| cdlInitialization | &H&H7FFD & | The function failed during initialization |
| cdlLoadResFailure | &H&H7FF8 & | The function failed to load a specified string |
| cdlLockResFailure | &H&H7FF7 & | The function failed to lock a specified resource |
| cdlMemAllocFailure | &H&H7FF6 & | The function was unable to allocate memory for internal data structures |
| cdlMemLockFailure | &H&H7FF5 & | The function was unable to lock the memory associated with a handle |
| cdlNoFonts | &H&H5FFE & | No fonts exist |
| cdlBufferTooSmall | &H&H4FFC & | The buffer at which the member lpstrFile points is too small |
| cdlInvalidFileName | &H4&H4FFD & | Filename is invalid |
| cdlSubclassFailure | &H&H4FFE & | An attempt to subclass a list box failed due to insufficient memory |
| cdlCreateICFailure | &H&H6FF5 & | The PrintDlg function failed when it attempted to create an information context |
| cdlDndmMismatch | &H&H6FF6 & | Data in the DevMode and DevNames data structures describe two different printers |
| cdlGetDevModeFail | &H&H6FFA & | The printer device driver failed to initialize a DevMode data structure |
| cdlInitFailure | &H&H6FF9 & | The PrintDlg function failed during initialization |
| cdlLoadDrvFailure | &H&H6FFB & | The PrintDlg function failed to load the specified printer's device driver |
| cdlLoadStrFailure | &H7FFA | The function failed to load a specified string. |
| cdlNoDefaultPrn | &H&H6FF7 & | A default printer doesn't exist |
| cdlNoDevices | &H&H6FF8 & | No printer device drivers were found |
| cdlParseFailure | &H&H6FFD & | The CommonDialog function failed to parse the strings in the [devices] section of registry |
| cdlPrinterCodes | &H&H6FFF & | The PDReturnDefault flag was set, but either the hDevMode or hDevNames field was nonzero |
| cdlPrinterNotFound | &H&H6FF4 & | The [devices] section of Win.ini doesn't contain an entry for the requested printer |
| cdlRetDefFailure | &H&H6FFC & | The PDReturnDefault flag was set, but either the hDevMode or hDevNames field was nonzero |
| cdlSetupFailure | &H&H6FFE & | Failed to load required resources |