@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Gets the directory of the current PrinterProcessor. !!!!C# Signature: [DllImport("winspool.drv")] static extern bool GetPrintProcessorDirectory(StringBuilder pName, StringBuilder pEnv, int Level, [Out] StringBuilder outPath, int bufferSize, ref int Length); !!!!VB Signature: Declare Function GetPrintProcessorDirectory 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: [DllImport("winspool.drv")] static extern bool GetPrintProcessorDirectory(StringBuilder pName, StringBuilder pEnv, int Level, [Out] StringBuilder outPath, int bufferSize, ref int Bytes); StringBuilder str = new StringBuilder(); int length = 0; GetPrintProcessorDirectory(null, null, 1, str, 1024, ref length ); // length contains the path length // str contains the path Documentation: GetPrintProcessorDirectory@msdn on MSDN
Edit winspool.GetPrint...
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.