Summary:
Gets the directory of the current PrinterProcessor.
[DllImport("winspool.drv")]
static extern bool GetPrintProcessorDirectory(StringBuilder pName, StringBuilder pEnv, int Level, Out StringBuilder outPath, int bufferSize, ref int Bytes);
[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
[/code]
Declare Function GetPrintProcessorDirectory Lib "winspool.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!