| 101 | } |
| 102 | |
| 103 | bool CDShowHelper::PinMatches(IPin *pin, const GUID &type, const GUID &category, |
| 104 | PIN_DIRECTION &dir) |
| 105 | { |
| 106 | if (!PinHasMajorType(pin, type)) |
| 107 | return false; |
| 108 | if (!PinIsDirection(pin, dir)) |
| 109 | return false; |
| 110 | if (!PinIsCategory(pin, category)) |
| 111 | return false; |
| 112 | |
| 113 | return true; |
| 114 | } |
| 115 | |
| 116 | BOOL CDShowHelper::GetFilterPin(IBaseFilter *filter, const GUID &type, const GUID &category, |
| 117 | PIN_DIRECTION dir, IPin **pin) |
nothing calls this directly
no outgoing calls
no test coverage detected