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.

39 lines
1.5 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file generates the headers for primitive functions for RGB.
  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. include(`m4hdr.mh')dnl
  15. void RGB_StoreLastPixelState(LPVOID pCtx, BOOL bStore);
  16. HRESULT RGB_Dp2SetRenderStates(LPVOID pCtx, DWORD dwFvf, LPD3DHAL_DP2COMMAND pCmd, LPDWORD lpdwRuntimeRStates);
  17. HRESULT RGB_Dp2TextureStageState(LPVOID pCtx, DWORD dwFvf, LPD3DHAL_DP2COMMAND pCmd);
  18. HRESULT RGB_Dp2SetViewport(LPVOID pCtx, LPD3DHAL_DP2COMMAND pCmd);
  19. HRESULT RGB_Dp2SetWRange(LPVOID pCtx, LPD3DHAL_DP2COMMAND pCmd);
  20. define(`d_PointFuncHdr', `
  21. HRESULT $1_Point$2(LPVOID pCtx, PUINT8 pVtx);')dnl
  22. define(`d_LineFuncHdr', `
  23. HRESULT $1_Line$2(LPVOID pCtx, PUINT8 pVtx0, PUINT8 pVtx1);')dnl
  24. define(`d_TriFuncHdr', `
  25. HRESULT $1_Tri$2$3(LPVOID pCtx, PUINT8 pVtx0, PUINT8 pVtx1, PUINT8 pVtx2, WORD wFlags);')dnl
  26. d_RepStr(`d_RepStr(`d_PointFuncHdr(AA, BB)',
  27. `AA', `RGB')',
  28. `BB', `Pack', `NoPack')
  29. d_RepStr(`d_RepStr(`d_LineFuncHdr(AA, BB)',
  30. `AA', `RGB')',
  31. `BB', `Pack', `NoPack')
  32. d_RepStr(`d_RepStr(`d_RepStr(`d_TriFuncHdr(AA, BB, CC)',
  33. `AA', `RGB')',
  34. `BB', `Pack', `NoPack')',
  35. `CC', `Point', `Wireframe', `Solid')