## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### SplPdEnumPort Return Value - rc

rc (APIERR) - returns Return codes.

This handling routine returns the following errors:

ERROR_INSUFFICIENT_BUFFER
ERROR_MORE_DATA
NO_ERROR

The buffer, on return, consists of an array of the following data structure :

    typedef struct _PORTNAMES {

            PSZ pszPortName;

            PSZ pszPortDesc;

    } PORTNAMES;