ReactOS 0.4.15-dev-7942-gd23573b
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
17extern "C" {
18#endif
19
20typedef 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
LONG NTSTATUS
Definition: precomp.h:26
_In_ PIRP Irp
Definition: csq.h:116
NTSTATUS NTAPI FreeBT_WriteCompletion(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context)
Definition: fbtrwr.c:447
NTSTATUS NTAPI FreeBT_DispatchWrite(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: fbtrwr.c:253
NTSTATUS NTAPI FreeBT_ReadCompletion(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context)
Definition: fbtrwr.c:207
NTSTATUS NTAPI FreeBT_DispatchRead(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: fbtrwr.c:23
struct _FREEBT_RW_CONTEXT FREEBT_RW_CONTEXT
struct _FREEBT_RW_CONTEXT * PFREEBT_RW_CONTEXT
ULONG_PTR VirtualAddress
Definition: fbtrwr.h:26
Definition: usb.h:529
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055