DosPrintDestGetInfo

The DosPrintDestGetInfo API retrieves information about a print destination.

At levels 0 and 1, DosPrintDestGetInfo returns print destination names only if they are associated with printer queues. At levels 2 and 3, DosPrintDestGetInfo returns all print destinations.