PRINTDLGEXW
struct PRINTDLGEXW
Contains information that the PrintDlgEx function uses to initialize the Print property sheet. After the user
closes the property sheet, the system uses this structure to return information about the user's selections.
using Windows.Win32.Foundation;
using Windows.Win32.Graphics.Gdi;
using Windows.Win32.System.Com;
namespace Windows.Win32.UI.Controls.Dialogs
{
internal struct PRINTDLGEXW
{
public uint lStructSize;
public HWND hwndOwner;
public HGLOBAL hDevMode;
public HGLOBAL hDevNames;
public HDC hDC;
public PRINTDLGEX_FLAGS Flags;
public uint Flags2;
public uint ExclusionFlags;
public uint nPageRanges;
public uint nMaxPageRanges;
public unsafe PRINTPAGERANGE* lpPageRanges;
public uint nMinPage;
public uint nMaxPage;
public uint nCopies;
public HINSTANCE hInstance;
public PCWSTR lpPrintTemplateName;
public unsafe IUnknown* lpCallback;
public uint nPropertyPages;
public unsafe HPROPSHEETPAGE* lphPropertyPages;
public uint nStartPage;
public uint dwResultAction;
}
}