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.

46 lines
1.6 KiB

  1. /*==========================================================================;
  2. *
  3. * Copyright (C) 1996 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: genpick.h
  6. * Content: Generic picking function prototypes
  7. *@@BEGIN_MSINTERNAL
  8. *
  9. * $Id: commdrv.h,v 1.2 1995/12/04 11:30:59 sjl Exp $
  10. *
  11. * History:
  12. * Date By Reason
  13. * ==== == ======
  14. * 17/05/96 v-jonsh Initial rev.
  15. *@@END_MSINTERNAL
  16. *
  17. ***************************************************************************/
  18. #ifndef _GENPICK_H_
  19. #define _GENPICK_H_
  20. #include "commdrv.hpp"
  21. extern int GenPickTriangle(LPDIRECT3DDEVICEI lpDevI,
  22. D3DTLVERTEX* base,
  23. D3DTRIANGLE* tri,
  24. D3DRECT* rect,
  25. D3DVALUE* result);
  26. extern HRESULT GenPickTriangles(LPDIRECT3DDEVICEI lpDevI,
  27. LPDIRECTDRAWSURFACE lpDDExeBuf,
  28. LPBYTE lpData,
  29. D3DINSTRUCTION* ins,
  30. D3DTRIANGLE* tri,
  31. LPD3DRECTV extent,
  32. D3DRECT* pick_region);
  33. extern HRESULT GenAddPickRecord(LPDIRECT3DDEVICEI lpDevI,
  34. D3DOPCODE op,
  35. int offset,
  36. float result);
  37. extern HRESULT GenGetPickRecords(LPDIRECT3DDEVICEI lpDevI,
  38. D3DI_PICKDATA* pdata);
  39. #endif