The EnumPrinterDrivers function enumerates all of the printer drivers installed on the specified printer server.
BOOL EnumPrinterDrivers(
LPTSTR pName, |
// pointer to server name |
LPTSTR pEnvironment, |
// pointer to environment name |
DWORD Level, |
// structure level |
LPBYTE pDriverInfo, |
// pointer to an array of structures |
DWORD cbBuf, |
// size, in bytes, of array |
LPDWORD pcbNeeded, |
// pointer to number of bytes copied (or required) |
LPDWORD pcReturned |
// pointer to number of DRIVER_INFO. structures |
); |
If pName is NULL, the function enumerates the local machine’s printer
drivers.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
AddPrinterDriver, DRIVER_INFO_1, DRIVER_INFO_2, DRIVER_INFO_3, GetPrinterDriver
file: /Techref/os/win/api/win32/func/src/f21_3.htm, 5KB, , updated: 2000/4/7 11:19, local time: 2024/12/2 12:38,
3.142.212.119:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/Techref/os/win/api/win32/func/src/f21_3.htm"> EnumPrinterDrivers</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.