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.

97 lines
2.0 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Module: notify.h
  4. //
  5. // Description:
  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. // Local prototypes
  27. //---------------------------------------------------------------------------
  28. extern "C" {
  29. NTSTATUS
  30. RegisterForPlugPlayNotifications(
  31. );
  32. VOID
  33. UnregisterForPlugPlayNotifications(
  34. );
  35. VOID
  36. DecrementAddRemoveCount(
  37. );
  38. NTSTATUS
  39. AudioDeviceInterfaceNotification(
  40. IN PDEVICE_INTERFACE_CHANGE_NOTIFICATION pNotification,
  41. IN PVOID Context
  42. );
  43. NTSTATUS
  44. AddFilter(
  45. PWSTR pwstrDeviceInterface,
  46. PFILTER_NODE *ppFilterNode
  47. );
  48. NTSTATUS
  49. DeleteFilter(
  50. PWSTR pwstrDeviceInterface
  51. );
  52. NTSTATUS AddGfx(
  53. PSYSAUDIO_GFX pSysaudioGfx,
  54. ULONG cbMaxLength
  55. );
  56. NTSTATUS RemoveGfx(
  57. PSYSAUDIO_GFX pSysaudioGfx,
  58. ULONG cbMaxLength
  59. );
  60. PFILTER_NODE
  61. FindGfx(
  62. PFILTER_NODE pnewFilterNode,
  63. HANDLE hGfx,
  64. PWSTR pwstrDeviceName,
  65. ULONG GfxOrder
  66. );
  67. NTSTATUS
  68. SafeCopyDeviceName(
  69. PWSTR pwstrDeviceName,
  70. ULONG cbMaxLength,
  71. PWSTR *String
  72. );
  73. NTSTATUS
  74. GetFilterTypeFromGuid(
  75. IN LPGUID Guid,
  76. OUT PULONG pFilterType
  77. );
  78. } // extern "C"
  79. //---------------------------------------------------------------------------
  80. // End of File: nodes.h
  81. //---------------------------------------------------------------------------