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

📄 channel2.h

📁 driver wdk
💻 H
字号:
//
//Functions for data channel 2
//

#ifndef _DATACHANNEL2_H
#define _DATACHANNEL2_H

//++
// Function:
//		Ave2kDpcForChannel2
//
// Description:
//		This function is responsible for doing any
//		function-code specific post-processing a IRP after
//		interrupt happens.
//
// Arguments:
//		Pointer to the KDPC
//      Pointer to the context past by caller
//		Pointer to the SystemArgument1 and SystemArgument2.
//
// Return Value:
//		(None)
//--
VOID
Ave2kDpcForChannel2
(
    IN PKDPC Dpc,
    IN PVOID DeferredContext,
    IN PVOID SystemArgument1,
    IN PVOID SystemArgument2
	);

//++
// Function:
//		Ave2kChannel2StartIo
//
// Description:
//		This function is responsible for doing any
//		function-code specific pre-processing and 
//		then starting the actual data transfer.
//
// Arguments:
//		Pointer to the Device object
//		Pointer to the IRP for this request
//
// Return Value:
//		(None)
//--
VOID
Ave2kChannel2StartIo(
	IN PDEVICE_OBJECT DeviceObject,
	IN PIRP Irp
	);

//++
// Function:
//		Ave2kChannel2StartPacket
//
// Description:
//		This function is responsible for doing any
//		function-code specific pre-processing and 
//		then starting the actual data transfer.
//
// Arguments:
//		Pointer to the Device object
//		Pointer to the IRP for this request
//
// Return Value:
//		(None)
//
// Synchronization:
//		This routine is called at PASSIVE_LEVEL IRQL,
//		but it pops up to DISPATCH_LEVEL.
//
//--
VOID  
Ave2kChannel2StartPacket(
	IN PDEVICE_OBJECT DeviceObject,
	IN PIRP Irp,
	IN PDRIVER_CANCEL CancelFunction
	);

//++
// Function:
//		Ave2kChannel2StartNextPacket
//
// Description:
//		This function is responsible for doing any
//		function-code specific pre-processing and 
//		then starting the actual data transfer.
//
// Arguments:
//		Pointer to the Device object
//		BOOLEAN indicating whether 
//				to grab Cancel spin lock
//
// Return Value:
//		(None)
//
// Synchronization:
//		This routine *MUST* be called at 
//		DISPATCH_LEVEL IRQL.
//
//--
VOID
Ave2kChannel2StartNextPacket(
	IN PDEVICE_OBJECT DeviceObject,
	IN BOOLEAN Cancelable
	);

#endif

⌨️ 快捷键说明

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