Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "EnumPrinterDrivers" in [All]

winspool

.
Summary
The EnumPrinterDrivers function enumerates the printer drivers installed on a specified printer server
.

    static extern bool EnumPrinterDrivers(String pName, String pEnvironment, uint level, IntPtr pDriverInfo, uint cdBuf, ref uint pcbNeeded, ref uint pcRetruned);

.

Declare Function EnumPrinterDrivers Lib "winspool.dll" (TODO) As TODO

.

        'call EnumPrinterDrivers with cbBuffer set

.

        if (EnumPrinterDrivers(null, null, 2, IntPtr.Zero, 0, ref cbNeeded, ref cReturned))

.

        if (EnumPrinterDrivers(null, null, 2, pAddr, cbNeeded, ref cbNeeded, ref cReturned))

.
Documentation
[EnumPrinterDrivers] on MSDN

 
Access PInvoke.net directly from VS: