## Presentation Device Driver Reference for OS/2

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

### GreEscape DEVESC_DRAFTMODE - Parameters

hdc (HDC) - input Device context handle.

lEscape (LONG) - input DEVESC_DRAFTMODE escape code.

cInCount (LONG) - input Number of bytes pointed to by pInData.

This parameter should be set to 2.

pInData (PBYTE) - input Short integer value specifying the mode.

1 for draft mode ON, 0 for OFF.

pcOutCount (PLONG) - input The handling routine ignores this parameter.

pOutData (PLONG) - input The handling routine ignores this parameter.

pInstance (PVOID) - input Pointer to instance data.

lFunction (ULONG) - input High-order WORD=flags; low-order WORD=NGreEscape.

rc (LONG) - returns Return codes.

The handling routine returns:

DEV_OK Successful
DEVESC_NOTIMPLEMENTED Escape not implemented for specified code
DEVESC_ERROR Error