@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm 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@msdn on MSDN The above no longer corresponds with the Microsoft definition. which to use? [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; }
Edit Structures.DOCINFOW
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.