21 IN ISubdevice *SubDevice)
25 ULONG FilterNecessary, FilterCurrent, FilterPossible, GlobalCurrent, GlobalPossible;
38 Status = SubDevice->PinCount(
Pin->PinId, &FilterNecessary, &FilterCurrent, &FilterPossible, &GlobalCurrent, &GlobalPossible);
74 IN ISubdevice *SubDevice)
78 ULONG FilterNecessary, FilterCurrent, FilterPossible, GlobalCurrent, GlobalPossible;
91 Status = SubDevice->PinCount(
Pin->PinId, &FilterNecessary, &FilterCurrent, &FilterPossible, &GlobalCurrent, &GlobalPossible);
114 IN ISubdevice *SubDevice)
163 if (RequestLength <
sizeof(
KSP_PIN))
166 DPRINT(
"input length too small\n");
172 DPRINT(
"no connection\n");
195 if (DataLength < ConEntry->Connection.Size)
222 IIrpTarget * IrpTarget;
224 ISubdevice *SubDevice;
246 DPRINT(
"Failed to obtain IPort interface from filter\n");
247 Irp->IoStatus.Information = 0;
256 DPRINT(
"Failed to obtain ISubdevice interface from port driver\n");
306 SubDevice->Release();
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
struct PHYSICAL_CONNECTION_ENTRY * PPHYSICAL_CONNECTION_ENTRY
struct SUBDEVICE_DESCRIPTOR * PSUBDEVICE_DESCRIPTOR
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
KSDDKAPI NTSTATUS NTAPI KsPinPropertyHandler(IN PIRP Irp, IN PKSPROPERTY Property, IN OUT PVOID Data, IN ULONG DescriptorsCount, IN const KSPIN_DESCRIPTOR *Descriptor)
#define STATUS_NOT_IMPLEMENTED
#define NT_SUCCESS(StatCode)
KSDDKAPI NTSTATUS NTAPI KsTopologyPropertyHandler(IN PIRP Irp, IN PKSPROPERTY Property, IN OUT PVOID Data, IN const KSTOPOLOGY *Topology)
#define IsListEmpty(ListHead)
IN PDCB IN VBO IN ULONG IN BOOLEAN Pin
NTSYSAPI void WINAPI DbgBreakPoint(void)
struct KSP_PIN * PKSP_PIN
@ KSPROPERTY_PIN_COMMUNICATION
@ KSPROPERTY_PIN_CATEGORY
@ KSPROPERTY_PIN_DATAINTERSECTION
@ KSPROPERTY_PIN_NECESSARYINSTANCES
@ KSPROPERTY_PIN_GLOBALCINSTANCES
@ KSPROPERTY_PIN_CINSTANCES
@ KSPROPERTY_PIN_PROPOSEDATAFORMAT
@ KSPROPERTY_PIN_CONSTRAINEDDATARANGES
@ KSPROPERTY_PIN_DATARANGES
@ KSPROPERTY_PIN_PHYSICALCONNECTION
@ KSPROPERTY_PIN_DATAFLOW
@ KSPROPERTY_PIN_INTERFACES
union KSDATAFORMAT * PKSDATARANGE
struct KSMULTIPLE_ITEM * PKSMULTIPLE_ITEM
__in UCHAR __in POWER_STATE __in_opt PVOID __in PIO_STATUS_BLOCK IoStatus
_In_ ULONG _In_ ULONG _In_ ULONG Length
struct DISPATCH_CONTEXT * PDISPATCH_CONTEXT
NTSTATUS NTAPI PinPropertyHandler(IN PIRP Irp, IN PKSIDENTIFIER Request, IN OUT PVOID Data)
NTSTATUS HandlePhysicalConnection(IN PIO_STATUS_BLOCK IoStatus, IN PKSIDENTIFIER Request, IN ULONG RequestLength, IN OUT PVOID Data, IN ULONG DataLength, IN PSUBDEVICE_DESCRIPTOR Descriptor)
NTSTATUS HandlePropertyInstances(IN PIO_STATUS_BLOCK IoStatus, IN PKSIDENTIFIER Request, IN OUT PVOID Data, IN PSUBDEVICE_DESCRIPTOR Descriptor, IN BOOL Global, IN ISubdevice *SubDevice)
NTSTATUS NTAPI TopologyPropertyHandler(IN PIRP Irp, IN PKSIDENTIFIER Request, IN OUT PVOID Data)
NTSTATUS HandleDataIntersection(IN PIO_STATUS_BLOCK IoStatus, IN PKSIDENTIFIER Request, IN OUT PVOID Data, IN ULONG DataLength, IN PSUBDEVICE_DESCRIPTOR Descriptor, IN ISubdevice *SubDevice)
NTSTATUS HandleNecessaryPropertyInstances(IN PIO_STATUS_BLOCK IoStatus, IN PKSIDENTIFIER Request, IN OUT PVOID Data, IN PSUBDEVICE_DESCRIPTOR Descriptor, IN ISubdevice *SubDevice)
#define STATUS_BUFFER_TOO_SMALL
base of all file and directory entries
WCHAR SymbolicLinkName[1]
KSPIN_PHYSICALCONNECTION Connection
struct _IO_STACK_LOCATION::@1575::@1576 DeviceIoControl
union _IO_STACK_LOCATION::@1575 Parameters
#define RtlMoveMemory(Destination, Source, Length)
#define CONTAINING_RECORD(address, type, field)
#define STATUS_INVALID_PARAMETER
#define STATUS_UNSUCCESSFUL
#define STATUS_MORE_ENTRIES
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ UCHAR _In_ UCHAR _In_ ULONG _In_ WDFCONTEXT _Inout_ PIRP _In_ WDFCONTEXT DispatchContext
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO