c# Programming Glossary: devmodedata
How to show printer properties/preferences dialog and save changes? http://stackoverflow.com/questions/2437337/how-to-show-printer-properties-preferences-dialog-and-save-changes this.Handle handle printerName pDevMode pDevMode 0 IntPtr devModeData Marshal.AllocHGlobal sizeNeeded DocumentProperties this.Handle.. DocumentProperties this.Handle handle printerName devModeData pDevMode DM_IN_BUFFER DM_PROMPT DM_OUT_BUFFER ClosePrinter handle.. handle GlobalUnlock hDevMode printerSettings.SetHdevmode devModeData printerSettings.DefaultPageSettings.SetHdevmode devModeData..
|