// Note: the Pack = 1 aligns the members so that the StructSize can be calcualted properly using Marshal.SizeOf()
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto, Pack = 1)]
[System.Runtime.InteropServices.ComVisible(false)]
public class PRINTDLG
{
public Int32 lStructSize;
public IntPtr hwndOwner;
public IntPtr hDevMode;
public IntPtr hDevNames;
public IntPtr hDC;
public Int32 Flags;
public Int16 nFromPage;
public Int16 nToPage;
public Int16 nMinPage;
public Int16 nMaxPage;
public Int16 nCopies;
public IntPtr hInstance;
public IntPtr lCustData;
public IntPtr lpfnPrintHook;
public IntPtr lpfnSetupHook;
public IntPtr lpPrintTemplateName;
public IntPtr lpSetupTemplateName;
public IntPtr hPrintTemplate;
public IntPtr hSetupTemplate;
}
Structure PRINTDLG
Public TODO
End Structure
None.
None.