Desktop Functions: Smart Device Functions:
|
GetPrintProcessorDirectory (winspool)
Summary: Gets the directory of the current PrinterProcessor. C# Signature:
[DllImport("winspool.drv")] 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")] [DllImport("winspool.drv")] static extern bool GetPrintProcessorDirectory(StringBuilder pName,
StringBuilder pEnv, StringBuilder str = new StringBuilder(); int length = 0; GetPrintProcessorDirectory(null, null, 1, str, 1024, ref length ); // length contains the path length // str contains the path Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|