EndEnumPrinters -- end the enumeration of Infoprint Server printers

Format

#include <aopapi.h>
int EndEnumPrinters  ( QueryToken   token );

Description

EndEnumPrinters ends an enumeration of Infoprint Server printers. The token argument must be a valid token that is returned by the BeginEnumPrinters function.

Returned value

EndEnumPrinters returns:
  • Zero if the function was successful.
  • A nonzero value if the function was not successful. You can use the ErrorNumber function to obtain an error code, and you can use the ErrorString function to obtain a description of the error.