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.

95 lines
1.9 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. );
  55. NTSTATUS RemoveGfx(
  56. PSYSAUDIO_GFX pSysaudioGfx
  57. );
  58. PFILTER_NODE
  59. FindGfx(
  60. PFILTER_NODE pnewFilterNode,
  61. HANDLE hGfx,
  62. PWSTR pwstrDeviceName,
  63. ULONG GfxOrder
  64. );
  65. NTSTATUS
  66. SafeCopyStringFromOffset(
  67. PVOID pBasePointer,
  68. ULONG Offset,
  69. PWSTR *String
  70. );
  71. NTSTATUS
  72. GetFilterTypeFromGuid(
  73. IN LPGUID Guid,
  74. OUT PULONG pFilterType
  75. );
  76. } // extern "C"
  77. //---------------------------------------------------------------------------
  78. // End of File: nodes.h
  79. //---------------------------------------------------------------------------