Reference

The following section of this section describes the functions listed in the preceding table. The descriptions are presented in alphabetical order by the name of the function or data structure.

All the port monitor functions return FALSE if the operation is unsuccessful. There are cases where the caller of a port monitor should call the Win32 API SetLastError before calling the port monitor function. This will enable the local spooler process to use the Win32 API GetLastError to get information about the cause of the failure and, for example, prompt the user.