Ribbon for WinForms | ComponentOne
C1.Util.Win Namespace / Win32 Class / GetPrinter Method

In This Topic
    GetPrinter Method (Win32)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function GetPrinter( _
       ByVal hPrinter As IntPtr, _
       ByVal level As Integer, _
       ByVal pPrinter As IntPtr, _
       ByVal cbBuf As Integer, _
       ByRef pcbNeeded As Integer _
    ) As Boolean
    public static bool GetPrinter( 
       IntPtr hPrinter,
       int level,
       IntPtr pPrinter,
       int cbBuf,
       ref int pcbNeeded
    )

    Parameters

    hPrinter
    level
    pPrinter
    cbBuf
    pcbNeeded
    See Also