VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxUSB/win/Device/vboxrwr.h@ 31896

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
3Copyright (c) 2000 Microsoft Corporation
4
5Module Name:
6
7 vboxrwr.h
8
9Abstract:
10
11Environment:
12
13 Kernel mode
14
15Notes:
16
17 Copyright (c) 2000 Microsoft Corporation.
18 All Rights Reserved.
19
20--*/
21#ifndef _VBoxUSB_RWR_H
22#define _VBoxUSB_RWR_H
23
24typedef 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
35RT_C_DECLS_BEGIN
36
37PVBOXUSB_PIPE_CONTEXT
38VBoxUSB_PipeWithName(
39 IN PDEVICE_OBJECT DeviceObject,
40 IN PUNICODE_STRING FileName
41 );
42
43NTSTATUS
44VBoxUSB_DispatchReadWrite(
45 IN PDEVICE_OBJECT DeviceObject,
46 IN PIRP Irp
47 );
48
49NTSTATUS
50VBoxUSB_ReadWriteCompletion(
51 IN PDEVICE_OBJECT DeviceObject,
52 IN PIRP Irp,
53 IN PVOID Context
54 );
55
56RT_C_DECLS_END
57
58#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette