GetPrinterDriverDir (winspool)
Last changed: anonymous

.
Summary
TODO - a short description

C# Signature:

    [DllImport("winspool.drv")]
    static extern bool GetPrinterDriverDirectory(StringBuilder pName,
                              StringBuilder pEnv,
                              int Level,
                              [Out] StringBuilder outPath,
                              int bufferSize,
                              ref int Bytes);

VB Signature:

Declare Function GetPrinterDriverDir 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:

    private String GetPrinterDriverDir()
    {
        StringBuilder str = new StringBuilder();
        int i = 0;
        GetPrintProcessorDirectory(null, null, 1, str, 1024, ref i);
        return str.ToString();
    }

Documentation