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.

79 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name
  4. trimesh.cxx
  5. Abstract:
  6. Implement triangle mesh API
  7. Author:
  8. Mark Enstrom (marke) 23-Jun-1996
  9. Enviornment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #include "precomp.hxx"
  14. #pragma hdrstop
  15. extern "C" {
  16. BOOL
  17. NtGdiTriangleMesh(
  18. HDC hdc,
  19. PVERTEX pVertex,
  20. ULONG nVertex,
  21. PULONG pMesh,
  22. ULONG nCount
  23. );
  24. }
  25. BOOL
  26. TriangleMesh(
  27. HDC hdc,
  28. PVERTEX pVertex,
  29. ULONG nVertex,
  30. PULONG pMesh,
  31. ULONG nCount
  32. )
  33. {
  34. BOOL bRet = FALSE;
  35. FIXUP_HANDLE(hdc);
  36. //
  37. // metafile
  38. //
  39. //
  40. // emultation
  41. //
  42. //
  43. // Direct Drawing
  44. //
  45. #if 1
  46. bRet = NtGdiTriangleMesh(hdc,
  47. pVertex,
  48. nVertex,
  49. pMesh,
  50. nCount);
  51. #endif
  52. return(bRet);
  53. }