@msdn=http://msdn.microsoft.com/en-us/library/windows/desktop/dd162506(v=vs.85).aspx @pinvoke=http://pinvoke.net/$$$.htm Summary: TODO - a short description !!!!C# Signature: /// <summary> /// structure contains printer driver information /// </summary> [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] public struct DRIVER_INFO_6 { /// <summary> /// The operating system version for which the driver was written. The supported value is 3. /// </summary> public uint cVersion; /// <summary> /// Pointer to a null-terminated string that specifies the name of the driver (for example, QMS 810). /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pName; /// <summary> /// Pointer to a null-terminated string that specifies the environment for which the driver was written (for example, Windows NT x86, Windows IA64, and Windows x64. /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pEnvironment; /// <summary> /// Pointer to a null-terminated string that specifies a file name or a full path and file name for the file that contains the device driver (for example, C:\DRIVERS\Pscript.dll). /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pDriverPath; /// <summary> /// Pointer to a null-terminated string that specifies a file name or a full path and file name for the file that contains driver data (for example, C:\DRIVERS\Qms810.ppd). /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pDataFile; /// <summary> /// Pointer to a null-terminated string that specifies a file name or a full path and file name for the device driver's configuration dynamic-link library (for example, C:\DRIVERS\Pscrptui.dll). /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pConfigFile; /// <summary> /// Pointer to a null-terminated string that specifies a file name or a full path and file name for the device driver's help file (for example, C:\DRIVERS\Pscrptui.hlp). /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pHelpFile; /// <summary> /// A pointer to a MultiSZ buffer that contains a sequence of null-terminated strings. Each null-terminated string in the buffer contains the name of a file the driver depends on. The sequence of strings is terminated by an empty, zero-length string. If pDependentFiles is not NULL and does not contain any file names, it will point to a buffer that contains two empty strings. /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pDependentFiles; /// <summary> /// A pointer to a null-terminated string that specifies a language monitor (for example, "PJL monitor"). This member can be NULL and should be specified only for printers capable of bidirectional communication. /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pMonitorName; /// <summary> /// A pointer to a null-terminated string that specifies the default data type of the print job (for example, "EMF"). /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pDefaultDataType; /// <summary> /// A pointer to a null-terminated string that specifies previous printer driver names that are compatible with this driver. For example, OldName1\0OldName2\0\0. /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pszzPreviousNames; /// <summary> /// The date of the driver package, as coded in the driver files. /// </summary> System.Runtime.InteropServices.ComTypes.FILETIME ftDriverDate; /// <summary> /// Version number of the driver. This comes out of the version structure of the driver. /// </summary> UInt64 dwlDriverVersion; /// <summary> /// Pointer to a null-terminated string that specifies the manufacturer's name. /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pszMfgName; /// <summary> /// Pointer to a null-terminated string that specifies the URL for the manufacturer. /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pszOEMUrl; /// <summary> /// Pointer to a null-terminated string that specifies the hardware ID for the printer driver. /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pszHardwareID; /// <summary> /// Pointer to a null-terminated string that specifies the provider of the printer driver (for example, "Microsoft Windows 2000") /// </summary> [MarshalAs(UnmanagedType.LPTStr)] public string pszProvider; } !!!!VB Signature: Declare Function DRIVER_INFO_6 Lib "winspool.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: DRIVER_INFO_6@msdn on MSDN
Edit winspool.DRIVER_I...
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.