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.

67 lines
2.1 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Module: vnd.h
  4. //
  5. // Description: Virtual Node Data Class
  6. //
  7. //
  8. //@@BEGIN_MSINTERNAL
  9. // Development Team:
  10. // Mike McLaughlin
  11. //
  12. // History: Date Author Comment
  13. //
  14. //@@END_MSINTERNAL
  15. //---------------------------------------------------------------------------
  16. //
  17. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  18. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  19. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  20. // PURPOSE.
  21. //
  22. // Copyright (c) 1996-1999 Microsoft Corporation. All Rights Reserved.
  23. //
  24. //---------------------------------------------------------------------------
  25. //---------------------------------------------------------------------------
  26. // Constants and Macros
  27. //---------------------------------------------------------------------------
  28. #define MAX_NUM_CHANNELS 24
  29. //---------------------------------------------------------------------------
  30. // Classes
  31. //---------------------------------------------------------------------------
  32. typedef class CVirtualNodeData : public CListDoubleItem
  33. {
  34. public:
  35. CVirtualNodeData(
  36. PSTART_NODE_INSTANCE pStartNodeInstance,
  37. PVIRTUAL_SOURCE_DATA pVirtualSourceData
  38. );
  39. ~CVirtualNodeData();
  40. ENUMFUNC Destroy()
  41. {
  42. Assert(this);
  43. delete this;
  44. return(STATUS_CONTINUE);
  45. };
  46. PVIRTUAL_SOURCE_DATA pVirtualSourceData;
  47. PSTART_NODE_INSTANCE pStartNodeInstance;
  48. PFILE_OBJECT pFileObject;
  49. ULONG NodeId;
  50. LONG MinimumValue; // Range to convert to
  51. LONG MaximumValue; //
  52. LONG Steps; //
  53. LONG lLevel[MAX_NUM_CHANNELS]; // Local volume
  54. DefineSignature(0x20444e56); // VND
  55. } VIRTUAL_NODE_DATA, *PVIRTUAL_NODE_DATA;
  56. //---------------------------------------------------------------------------
  57. typedef ListDoubleDestroy<VIRTUAL_NODE_DATA> LIST_VIRTUAL_NODE_DATA;
  58. //---------------------------------------------------------------------------