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.

97 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name
  4. dllinit.cxx
  5. Abstract:
  6. Author:
  7. Mark Enstrom (marke) 23-Jun-1996
  8. Enviornment:
  9. User Mode
  10. Revision History:
  11. --*/
  12. #include "precomp.hxx"
  13. #pragma hdrstop
  14. extern "C" {
  15. BOOL
  16. NtGdiTransparentBlt(
  17. HDC hdcDst,
  18. LONG DstX,
  19. LONG DstY,
  20. LONG DstCx,
  21. LONG DstCy,
  22. HDC hdcSrc,
  23. LONG SrcX,
  24. LONG SrcY,
  25. LONG SrcCx,
  26. LONG SrcCy,
  27. COLORREF TranColor
  28. );
  29. }
  30. BOOL
  31. GdxTransparentBlt(
  32. HDC hdcDest,
  33. LONG DstX,
  34. LONG DstY,
  35. LONG DstCx,
  36. LONG DstCy,
  37. HANDLE hSrc,
  38. LONG SrcX,
  39. LONG SrcY,
  40. LONG SrcCx,
  41. LONG SrcCy,
  42. COLORREF TranColor
  43. )
  44. {
  45. BOOL bRet = FALSE;
  46. PDC_ATTR pdca;
  47. FIXUP_HANDLE(hdcDest);
  48. FIXUP_HANDLE(hSrc);
  49. //
  50. // metafile
  51. //
  52. //
  53. // emultation
  54. //
  55. //
  56. // Direct Drawing
  57. //
  58. #if 1
  59. bRet = NtGdiTransparentBlt(hdcDest,
  60. DstX,
  61. DstY,
  62. DstCx,
  63. DstCy,
  64. (HDC)hSrc,
  65. SrcX,
  66. SrcY,
  67. SrcCx,
  68. SrcCy,
  69. TranColor );
  70. #endif
  71. return(bRet);
  72. }