## Presentation Device Driver Reference for OS/2

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

### OS2_PM_DRV_DEVMODE Return Value - rc

rc (ULONG) - returns Return codes.

The handling routine in the presentation driver returns a LONG integer. Valid values are:

DPDM_ERROR Error.

DPDM_NONE There are no settable options.

>0 The number of bytes for the required DRIVDATA structure when the input pointer pDriverData is equal to NULL.

DEV_OK The data block pointed to by the input parameter pDriverData was initialized when the pDriverData input pointer is not equal to NULL.