DOC_INFO (Structures)
Last changed: -142.217.113.212

.
Summary
Unicode version of DOC_INFO structure

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:

None.

Notes:

Different from the Ansi invoke! (Unicode uses LPStr)

Documentation
DOC_INFO_1W on MSDN