VirtualBox

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

最後變更 在這個檔案從32671是 31896,由 vboxsync 提交於 15 年 前

export the VBoxUSB host driver to OSE

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1021 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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