SDBitBlt

From EDM2
Jump to: navigation, search

SDBitBlt is a preclipped BitBlt rendering routine. It processes BitBlt operations using all ROPs and common hardware mixes from Source/Pattern linear addresses to a Destination linear address. SDBitBlt is the default when OS2_PM_DRV_ENABLE: QueryDeviceSurface does not hook the pfnBitBlt function directly.

Syntax

SDBitBlt(pInput, pOutput);

Parameters

pInput (PBITBLTINFO) - input 
Pointer to BITBLTINFO data structure.
pOutput (PVOID) - input 
Reserved.

Returns

rc (ULONG) - returns 
Return codes.

Valid values are:

RC_SUCCESS
RC_ERROR

Remarks

Simulation support: This function is simulated by a handling routine in Revision 2.X of the graphics engine.

Example Code

#include <os2.h>

PBITBLTINFO    pInput;   /*  Pointer to BITBLTINFO data structure. */
PVOID          pOutput;  /*  Reserved. */
ULONG          rc;       /*  Return codes. */

rc = SDBitBlt(pInput, pOutput);