Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
PRINTER_INFO_2 (Structures)
.
C# Definition:
[StructLayout(LayoutKind.Sequential)]
public struct PRINTER_INFO_2
{
[MarshalAs(UnmanagedType.LPTStr)]
public string pServerName;
[MarshalAs(UnmanagedType.LPTStr)]
public string pPrinterName;
[MarshalAs(UnmanagedType.LPTStr)]
public string pShareName;
[MarshalAs(UnmanagedType.LPTStr)]
public string pPortName;
[MarshalAs(UnmanagedType.LPTStr)]
public string pDriverName;
[MarshalAs(UnmanagedType.LPTStr)]
public string pComment;
[MarshalAs(UnmanagedType.LPTStr)]
public string pLocation;
public IntPtr pDevMode;
[MarshalAs(UnmanagedType.LPTStr)]
public string pSepFile;
[MarshalAs(UnmanagedType.LPTStr)]
public string pPrintProcessor;
[MarshalAs(UnmanagedType.LPTStr)]
public string pDatatype;
[MarshalAs(UnmanagedType.LPTStr)]
public string pParameters;
public IntPtr pSecurityDescriptor;
public uint Attributes;
public uint Priority;
public uint DefaultPriority;
public uint StartTime;
public uint UntilTime;
public uint Status;
public uint cJobs;
public uint AveragePPM;
}
<MarshalAs(UnmanagedType.LPStr)> _
Public pServerName As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pPrinterName As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pShareName As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pPortName As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pDriverName As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pComment As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pLocation As String
Public pDevMode As IntPtr
<MarshalAs(UnmanagedType.LPStr)> _
Public pSepFile As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pPrintProcessor As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pDatatype As String
<MarshalAs(UnmanagedType.LPStr)> _
Public pParameters As String
Public pSecurityDescriptor As IntPtr
Public Attributes As Integer
Public Priority As Integer
Public DefaultPriority As Integer
Public StartTime As Integer
Public UntilTime As Integer
Public Status As Integer
Public cJobs As Integer
Public AveragePPM As Integer
End Structure
User-Defined Field Types:
None.
Notes:
Nothing.
Used to enumerate printer-information. See PrinterEnumFlags for the flags. See [PRINTER_INFO_2] for the structure for level 2 info.
2/21/2008 10:30:32 AM - Nick Lowe-62.3.225.7
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.