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
{
public string pServerName;
public string pPrinterName;
public string pShareName;
public string pPortName;
public string pDriverName;
public string pComment;
public string pLocation;
public IntPtr pDevMode;
public string pSepFile;
public string pPrintProcessor;
public string pDatatype;
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;
}
VB Definition:
<StructLayout(LayoutKind.Sequential)> Private Class PRINTER_INFO_2
<MarshalAs(UnmanagedType.LPStr)> Public pServerName As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pPrinterName As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pShareName As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pPortName As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pDriverName As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pComment As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pLocation As String = Nothing
Public pDevMode As IntPtr = IntPtr.Zero
<MarshalAs(UnmanagedType.LPStr)> Public pSepFile As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pPrintProcessor As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pDatatype As String = Nothing
<MarshalAs(UnmanagedType.LPStr)> Public pParameters As String = Nothing
Public pSecurityDescriptor As IntPtr = IntPtr.Zero
Public Attributes As Integer = 0
Public Priority As Integer = 0
Public DefaultPriority As Integer = 0
Public StartTime As Integer = 0
Public UntilTime As Integer = 0
Public Status As Integer = 0
Public cJobs As Integer = 0
Public AveragePPM As Integer = 0
End Class
User-Defined Field Types:
None.
Notes:
None.
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.