ReactOS  0.4.14-dev-1115-gebeeb9d
fbtrwr.h
Go to the documentation of this file.
1 // Copyright (c) 2004, Antony C. Roberts
2 
3 // Use of this file is subject to the terms
4 // described in the LICENSE.TXT file that
5 // accompanies this file.
6 //
7 // Your use of this file indicates your
8 // acceptance of the terms described in
9 // LICENSE.TXT.
10 //
11 // http://www.freebt.net
12 
13 #ifndef _FREEBT_RWR_H
14 #define _FREEBT_RWR_H
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 typedef struct _FREEBT_RW_CONTEXT
21 {
24  ULONG Length; // remaining to xfer
25  ULONG Numxfer; // cumulate xfer
26  ULONG_PTR VirtualAddress; // va for next segment of xfer.
27 
29 
34 
35 #ifdef __cplusplus
36 };
37 #endif
38 
39 #endif
struct _FREEBT_RW_CONTEXT * PFREEBT_RW_CONTEXT
#define IN
Definition: typedefs.h:39
NTSTATUS NTAPI FreeBT_ReadCompletion(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context)
Definition: fbtrwr.c:207
_In_ PIRP Irp
Definition: csq.h:116
LONG NTSTATUS
Definition: precomp.h:26
struct _FREEBT_RW_CONTEXT FREEBT_RW_CONTEXT
NTSTATUS NTAPI FreeBT_DispatchWrite(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: fbtrwr.c:253
uint32_t ULONG_PTR
Definition: typedefs.h:64
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
NTSTATUS NTAPI FreeBT_DispatchRead(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: fbtrwr.c:23
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
Definition: usb.h:529
NTSTATUS NTAPI FreeBT_WriteCompletion(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context)
Definition: fbtrwr.c:447
unsigned int ULONG
Definition: retypes.h:1
ULONG_PTR VirtualAddress
Definition: fbtrwr.h:26