Skip to content

DEVMODE struct #2204

@serj1980

Description

@serj1980

PTConvertPrintTicketToDevMode and DocumentProperties generate different struct (DEVMODEA vs DEVMODEW).
It will be good to align this.

Here is sample from CSWin32
internal static unsafe winmdroot.Foundation.HRESULT PTConvertPrintTicketToDevMode(SafeHandle hProvider, winmdroot.System.Com.IStream pPrintTicket, winmdroot.Graphics.Printing.PrintTicket.EDefaultDevmodeType baseDevmodeType, winmdroot.Graphics.Printing.PrintTicket.EPrintTicketScope scope, out uint pcbDevmode, out winmdroot.Graphics.Gdi.DEVMODEA* ppDevmode)

internal static unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, SafeHandle hPrinter, winmdroot.Foundation.PWSTR pDeviceName, [Optional] winmdroot.Graphics.Gdi.DEVMODEW? pDevModeInput, uint fMode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions