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.
DOC_INFO (Structures)
.
C# Definition:
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
struct DOC_INFO_1W {
[MarshalAs(UnmanagedType.LPWStr)]
public string pDocName;
[MarshalAs(UnmanagedType.LPWStr)]
public string pOutputFile;
[MarshalAs(UnmanagedType.LPWStr)]
public string pDataType;
}
VB.NET Definition:
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
Structure DOC_INFO_1W
<MarshalAs(UnmanagedType.LPWStr)> Public pDocName As String
<MarshalAs(UnmanagedType.LPWStr)> Public pOutputFile As String
<MarshalAs(UnmanagedType.LPWStr)> Public pDataType As String
End Structure!!!!User-Defined Field Types:
/// <summary>
/// Specifies the size, in bytes, of the structure
/// Once the struct is initialsed use "cbSize = Marshal.SizeOf("the_structure_name") to set the value for cbSize correctly"
/// </summary>
public int cbSize = 0;
/// <summary>Pointer to a null-terminated string that specifies the name of the document</summary>
[MarshalAs(UnmanagedType.LPStr)]
public string pDocName = null;
///<summary>output file name (or NULL for a printer)</summary>
[MarshalAs(UnmanagedType.LPStr)]
public string pOutputFile = null;
/// <summary>Pointer to a null-terminated string that specifies the type of data used to record the print job.Can be null</summary>
[MarshalAs(UnmanagedType.LPStr)]
public string pDataType = null;
/// <summary>
/// Specifies additional information about the print job. This member must be zero or a set value
/// </summary>
public Int32 fwType = 0;
}
Notes:
Different from the Ansi invoke! (Unicode uses LPStr)