Last change
on this file since 31896 was 31896, checked in by vboxsync, 14 years ago |
export the VBoxUSB host driver to OSE
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1021 bytes
|
Line | |
---|
1 | /*++
|
---|
2 |
|
---|
3 | Copyright (c) 2000 Microsoft Corporation
|
---|
4 |
|
---|
5 | Module Name:
|
---|
6 |
|
---|
7 | vboxrwr.h
|
---|
8 |
|
---|
9 | Abstract:
|
---|
10 |
|
---|
11 | Environment:
|
---|
12 |
|
---|
13 | Kernel mode
|
---|
14 |
|
---|
15 | Notes:
|
---|
16 |
|
---|
17 | Copyright (c) 2000 Microsoft Corporation.
|
---|
18 | All Rights Reserved.
|
---|
19 |
|
---|
20 | --*/
|
---|
21 | #ifndef _VBoxUSB_RWR_H
|
---|
22 | #define _VBoxUSB_RWR_H
|
---|
23 |
|
---|
24 | typedef struct _VBOXUSB_RW_CONTEXT {
|
---|
25 |
|
---|
26 | PURB Urb;
|
---|
27 | PMDL Mdl;
|
---|
28 | ULONG Length; // remaining to xfer
|
---|
29 | ULONG Numxfer; // cumulate xfer
|
---|
30 | ULONG_PTR VirtualAddress; // va for next segment of xfer.
|
---|
31 | PDEVICE_EXTENSION DeviceExtension;
|
---|
32 |
|
---|
33 | } VBOXUSB_RW_CONTEXT, * PVBOXUSB_RW_CONTEXT;
|
---|
34 |
|
---|
35 | RT_C_DECLS_BEGIN
|
---|
36 |
|
---|
37 | PVBOXUSB_PIPE_CONTEXT
|
---|
38 | VBoxUSB_PipeWithName(
|
---|
39 | IN PDEVICE_OBJECT DeviceObject,
|
---|
40 | IN PUNICODE_STRING FileName
|
---|
41 | );
|
---|
42 |
|
---|
43 | NTSTATUS
|
---|
44 | VBoxUSB_DispatchReadWrite(
|
---|
45 | IN PDEVICE_OBJECT DeviceObject,
|
---|
46 | IN PIRP Irp
|
---|
47 | );
|
---|
48 |
|
---|
49 | NTSTATUS
|
---|
50 | VBoxUSB_ReadWriteCompletion(
|
---|
51 | IN PDEVICE_OBJECT DeviceObject,
|
---|
52 | IN PIRP Irp,
|
---|
53 | IN PVOID Context
|
---|
54 | );
|
---|
55 |
|
---|
56 | RT_C_DECLS_END
|
---|
57 |
|
---|
58 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.