Source code of Windows XP (NT5)
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.

94 lines
2.8 KiB

  1. //==========================================================================;
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. // PURPOSE.
  7. //
  8. // Copyright (c) 1992 - 1998 Microsoft Corporation. All Rights Reserved.
  9. //
  10. //==========================================================================;
  11. #ifndef __MEDIA_H__
  12. #define __MEDIA_H__
  13. #ifdef DEFINE_GUIDEX
  14. #undef DEFINE_GUIDEX
  15. #include <ksguid.h>
  16. #endif
  17. ////////////////////////////////////////////////////////////////////////////////////////////
  18. //
  19. //
  20. //
  21. #define STATIC_IID_IBDA_IPSinkControl\
  22. 0x3F4DC8E2L, 0x4050, 0x11D3, 0x8F, 0x4B, 0x00, 0xC0, 0x4F, 0x79, 0x71, 0xE2
  23. DEFINE_GUIDSTRUCT("3F4DC8E2-4050-11d3-8F4B-00C04F7971E2", IID_IBDA_IPSinkControl);
  24. #define IID_IBDA_IPSinkControl DEFINE_GUIDNAMED(IID_IBDA_IPSinkControl)
  25. #define STATIC_IID_IBDA_IPSinkEvent\
  26. 0x3F4DC8E3L, 0x4050, 0x11D3, 0x8F, 0x4B, 0x00, 0xC0, 0x4F, 0x79, 0x71, 0xE2
  27. DEFINE_GUIDSTRUCT("3F4DC8E3-4050-11d3-8F4B-00C04F7971E2", IID_IBDA_IPSinkEvent);
  28. #define IID_IBDA_IPSinkEvent DEFINE_GUIDNAMED(IID_IBDA_IPSinkEvent)
  29. ////////////////////////////////////////////////////////////////////////////////////////////
  30. //
  31. //
  32. //
  33. #define STATIC_IID_IBDA_BDANetInterface\
  34. 0x9AA4A2CCL, 0x81E0, 0x4CFD, 0x80, 0x2F, 0x0F, 0x74, 0x52, 0x6D, 0x2B, 0xD3
  35. DEFINE_GUIDSTRUCT("9AA4A2CC-81E0-4CFD-802F-0F74526D2BD3", IID_IBDA_BDANetInterface);
  36. #define IID_IBDA_BDANetInterface DEFINE_GUIDNAMED(IID_IBDA_BDANetInterface)
  37. typedef enum
  38. {
  39. KSPROPERTY_IPSINK_MULTICASTLIST,
  40. KSPROPERTY_IPSINK_ADAPTER_DESCRIPTION,
  41. KSPROPERTY_IPSINK_ADAPTER_ADDRESS
  42. } KSPROPERTY_IPSINK;
  43. ////////////////////////////////////////////////////////////////////////
  44. //
  45. //
  46. //
  47. typedef enum
  48. {
  49. KSEVENT_IPSINK_MULTICASTLIST,
  50. KSEVENT_IPSINK_ADAPTER_DESCRIPTION,
  51. KSEVENT_IPSINK_SHUTDOWN
  52. } KSEVENT_IPSINK;
  53. /////////////////////////////////////////////////////////////
  54. //
  55. // PINNAME CATEGORY GUID
  56. //
  57. #define STATIC_PINNAME_IPSINK \
  58. 0x3fdffa70L, 0xac9a, 0x11d2, 0x8f, 0x17, 0x00, 0xc0, 0x4f, 0x79, 0x71, 0xe2
  59. DEFINE_GUIDSTRUCT("3fdffa70-ac9a-11d2-8f17-00c04f7971e2", PINNAME_IPSINK);
  60. #define PINNAME_IPSINK DEFINE_GUIDNAMED(PINNAME_IPSINK)
  61. #define STATIC_PINNAME_BDA_NET_CONTROL \
  62. 0xfb61415dL, 0x434b, 0x4cef, 0xac, 0xf4, 0x88, 0x66, 0xde, 0xdb, 0xec, 0x68
  63. DEFINE_GUIDSTRUCT("FB61415D-434B-4cef-ACF4-8866DEDBEC68", PINNAME_BDA_NET_CONTROL);
  64. #define PINNAME_BDA_NET_CONTROL DEFINE_GUIDNAMED(PINNAME_BDA_NET_CONTROL)
  65. /////////////////////////////////////////////////////////////
  66. //
  67. // IPSnk Data Format structure
  68. //
  69. typedef struct tagKS_DATAFORMAT_IPSINK_IP
  70. {
  71. KSDATAFORMAT DataFormat;
  72. } KS_DATAFORMAT_IPSINK_IP, *PKS_DATAFORMAT_IPSINK_IP;
  73. #endif // __MEDIA_H__