Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

DOCINFOW (Structures)
 
.
Summary
Unicode version of DOC_INFO structure

C# Definition:

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]

struct DOCINFOW {

    [MarshalAs(UnmanagedType.LPWStr)]
    public string docName;
    [MarshalAs(UnmanagedType.LPWStr)]
    public string outputFile;
    [MarshalAs(UnmanagedType.LPWStr)]
    public string dataType;

}

VB.Net Definition:

  <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
  Structure DOCINFOW
      <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:

None.

Documentation
DOCINFOW on MSDN

The above no longer corresponds with the Microsoft definition. which to use?

This no longer corresponds with the Microsoft definition

    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    struct DOCINFOW {
      public int cbSize;
      [MarshalAs(UnmanagedType.LPWStr)]
      public string docName;
      [MarshalAs(UnmanagedType.LPWStr)]
      public string outputFile;
      [MarshalAs(UnmanagedType.LPWStr)]
      public string dataType;
      public int fwType;
    }

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.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions