ReactOS 0.4.16-dev-91-g764881a
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | Cunc_LETTER_POSITION 4 |
Variables | |
GUID | MountedDevicesGuid = {0x53F5630D, 0xB6BF, 0x11D0, {0x94, 0xF2, 0x00, 0xA0, 0xC9, 0x1E, 0xFB, 0x8B}} |
PDEVICE_OBJECT | gdeviceObject |
KEVENT | UnloadEvent |
LONG | Unloading |
static const WCHAR | Cunc [] = L"\\??\\C:" |
#define Cunc_LETTER_POSITION 4 |
Definition at line 40 of file mountmgr.c.
#define NDEBUG |
Definition at line 29 of file mountmgr.c.
_IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
[in] | IoControlCode | The IOCTL to send to the device. |
[in] | DeviceObject | Pointer to the device object that will handle the IOCTL. |
[in] | InputBuffer | Optional pointer to a buffer containing input data for the IOCTL. When specified, the buffer should be at least of InputBufferLength size. |
[in] | InputBufferLength | Size in bytes, of the buffer pointed by InputBuffer. |
[out] | OutputBuffer | Optional pointer to a buffer that will receive output data from the IOCTL. When specified, the buffer should be at least of OutputBufferLength size. |
[in] | OutputBufferLength | Size in bytes, of the buffer pointed by OutputBuffer. |
[in] | FileObject | Optional pointer to a file object that may be necessary for the IOCTL. |
Definition at line 75 of file mountmgr.c.
NTSTATUS CreateNewDriveLetterName | ( | OUT PUNICODE_STRING | DriveLetter, |
IN PUNICODE_STRING | DeviceName, | ||
IN UCHAR | Letter, | ||
IN PMOUNTDEV_UNIQUE_ID UniqueId | OPTIONAL | ||
) |
Definition at line 192 of file mountmgr.c.
Referenced by MountMgrMountedDeviceArrival().
NTSTATUS NTAPI DriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 1709 of file mountmgr.c.
NTSTATUS FindDeviceInfo | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PUNICODE_STRING | SymbolicName, | ||
IN BOOLEAN | DeviceNameGiven, | ||
OUT PDEVICE_INFORMATION * | DeviceInformation | ||
) |
Definition at line 561 of file mountmgr.c.
Referenced by MountMgrKeepLinksWhenOffline(), MountMgrQueryDosVolumePath(), MountMgrQueryDosVolumePaths(), MountMgrVolumeMountPointChanged(), MountMgrVolumeMountPointCreated(), MountMgrVolumeMountPointDeleted(), OnlineMountedVolumes(), QueryUniqueIdFromMaster(), and ReconcileThisDatabaseWithMasterWorker().
BOOLEAN HasDriveLetter | ( | IN PDEVICE_INFORMATION | DeviceInformation | ) |
Definition at line 167 of file mountmgr.c.
Referenced by MountMgrCreatePointWorker(), and ProcessSuggestedDriveLetters().
BOOLEAN IsOffline | ( | PUNICODE_STRING | SymbolicName | ) |
Definition at line 130 of file mountmgr.c.
Referenced by IsOffline(), and MountMgrMountedDeviceArrival().
Definition at line 1592 of file mountmgr.c.
Referenced by MountMgrChangeNotify(), and MountMgrCleanup().
Definition at line 1611 of file mountmgr.c.
Referenced by DriverEntry().
Definition at line 1562 of file mountmgr.c.
Referenced by DriverEntry().
VOID MountMgrFreeDeadDeviceInfo | ( | IN PDEVICE_INFORMATION | DeviceInformation | ) |
Definition at line 626 of file mountmgr.c.
Referenced by MountMgrCheckUnprocessedVolumes(), MountMgrMountedDeviceArrival(), MountMgrMountedDeviceRemoval(), and MountMgrUnload().
VOID MountMgrFreeMountedDeviceInfo | ( | IN PDEVICE_INFORMATION | DeviceInformation | ) |
Definition at line 636 of file mountmgr.c.
VOID MountMgrFreeSavedLink | ( | IN PSAVED_LINK_INFORMATION | SavedLinkInformation | ) |
Definition at line 691 of file mountmgr.c.
Referenced by MountMgrMountedDeviceArrival(), and MountMgrUnload().
NTSTATUS MountMgrMountedDeviceArrival | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PUNICODE_STRING | SymbolicName, | ||
IN BOOLEAN | ManuallyRegistered | ||
) |
Definition at line 855 of file mountmgr.c.
Referenced by MountMgrCheckUnprocessedVolumes(), MountMgrMountedDeviceNotification(), and MountMgrVolumeArrivalNotification().
NTSTATUS NTAPI MountMgrMountedDeviceNotification | ( | IN PVOID | NotificationStructure, |
IN PVOID | Context | ||
) |
Definition at line 1526 of file mountmgr.c.
Referenced by DriverEntry().
VOID MountMgrMountedDeviceRemoval | ( | IN PDEVICE_EXTENSION | DeviceExtension, |
IN PUNICODE_STRING | DeviceName | ||
) |
Definition at line 1362 of file mountmgr.c.
Referenced by MountMgrMountedDeviceNotification().
BOOLEAN MountmgrReadNoAutoMount | ( | _In_ PUNICODE_STRING | RegistryPath | ) |
Retrieves the "NoAutoMount" setting.
Definition at line 824 of file mountmgr.c.
Referenced by DriverEntry().
Definition at line 1672 of file mountmgr.c.
Referenced by DriverEntry().
VOID NTAPI MountMgrUnload | ( | IN PDRIVER_OBJECT | DriverObject | ) |
Definition at line 719 of file mountmgr.c.
Referenced by DriverEntry().
NTSTATUS QueryDeviceInformation | ( | _In_ PUNICODE_STRING | SymbolicName, |
_Out_opt_ PUNICODE_STRING | DeviceName, | ||
_Out_opt_ PMOUNTDEV_UNIQUE_ID * | UniqueId, | ||
_Out_opt_ PBOOLEAN | Removable, | ||
_Out_opt_ PBOOLEAN | GptDriveLetter, | ||
_Out_opt_ PBOOLEAN | HasGuid, | ||
_Inout_opt_ LPGUID | StableGuid, | ||
_Out_opt_ PBOOLEAN | IsFT | ||
) |
Definition at line 274 of file mountmgr.c.
Referenced by FindDeviceInfo(), MountMgrCreatePointWorker(), MountMgrMountedDeviceArrival(), MountMgrNextDriveLetterWorker(), MountMgrVolumeMountPointChanged(), MountMgrVolumeMountPointCreated(), QueryPointsFromMemory(), QueryPointsFromSymbolicLinkName(), USBD_GetDeviceInformationEx(), and USBH_GetDeviceType().
Definition at line 39 of file mountmgr.c.
Referenced by MountMgrMountedDeviceArrival().
PDEVICE_OBJECT gdeviceObject |
Definition at line 35 of file mountmgr.c.
Referenced by DriverEntry(), and MountMgrUnload().
GUID MountedDevicesGuid = {0x53F5630D, 0xB6BF, 0x11D0, {0x94, 0xF2, 0x00, 0xA0, 0xC9, 0x1E, 0xFB, 0x8B}} |
Definition at line 33 of file mountmgr.c.
Referenced by DriverEntry().
KEVENT UnloadEvent |
Definition at line 36 of file mountmgr.c.
Referenced by MountMgrShutdown(), MountMgrUnload(), and WorkerThread().
LONG Unloading |
Definition at line 37 of file mountmgr.c.
Referenced by MountMgrShutdown(), and MountMgrUnload().