channel2.h

来自「driver wdk」· C头文件 代码 · 共 112 行

H
112
字号
//
//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 + =
减小字号Ctrl + -
显示快捷键?