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.

82 lines
2.4 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file generates the header for the attribute adders.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. // WARNING WARNING WARNING
  8. // This h file generated from a mh file.
  9. // EDIT THE MH FILE.
  10. // I warned you.
  11. // WARNING WARNING WARNING
  12. //
  13. //-----------------------------------------------------------------------------
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. include(`m4hdr.mh')dnl
  18. define(`d_DeclAddAttrs',
  19. `void FASTCALL $1(PATTRSET pAttr, PATTRSET pDelta, PSETUPCTX pStpCtx);
  20. ')dnl
  21. define(`d_DeclAddScaledAttrs',
  22. `void FASTCALL $1(PATTRSET pAttr, PATTRSET pDelta,
  23. PSETUPCTX pStpCtx, int iScale);
  24. ')dnl
  25. define(`d_DeclFillSpanAttrs',
  26. `void FASTCALL $1(PATTRSET pAttr, PD3DI_RASTSPAN pSpan,
  27. PSETUPCTX pStpCtx, INT cPix);
  28. ')dnl
  29. define(`d_DeclFloatAttrsToFixed',
  30. `void FASTCALL $1(PATTRSET pfAttr, PATTRSET piAttr, PSETUPCTX pStpCtx);
  31. ')dnl
  32. dnl
  33. define(`d_AddAttrsHdr',
  34. `d_DeclAddAttrs(AddFloatAttrs_$1)dnl
  35. #ifdef STEP_FIXED
  36. d_DeclAddAttrs(AddFixedAttrs_$1)dnl
  37. #endif
  38. ')dnl
  39. d_RepStr(`d_AddAttrsHdr(AA)', `AA',
  40. `Z_Diff', `Z_Diff_Spec',
  41. `Z_Diff_Tex1', `Z_Diff_Spec_Tex1',
  42. `Z_Tex1_Tex2',
  43. `Z_DIdx', `Z_DIdx_Tex1', `Z_Tex1')dnl
  44. d_DeclAddAttrs(`AddFloatAttrs_Any')dnl
  45. dnl
  46. define(`d_AddScaledAttrsHdr',
  47. `d_DeclAddScaledAttrs(AddScaledFloatAttrs_$1)')dnl
  48. d_RepStr(`d_AddScaledAttrsHdr(AA)', `AA',
  49. `Z_Diff', `Z_Diff_Spec',
  50. `Z_Diff_Tex1', `Z_Diff_Spec_Tex1',
  51. `Z_Tex1_Tex2',
  52. `Z_DIdx', `Z_DIdx_Tex1', `Z_Tex1')dnl
  53. d_DeclAddScaledAttrs(`AddScaledFloatAttrs_Any_Either')dnl
  54. dnl
  55. define(`d_FillSpanAttrsHdr',
  56. `d_DeclFillSpanAttrs(FillSpanFloatAttrs_$1)dnl
  57. #ifdef STEP_FIXED
  58. d_DeclFillSpanAttrs(FillSpanFixedAttrs_$1)dnl
  59. #endif
  60. ')dnl
  61. d_RepStr(`d_FillSpanAttrsHdr(AA)', `AA',
  62. `Z_Diff', `Z_Diff_Spec',
  63. `Z_Diff_Tex1', `Z_Diff_Spec_Tex1',
  64. `Z_Tex1_Tex2',
  65. `Z_DIdx', `Z_DIdx_Tex1', `Z_Tex1')dnl
  66. d_DeclFillSpanAttrs(`FillSpanFloatAttrs_Any_Either')dnl
  67. dnl
  68. define(`d_FloatAttrsToFixedHdr',
  69. `#ifdef STEP_FIXED
  70. d_DeclFloatAttrsToFixed(FloatAttrsToFixed_$1)dnl
  71. #endif
  72. ')dnl
  73. d_RepStr(`d_FloatAttrsToFixedHdr(AA)', `AA',
  74. `Z_Diff', `Z_Diff_Spec',
  75. `Z_Diff_Tex1', `Z_Diff_Spec_Tex1',
  76. `Z_Tex1_Tex2')dnl
  77. #ifdef __cplusplus
  78. }
  79. #endif