## Presentation Device Driver Reference for OS/2

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

### GreEscape DEVESC_SWITCHBANK - Parameters

hdc (HDC) - input Device context handle.

lCode (LONG) - input DEVESC_SWITCHBANK escape code.

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

pbInData (PBYTE) - input Pointer to a SWITCHBANK structure containing:

ulBankNum Specifies the aperture bank to be made active: zero (0) for the first bank, one (1) for the second, and so on.

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

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

rc (LONG) - returns Return Code.

The handling routine returns:

DEV_OK Successful
DEVESC_NOTIMPLEMENTED Escape not implemented for specified code
DEVESC_ERROR Error