## Presentation Device Driver Reference for OS/2

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

### PrtDevIOCtl - Parameters

pData (PVOID) - input A pointer to a data packet.

pParms (PVOID) - input The parameter list.

ulFunction (ULONG) - input The function number.

ulCategory (ULONG) - input The category code.

hDevice (HFILE) - input The device handle returned by PrtOpen.

rc (ULONG) - returns Return codes.

This function returns the same codes as DosDevIOCtl:

ERROR_BAD_DRIVER_LEVEL
ERROR_GEN_FAILURE
ERROR_INVALID_CATEGORY
ERROR_INVALID_DRIVE
ERROR_INVALID_FUNCTION
ERROR_INVALID_HANDLE
ERROR_INVALID_PARAMETER
ERROR_MONITORS_NOT_SUPPORTED
ERROR_PROTECTION_VIOLATION
ERROR_UNCERTAIN_MEDIA
NO_ERROR