Go to the source code of this file.
◆ FilterProcess()
Definition at line 13 of file filter.c.
16{
18 PKSPROCESSPIN CurPin,
Pin;
20
21 if (ProcessPinsIndex->Count)
22 {
23
25 {
26
27 CurPin = ProcessPinsIndex->Pins[
Index];
28
29 if (CurPin->BytesAvailable && CurPin->Pin->DeviceState ==
KSSTATE_RUN)
30 {
31
32
33
35 }
36 }
37 }
38
39 if (!PendingFrames && ProcessPinsIndex->Count)
40 {
41
42 Pin = ProcessPinsIndex->Pins[0];
43
44
45 if (
Pin->BytesAvailable)
46 {
48 {
49
50 CurPin = ProcessPinsIndex->Pins[
Index];
51
52
54 CurPin->BytesUsed =
Pin->BytesAvailable;
55 }
56 }
57 }
58
60}
IN PDCB IN VBO IN ULONG IN BOOLEAN Pin
#define RtlMoveMemory(Destination, Source, Length)
_In_ WDFCOLLECTION _In_ ULONG Index