## Presentation Device Driver Reference for OS/2

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

### SplQueryPath - Parameters

pszComputerName (PSZ) - input Name of the computer for which a network print object is being created.

This value can be NULL.

pszRemoteQueueName (PSZ) - input Name of the remote queue the network print object is referencing.

This value can be NULL.

ulLevel (ULONG) - input Level of information to return.

This must be 0 (zero).

pBuf (PVOID) - output Receives the path to printer drivers for level 0.

cbBuf (ULONG) - input Length of buffer pointed to by pBuf, in bytes.

pcbNeeded (PULONG) - output Receives length, in bytes, of buffer needed to return path.

rc (ULONG) - returns Return codes.

0 Success

ERROR_NOT_SUPPORTED(50) A path to printer drivers cannot be found.

NERR_BufTooSmall(2123) Must call again with a bigger buffer.