Leaked source code of windows server 2003
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.
 
 
 
 
 
 

41 lines
1.1 KiB

//==========================================================================;
//
// 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) 1992 - 1996 Microsoft Corporation. All Rights Reserved.
//
//==========================================================================;
#ifdef __cplusplus
extern "C" {
#endif
#include "strmini.h"
#include "ksmedia.h"
#ifdef __cplusplus
}
#endif
#include "capmain.h"
#include "capdebug.h"
#include "device.h"
#include "xbar.h"
BOOL CrossBar::TestRoute(ULONG InPin, ULONG OutPin)
{
if ((InputPins [InPin].PinType == KS_PhysConn_Video_Tuner ||
InputPins [InPin].PinType == KS_PhysConn_Video_Composite ||
InputPins [InPin].PinType == KS_PhysConn_Video_SVideo) &&
(OutputPins [OutPin].PinType == KS_PhysConn_Video_VideoDecoder)) {
return TRUE;
}
else
return FALSE;
}