45 0x6994AD04, 0x93EF, 0x11D0, {0xA3, 0xCC, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}
49 0x65E8773EL, 0x8F56, 0x11D0, {0xA3, 0xB9, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}
53 0x65E8773DL, 0x8F56, 0x11D0, {0xA3, 0xB9, 0x00, 0xA0, 0xC9, 0x22, 0x31, 0x96}
64 sizeof(PortFilterWaveRTTopologySet) /
sizeof(KSPROPERTY_ITEM),
65 (
const KSPROPERTY_ITEM*)&PortFilterWaveRTTopologySet,
71 sizeof(PortFilterWaveRTPinSet) /
sizeof(KSPROPERTY_ITEM),
72 (
const KSPROPERTY_ITEM*)&PortFilterWaveRTPinSet,
87CPortWaveRT::AddEventToEventList(
95CPortWaveRT::GenerateEventList(
157 DPRINT(
"IPortWaveRT_fnQueryInterface no interface!!! iface %S\n",
GuidString.Buffer);
169CPortWaveRT::GetDeviceProperty(
179 DPRINT(
"IPortWaveRT_fnNewRegistryKey called w/o initialized\n");
195 IMiniportWaveRT * Miniport;
200 DPRINT(
"IPortWaveRT_Init entered %p\n",
this);
205 DPRINT(
"IPortWaveRT_Init called again\n");
209 Status = UnknownMiniport->QueryInterface(IID_IMiniportWaveRT, (
PVOID*)&Miniport);
212 DPRINT(
"IPortWaveRT_Init called with invalid IMiniport adapter\n");
228 DPRINT(
"IMiniportWaveRT_Init failed with %x\n",
Status);
238 DPRINT(
"failed to get description\n");
262 DPRINT(
"PcCreateSubdeviceDescriptor failed with %x\n",
Status);
287 DPRINT(
"IPortWaveRT successfully initialized\n");
293CPortWaveRT::NewRegistryKey(
306 DPRINT(
"IPortWaveRT_fnNewRegistryKey called w/o initialized\n");
317CPortWaveRT::NewIrpTarget(
318 OUT struct IIrpTarget **OutTarget,
324 IN KSOBJECT_CREATE *CreateObject)
327 IPortFilterWaveRT *
Filter;
329 DPRINT(
"ISubDevice_NewIrpTarget this %p\n",
this);
350 *OutTarget = (IIrpTarget*)
Filter;
357CPortWaveRT::ReleaseChildren()
365CPortWaveRT::GetDescriptor(
378CPortWaveRT::DataRangeIntersection(
386 DPRINT(
"ISubDevice_DataRangeIntersection this %p\n",
this);
398CPortWaveRT::PowerChangeNotify(
411CPortWaveRT::PinCount(
421 m_pPinCount->PinCount(PinId, FilterNecessary, FilterCurrent, FilterPossible, GlobalCurrent, GlobalPossible);
434 IN IPortWaveRT* iface)
437 return This->m_pMiniport;
445 return This->m_pDeviceObject;
IPortWaveRT * PPORTWAVERT
friend PMINIPORTWAVERT GetWaveRTMiniport(IN IPortWaveRT *iface)
PRESOURCELIST m_pResourceList
CPortWaveRT(IUnknown *OuterUnknown)
STDMETHODIMP QueryInterface(REFIID InterfaceId, PVOID *Interface)
PPOWERNOTIFY m_pPowerNotify
friend PDEVICE_OBJECT GetDeviceObjectFromPortWaveRT(PPORTWAVERT iface)
PMINIPORTWAVERT m_pMiniport
PDEVICE_OBJECT m_pDeviceObject
PPCFILTER_DESCRIPTOR m_pDescriptor
IPortFilterWaveRT * m_Filter
PSUBDEVICE_DESCRIPTOR m_SubDeviceDescriptor
NTSTATUS NTAPI NewIUnregisterPhysicalConnection(OUT PUNREGISTERPHYSICALCONNECTION *OutConnection)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define NT_SUCCESS(StatCode)
#define DEFINE_KSPROPERTY_PINPROPOSEDATAFORMAT(PinSet, PropGeneral, PropInstances, PropIntersection)
NTSTATUS NTAPI PcNewRegistryKey(OUT PREGISTRYKEY *OutRegistryKey, IN PUNKNOWN OuterUnknown OPTIONAL, IN ULONG RegistryKeyType, IN ACCESS_MASK DesiredAccess, IN PVOID DeviceObject OPTIONAL, IN PVOID SubDevice OPTIONAL, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN ULONG CreateOptions OPTIONAL, OUT PULONG Disposition OPTIONAL)
NTSTATUS NewIDrmPort(OUT PDRMPORT2 *OutPort)
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
NTSTATUS NewPortFilterWaveRT(OUT IPortFilterWaveRT **OutFilter)
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
NTSYSAPI NTSTATUS WINAPI RtlStringFromGUID(REFGUID, PUNICODE_STRING)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
#define DEFINE_KSPROPERTY_TOPOLOGYSET(TopologySet, Handler)
struct _KSEVENT_ENTRY * PKSEVENT_ENTRY
#define KSPROPSETID_Topology
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES _Reserved_ ULONG _In_opt_ PUNICODE_STRING _In_ ULONG _Out_opt_ PULONG Disposition
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
NTSTATUS NTAPI IoGetDeviceProperty(IN PDEVICE_OBJECT DeviceObject, IN DEVICE_REGISTRY_PROPERTY DeviceProperty, IN ULONG BufferLength, OUT PVOID PropertyBuffer, OUT PULONG ResultLength)
PMINIPORTWAVERT GetWaveRTMiniport(IN IPortWaveRT *iface)
NTSTATUS NewPortWaveRT(OUT PPORT *OutPort)
static GUID InterfaceGuids[3]
PDEVICE_OBJECT GetDeviceObjectFromPortWaveRT(PPORTWAVERT iface)
KSPROPERTY_SET WaveRTPropertySet[]
IRegistryKey * PREGISTRYKEY
IMiniportWaveRT * PMINIPORTWAVERT
IResourceList * PRESOURCELIST
IPortEvents * PPORTEVENTS
IUnregisterSubdevice * PUNREGISTERSUBDEVICE
IPortClsVersion * PPORTCLSVERSION
IUnregisterPhysicalConnection * PUNREGISTERPHYSICALCONNECTION
IPowerNotify * PPOWERNOTIFY
NTSTATUS NTAPI PinPropertyHandler(IN PIRP Irp, IN PKSIDENTIFIER Request, IN OUT PVOID Data)
NTSTATUS NTAPI NewIUnregisterSubdevice(OUT PUNREGISTERSUBDEVICE *OutDevice)
NTSTATUS NTAPI PcCreateSubdeviceDescriptor(OUT SUBDEVICE_DESCRIPTOR **OutSubdeviceDescriptor, IN ULONG InterfaceCount, IN GUID *InterfaceGuids, IN ULONG IdentifierCount, IN KSIDENTIFIER *Identifier, IN ULONG FilterPropertiesCount, IN KSPROPERTY_SET *FilterProperties, IN ULONG Unknown1, IN ULONG Unknown2, IN ULONG PinPropertiesCount, IN KSPROPERTY_SET *PinProperties, IN ULONG EventSetCount, IN KSEVENT_SET *EventSet, IN PPCFILTER_DESCRIPTOR FilterDescription)
#define PC_ASSERT_IRQL_EQUAL(x)
NTSTATUS NewPortClsVersion(OUT PPORTCLSVERSION *OutVersion)
NTSTATUS NTAPI TopologyPropertyHandler(IN PIRP Irp, IN PKSIDENTIFIER Request, IN OUT PVOID Data)
PULONG MinorVersion OPTIONAL
_In_ const GUID _In_ ULONG PinCount
#define STATUS_INVALID_PARAMETER
#define STATUS_UNSUCCESSFUL
#define STATUS_INSUFFICIENT_RESOURCES
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
_In_ WDFREQUEST _In_ size_t OutputBufferLength
_Must_inspect_result_ _In_opt_ WDFKEY _In_ PCUNICODE_STRING _In_ ACCESS_MASK _In_ ULONG CreateOptions
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
#define IsEqualGUIDAligned(guid1, guid2)