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.

85 lines
2.1 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: watchdog.hxx *
  3. * *
  4. * Copyright (c) 1990-2002 Microsoft Corporation *
  5. * *
  6. * The file contains prototypes and defines for watchdog routines used in *
  7. * other portions of GRE. *
  8. * *
  9. * Erick Smith - ericks - *
  10. \**************************************************************************/
  11. typedef struct _DHSURF_ASSOCIATION_NODE
  12. {
  13. struct _DHSURF_ASSOCIATION_NODE *next;
  14. DHSURF dhsurf;
  15. HSURF hsurf;
  16. PLDEV pldev;
  17. } DHSURF_ASSOCIATION_NODE, *PDHSURF_ASSOCIATION_NODE;
  18. typedef struct _DHPDEV_ASSOCIATION_NODE
  19. {
  20. struct _DHPDEV_ASSOCIATION_NODE *next;
  21. DHPDEV dhpdev;
  22. PLDEV pldev;
  23. PFN apfnDriver[INDEX_DD_LAST];
  24. D3DNTHAL_CALLBACKS D3DHALCallbacks;
  25. DD_D3DBUFCALLBACKS D3DBufCallbacks;
  26. } DHPDEV_ASSOCIATION_NODE, *PDHPDEV_ASSOCIATION_NODE;
  27. PDHPDEV_ASSOCIATION_NODE
  28. dhpdevAssociationCreateNode(
  29. VOID
  30. );
  31. PDHSURF_ASSOCIATION_NODE
  32. dhsurfAssociationCreateNode(
  33. VOID
  34. );
  35. VOID
  36. AssociationDeleteNode(
  37. PVOID Node
  38. );
  39. VOID
  40. dhpdevAssociationInsertNode(
  41. PDHPDEV_ASSOCIATION_NODE Node
  42. );
  43. VOID
  44. dhsurfAssociationInsertNode(
  45. PDHSURF_ASSOCIATION_NODE Node
  46. );
  47. PDHPDEV_ASSOCIATION_NODE
  48. dhpdevAssociationRemoveNode(
  49. DHPDEV dhpdev
  50. );
  51. PDHSURF_ASSOCIATION_NODE
  52. dhsurfAssociationRemoveNode(
  53. DHSURF dhsurf
  54. );
  55. BOOL
  56. dhsurfAssociationIsNodeInList(
  57. DHSURF dhsurf,
  58. HSURF hsurf
  59. );
  60. PDHPDEV_ASSOCIATION_NODE
  61. dhpdevRetrieveNode(
  62. DHPDEV dhpdev
  63. );
  64. PLDEV
  65. dhsurfRetrieveLdev(
  66. DHSURF dhsurf
  67. );
  68. BOOL
  69. WatchdogIsFunctionHooked(
  70. IN PLDEV pldev,
  71. IN ULONG functionIndex
  72. );