Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

95 lines
1.3 KiB

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name
alpha.cxx
Abstract:
alpha blending functions
Author:
Mark Enstrom (marke) 23-Jun-1996
Enviornment:
User Mode
Revision History:
--*/
#include "precomp.hxx"
#pragma hdrstop
extern "C" {
BOOL
NtGdiAlphaBlt(
HDC,
LONG,
LONG,
LONG,
LONG,
HDC,
LONG,
LONG,
LONG,
LONG,
ULONG);
}
BOOL
GdxAlphaBlt(
HDC hdcDest,
LONG DstX,
LONG DstY,
LONG DstCx,
LONG DstCy,
HANDLE hSrc,
LONG SrcX,
LONG SrcY,
LONG SrcCx,
LONG SrcCy,
ULONG fAlpha
)
{
BOOL bRet = FALSE;
FIXUP_HANDLE(hdcDest);
FIXUP_HANDLE(hSrc);
//
// metafile
//
//
// emultation
//
//
// Direct Drawing
//
#if 1
bRet = NtGdiAlphaBlt(
hdcDest,
DstX,
DstY,
DstCx,
DstCy,
(HDC)hSrc,
SrcX,
SrcY,
SrcCx,
SrcCy,
fAlpha );
#endif
return(bRet);
}