⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 srblist.h

📁 采集卡的驱动编程,具有较大的参考价值,特别开发视频采集的软件工程师有用
💻 H
字号:
// srblist.h - SRB List class for Video Capture sample
//=============================================================================
//
// Compuware Corporation
// NuMega Lab
// 9 Townsend West
// Nashua, NH 03060  USA
//
// Copyright (c) 1998 Compuware Corporation. All Rights Reserved.
// Unpublished - rights reserved under the Copyright laws of the
// United States.
//
//=============================================================================

#ifndef __SAMPLE_SRBLIST_H__
#define __SAMPLE_SRBLIST_H__

class SrbList : public KList<HW_STREAM_REQUEST_BLOCK>
{
public:
	SrbList(void);

	BOOL AddIfBusy(
		PHW_STREAM_REQUEST_BLOCK pSrb,
		KSpinLock* pLock=NULL
		);

	BOOL RemoveIfAvailable(
		PHW_STREAM_REQUEST_BLOCK& pSrb,
		KSpinLock* pLock=NULL
		);

	BOOLEAN		m_Busy;
	KSpinLock	m_Lock;
};

#endif // __SAMPLE_SRBLIST_H__

⌨️ 快捷键说明

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