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.

143 lines
3.1 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Module: property.h
  4. //
  5. // Description: Sysaudio Property Definations
  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. //---------------------------------------------------------------------------
  29. // Classes
  30. //---------------------------------------------------------------------------
  31. //---------------------------------------------------------------------------
  32. // Globals
  33. //---------------------------------------------------------------------------
  34. //---------------------------------------------------------------------------
  35. // Local prototypes
  36. //---------------------------------------------------------------------------
  37. extern "C" {
  38. NTSTATUS
  39. SetPreferredDevice(
  40. IN PIRP pIrp,
  41. IN PSYSAUDIO_PREFERRED_DEVICE pPreferred,
  42. IN PULONG pulDevice
  43. );
  44. NTSTATUS
  45. PropertyReturnString(
  46. IN PIRP pIrp,
  47. IN PWSTR pwstrString,
  48. IN ULONG cbString,
  49. OUT PVOID pData
  50. );
  51. NTSTATUS
  52. GetDeviceCount(
  53. IN PIRP Irp,
  54. IN PKSPROPERTY Request,
  55. IN OUT PVOID Data
  56. );
  57. NTSTATUS
  58. GetComponentIdProperty(
  59. IN PIRP Irp,
  60. IN PKSPROPERTY Request,
  61. IN OUT PVOID Data
  62. );
  63. NTSTATUS
  64. GetFriendlyNameProperty(
  65. IN PIRP Irp,
  66. IN PKSPROPERTY Request,
  67. IN OUT PVOID Data
  68. );
  69. NTSTATUS
  70. GetInstanceDevice(
  71. IN PIRP Irp,
  72. IN PKSPROPERTY Request,
  73. IN OUT PVOID Data
  74. );
  75. NTSTATUS
  76. SetInstanceDevice(
  77. IN PIRP Irp,
  78. IN PKSPROPERTY Request,
  79. IN OUT PVOID Data
  80. );
  81. NTSTATUS
  82. SetDeviceDefault(
  83. IN PIRP Irp,
  84. IN PKSPROPERTY Request,
  85. IN OUT PULONG pData
  86. );
  87. NTSTATUS
  88. SetInstanceInfo(
  89. IN PIRP Irp,
  90. IN PSYSAUDIO_INSTANCE_INFO pInstanceInfo,
  91. IN OUT PVOID Data
  92. );
  93. NTSTATUS
  94. GetDeviceInterfaceName(
  95. IN PIRP Irp,
  96. IN PKSPROPERTY Request,
  97. IN OUT PVOID Data
  98. );
  99. NTSTATUS
  100. SelectGraph(
  101. IN PIRP pIrp,
  102. IN PSYSAUDIO_SELECT_GRAPH pSelectGraph,
  103. IN OUT PVOID pData
  104. );
  105. NTSTATUS
  106. GetTopologyConnectionIndex(
  107. IN PIRP pIrp,
  108. IN PKSPROPERTY pProperty,
  109. OUT PULONG pulIndex
  110. );
  111. NTSTATUS
  112. GetPinVolumeNode(
  113. IN PIRP pIrp,
  114. IN PKSPROPERTY pProperty,
  115. OUT PULONG pulNode
  116. );
  117. NTSTATUS
  118. AddRemoveGfx(
  119. IN PIRP,
  120. IN PKSPROPERTY pProperty,
  121. IN PSYSAUDIO_GFX pSysaudioGfx
  122. );
  123. } // extern "C"