Changeset 78321 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsfshared.h
- Timestamp:
- Apr 26, 2019 12:39:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsfshared.h
r76563 r78321 1 1 /* $Id$ */ 2 2 /** @file 3 * 4 * VirtualBox Windows Guest Shared Folders 5 * 6 * File System Driver header file shared with the network provider dll 3 * VirtualBox Windows Guest Shared Folders FSD - Definitions shared with the network provider dll. 7 4 */ 8 5 … … 25 22 #endif 26 23 27 /* The network provider name for shared folders. */28 #define MRX_VBOX_PROVIDER_NAME_U L"VirtualBox Shared Folders"24 /** The network provider name for shared folders. */ 25 #define MRX_VBOX_PROVIDER_NAME_U L"VirtualBox Shared Folders" 29 26 30 /* The filesystem name for shared folders. */31 #define MRX_VBOX_FILESYS_NAME_U L"VBoxSharedFolderFS"27 /** The filesystem name for shared folders. */ 28 #define MRX_VBOX_FILESYS_NAME_U L"VBoxSharedFolderFS" 32 29 33 /* The redirector device name. */34 #define DD_MRX_VBOX_FS_DEVICE_NAME_U L"\\Device\\VBoxMiniRdr"30 /** The redirector device name. */ 31 #define DD_MRX_VBOX_FS_DEVICE_NAME_U L"\\Device\\VBoxMiniRdr" 35 32 36 #define VBOX_VOLNAME_PREFIX L"VBOX_" 37 #define VBOX_VOLNAME_PREFIX_SIZE (sizeof(VBOX_VOLNAME_PREFIX) - sizeof(VBOX_VOLNAME_PREFIX[0])) 33 /** Volume label prefix. */ 34 #define VBOX_VOLNAME_PREFIX L"VBOX_" 35 /** Size of volume label prefix. */ 36 #define VBOX_VOLNAME_PREFIX_SIZE (sizeof(VBOX_VOLNAME_PREFIX) - sizeof(VBOX_VOLNAME_PREFIX[0])) 38 37 39 /* Name of symbolic link, which is used by the user mode dll to open the driver. */ 40 #define DD_MRX_VBOX_USERMODE_SHADOW_DEV_NAME_U L"\\??\\VBoxMiniRdrDN" 41 #define DD_MRX_VBOX_USERMODE_DEV_NAME_U L"\\\\.\\VBoxMiniRdrDN" 38 /** NT path of the symbolic link, which is used by the user mode dll to 39 * open the FSD. */ 40 #define DD_MRX_VBOX_USERMODE_SHADOW_DEV_NAME_U L"\\??\\VBoxMiniRdrDN" 41 /** Win32 path of the symbolic link, which is used by the user mode dll 42 * to open the FSD. */ 43 #define DD_MRX_VBOX_USERMODE_DEV_NAME_U L"\\\\.\\VBoxMiniRdrDN" 42 44 43 #define IOCTL_MRX_VBOX_BASE FILE_DEVICE_NETWORK_FILE_SYSTEM 44 45 #define _MRX_VBOX_CONTROL_CODE(request, method, access) \ 46 CTL_CODE(IOCTL_MRX_VBOX_BASE, request, method, access) 47 48 /* VBoxSF IOCTL codes. */ 49 #define IOCTL_MRX_VBOX_ADDCONN _MRX_VBOX_CONTROL_CODE(100, METHOD_BUFFERED, FILE_ANY_ACCESS) 50 #define IOCTL_MRX_VBOX_GETCONN _MRX_VBOX_CONTROL_CODE(101, METHOD_BUFFERED, FILE_ANY_ACCESS) 51 #define IOCTL_MRX_VBOX_DELCONN _MRX_VBOX_CONTROL_CODE(102, METHOD_BUFFERED, FILE_ANY_ACCESS) 52 #define IOCTL_MRX_VBOX_GETLIST _MRX_VBOX_CONTROL_CODE(103, METHOD_BUFFERED, FILE_ANY_ACCESS) 53 #define IOCTL_MRX_VBOX_GETGLOBALLIST _MRX_VBOX_CONTROL_CODE(104, METHOD_BUFFERED, FILE_ANY_ACCESS) 54 #define IOCTL_MRX_VBOX_GETGLOBALCONN _MRX_VBOX_CONTROL_CODE(105, METHOD_BUFFERED, FILE_ANY_ACCESS) 55 #define IOCTL_MRX_VBOX_START _MRX_VBOX_CONTROL_CODE(106, METHOD_BUFFERED, FILE_ANY_ACCESS) 56 #define IOCTL_MRX_VBOX_STOP _MRX_VBOX_CONTROL_CODE(107, METHOD_BUFFERED, FILE_ANY_ACCESS) 45 /** @name IOCTL_MRX_VBOX_XXX - VBoxSF IOCTL codes. 46 * @{ */ 47 #define IOCTL_MRX_VBOX_ADDCONN CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 100, METHOD_BUFFERED, FILE_ANY_ACCESS) 48 #define IOCTL_MRX_VBOX_GETCONN CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 101, METHOD_BUFFERED, FILE_ANY_ACCESS) 49 #define IOCTL_MRX_VBOX_DELCONN CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 102, METHOD_BUFFERED, FILE_ANY_ACCESS) 50 #define IOCTL_MRX_VBOX_GETLIST CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 103, METHOD_BUFFERED, FILE_ANY_ACCESS) 51 #define IOCTL_MRX_VBOX_GETGLOBALLIST CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 104, METHOD_BUFFERED, FILE_ANY_ACCESS) 52 #define IOCTL_MRX_VBOX_GETGLOBALCONN CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 105, METHOD_BUFFERED, FILE_ANY_ACCESS) 53 #define IOCTL_MRX_VBOX_START CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 106, METHOD_BUFFERED, FILE_ANY_ACCESS) 54 #define IOCTL_MRX_VBOX_STOP CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 107, METHOD_BUFFERED, FILE_ANY_ACCESS) 55 /** @} */ 57 56 58 57 #endif /* !GA_INCLUDED_SRC_WINNT_SharedFolders_driver_vbsfshared_h */
Note:
See TracChangeset
for help on using the changeset viewer.