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
97 lines
2.0 KiB
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// Module: notify.h
|
|
//
|
|
// Description:
|
|
//
|
|
//
|
|
//@@BEGIN_MSINTERNAL
|
|
// Development Team:
|
|
// Mike McLaughlin
|
|
//
|
|
// History: Date Author Comment
|
|
//
|
|
//@@END_MSINTERNAL
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
|
|
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
|
|
// PURPOSE.
|
|
//
|
|
// Copyright (c) 1996-1999 Microsoft Corporation. All Rights Reserved.
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
//---------------------------------------------------------------------------
|
|
// Local prototypes
|
|
//---------------------------------------------------------------------------
|
|
|
|
extern "C" {
|
|
|
|
NTSTATUS
|
|
RegisterForPlugPlayNotifications(
|
|
);
|
|
|
|
VOID
|
|
UnregisterForPlugPlayNotifications(
|
|
);
|
|
|
|
VOID
|
|
DecrementAddRemoveCount(
|
|
);
|
|
|
|
NTSTATUS
|
|
AudioDeviceInterfaceNotification(
|
|
IN PDEVICE_INTERFACE_CHANGE_NOTIFICATION pNotification,
|
|
IN PVOID Context
|
|
);
|
|
|
|
NTSTATUS
|
|
AddFilter(
|
|
PWSTR pwstrDeviceInterface,
|
|
PFILTER_NODE *ppFilterNode
|
|
);
|
|
|
|
NTSTATUS
|
|
DeleteFilter(
|
|
PWSTR pwstrDeviceInterface
|
|
);
|
|
|
|
NTSTATUS AddGfx(
|
|
PSYSAUDIO_GFX pSysaudioGfx,
|
|
ULONG cbMaxLength
|
|
);
|
|
|
|
NTSTATUS RemoveGfx(
|
|
PSYSAUDIO_GFX pSysaudioGfx,
|
|
ULONG cbMaxLength
|
|
);
|
|
|
|
PFILTER_NODE
|
|
FindGfx(
|
|
PFILTER_NODE pnewFilterNode,
|
|
HANDLE hGfx,
|
|
PWSTR pwstrDeviceName,
|
|
ULONG GfxOrder
|
|
);
|
|
|
|
NTSTATUS
|
|
SafeCopyDeviceName(
|
|
PWSTR pwstrDeviceName,
|
|
ULONG cbMaxLength,
|
|
PWSTR *String
|
|
);
|
|
|
|
NTSTATUS
|
|
GetFilterTypeFromGuid(
|
|
IN LPGUID Guid,
|
|
OUT PULONG pFilterType
|
|
);
|
|
|
|
} // extern "C"
|
|
|
|
//---------------------------------------------------------------------------
|
|
// End of File: nodes.h
|
|
//---------------------------------------------------------------------------
|