miscfuncs.h

来自「完整的基于Conxant平台的USB电视棒的WIN驱动程序。」· C头文件 代码 · 共 39 行

H
39
字号
/*+++ *******************************************************************\ 
* 
*  Copyright and Disclaimer: 
*  
*     --------------------------------------------------------------- 
*     This software is provided "AS IS" without warranty of any kind, 
*     either expressed or implied, including but not limited to the 
*     implied warranties of noninfringement, merchantability and/or 
*     fitness for a particular purpose.
*     --------------------------------------------------------------- 
*   
*     Copyright (c) 2008 Conexant Systems, Inc. 
*     All rights reserved. 
*
\******************************************************************* ---*/ 

extern "C" 
{
    #include <wdm.h>
}

#include <windef.h>
#include <unknown.h>
#include <ks.h>
#include <ksmedia.h>
#include "merlin.h"

class Device;

VOID sleep(LONG time);
Device* getDevice(PIRP p_irp);
NTSTATUS editKsFilterPinDescriptors(PKSFILTER p_filter);
NTSTATUS setMediumId(PKSFILTER p_filter, DWORD pin_index, DWORD medium_id);
NTSTATUS setMediumId(PKSFILTER_DESCRIPTOR p_filter, DWORD pin_index, DWORD medium_id);

BOOLEAN getVideoAndAudioStandardsForCountry(DWORD country_code, 
                                            KS_AnalogVideoStandard* p_video_standard, 
                                            AUDIO_STANDARD* p_audio_standard);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?