 |
EnumPrintProcessors ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The EnumPrintProcessors function enumerates the print processors installed on the specified server. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL EnumPrintProcessors(
LPTSTR pName, // print server name
LPTSTR pEnvironment, // environment name
DWORD Level, // information level
LPBYTE pPrintProcessorInfo, // processor data buffer
DWORD cbBuf, // size of data buffer
LPDWORD pcbNeeded, // bytes received or required
LPDWORD pcReturned // number of processors
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER EnumPrintProcessors IN winspool.drv;
STRING pName,;
STRING pEnvir,;
INTEGER Level,;
STRING @ pPrintProcInfo,;
INTEGER cbBuf,;
INTEGER @ pcbNeeded,;
INTEGER @ pcReturned
|
 |
 |
 |
| Parameters: |
 |
pName
[in] Pointer to a null-terminated string that specifies the name of the server on which the print processors reside.
pEnvironment
[in] Pointer to a null-terminated string that specifies the environment.
Level
[in] Specifies the type of information returned in the pPrintProcessorInfo buffer. This parameter must be 1.
pPrintProcessorInfo
[out] Pointer to a buffer that receives an array of PRINTPROCESSOR_INFO_1 structures.
cbBuf
[in] Specifies the size, in bytes, of the buffer pointed to by pPrintProcessorInfo.
pcbNeeded
[out] Pointer to a variable that receives the number of bytes copied to the pPrintProcessorInfo buffer if the function succeeds.
pcReturned
[out] Pointer to a variable that receives the number of structures returned in the pPrintProcessorInfo buffer. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a nonzero value. |
 |
 |
| Word Index links for the EnumPrintProcessors : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-08-15 10:20:43 | | Modified: | 2002-08-15 10:23:12 | Visited in last 7 days: 24 |