Add comment W32 Constants Translate this page
Enumerates the printer drivers installed on a specified printer server.|
LPTSTR pName, // printer server name
LPTSTR pEnvironment, // environment name
DWORD Level, // information level
LPBYTE pDriverInfo, // driver information buffer
DWORD cbBuf, // size of driver information buffer
LPDWORD pcbNeeded, // bytes received or required
LPDWORD pcReturned // number of drivers received
DECLARE INTEGER EnumPrinterDrivers IN winspool.drv;
STRING @ pDriverInfo,;
INTEGER @ pcbNeeded,;
INTEGER @ pcReturned
[in] Pointer to a null-terminated string that specifies the name of the server on which the printer drivers are enumerated.
[in] Pointer to a null-terminated string that specifies the environment
[in] Specifies the type of information structure returned in the pDriverInfo buffer.
[in] Pointer to a buffer that receives an array of DRIVER_INFO_* structures, as specified by Level.
[in] Specifies the size, in bytes, of the buffer pointed to by pDriverInfo.
[out] Pointer to a variable that receives the number of bytes copied to the pDriverInfo buffer if the function succeeds.
[out] Pointer to a variable that receives the number of structures returned in the pDriverInfo buffer.
|If the function succeeds, the return value is a nonzero value.|
|Not like some other enumerating functions this one does not need a call-back procedure. It returns data in an array.|
|Word Index links for the EnumPrinterDrivers :|
|Translate this page:|
Visited in last 7 days: 23
|Created: ||2001-08-01 12:00:00|
|Modified: ||2001-11-26 16:02:48|