TreeView for WinForms | ComponentOne
C1.Util.Win Namespace / Win32 Class / EnumPrinters Method

In This Topic
    EnumPrinters Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function EnumPrinters( _
       ByVal flags As Integer, _
       ByVal name As String, _
       ByVal level As Integer, _
       ByVal pPrinterEnum As IntPtr, _
       ByVal cbBuf As Integer, _
       ByRef pcbNeeded As Integer, _
       ByRef pcReturned As Integer _
    ) As Boolean
    public static bool EnumPrinters( 
       int flags,
       string name,
       int level,
       IntPtr pPrinterEnum,
       int cbBuf,
       out int pcbNeeded,
       out int pcReturned
    )

    Parameters

    flags
    name
    level
    pPrinterEnum
    cbBuf
    pcbNeeded
    pcReturned
    See Also