Jump to content

SDBitBlt: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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.  
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 ==  
== Syntax ==  
  SDBitBlt(pInput, pOutput);
  SDBitBlt(pInput, pOutput);
 
== Parameters ==
== Parameters ==
; pInput ([[PBITBLTINFO]]) - input : Pointer to [[BITBLTINFO]] data structure.
; pInput ([[PBITBLTINFO]]) - input : Pointer to [[BITBLTINFO]] data structure.
 
; pOutput ([[PVOID]]) - input : Reserved.
; pOutput ([[PVOID]]) - input : Reserved.


== Returns ==
== Returns ==
; rc (ULONG) - returns : Return codes.  
; rc ([[ULONG]]) - returns : Return codes.  
Valid values are:  
Valid values are:
  RC_SUCCESS  
  RC_SUCCESS
  RC_ERROR  
  RC_ERROR


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


== Example Code ==
== Example Code ==
Line 28: Line 26:


rc = SDBitBlt(pInput, pOutput);
rc = SDBitBlt(pInput, pOutput);
</PRE>
</PRE>
== Related Functions ==
* [[]]


[[Category:Gre]]
[[Category:Gre]]

Latest revision as of 16:38, 29 June 2023

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);