DOC_INFO_1 (Structures)
Last changed: -62.227.250.230

.
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

This is the ANSI Version of DOC_INFO_1

  <StructLayout(LayoutKind.Sequential)> _
  Private Structure DOC_INFO_1
      <MarshalAs(UnmanagedType.LPStr)> Public pDocName As String
      <MarshalAs(UnmanagedType.LPStr)> Public pOutputFile As String
      <MarshalAs(UnmanagedType.LPStr)> Public pDatatype As String
  End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
DOC_INFO_1W on MSDN