|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Macros | |
| #define | FILE_SHARE_ALL (FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE) |
Functions | |
| NTSTATUS | pOpenDeviceEx_UStr (_In_ PCUNICODE_STRING DevicePath, _Out_ PHANDLE DeviceHandle, _In_ ACCESS_MASK DesiredAccess, _In_ ULONG ShareAccess) |
| Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is for synchronous I/O access. | |
| NTSTATUS | pOpenDevice_UStr (_In_ PCUNICODE_STRING DevicePath, _Out_ PHANDLE DeviceHandle) |
| Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is share read/write/delete, for synchronous I/O and read access. | |
| NTSTATUS | pOpenDeviceEx (_In_ PCWSTR DevicePath, _Out_ PHANDLE DeviceHandle, _In_ ACCESS_MASK DesiredAccess, _In_ ULONG ShareAccess) |
| Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is for synchronous I/O access. | |
| NTSTATUS | pOpenDevice (_In_ PCWSTR DevicePath, _Out_ PHANDLE DeviceHandle) |
| Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is share read/write/delete, for synchronous I/O and read access. | |
| #define FILE_SHARE_ALL (FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE) |
Definition at line 12 of file devutils.h.
Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is share read/write/delete, for synchronous I/O and read access.
| [in] | DevicePath | |
| [out] | DeviceHandle | See the DevicePath and DeviceHandle parameters of pOpenDeviceEx_UStr(). |
Definition at line 128 of file devutils.c.
Referenced by MountVolume().
| NTSTATUS pOpenDevice_UStr | ( | _In_ PCUNICODE_STRING | DevicePath, |
| _Out_ PHANDLE | DeviceHandle | ||
| ) |
Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is share read/write/delete, for synchronous I/O and read access.
| [in] | DevicePath | |
| [out] | DeviceHandle | See the DevicePath and DeviceHandle parameters of pOpenDeviceEx_UStr(). |
Definition at line 76 of file devutils.c.
Referenced by pOpenDevice().
| NTSTATUS pOpenDeviceEx | ( | _In_ PCWSTR | DevicePath, |
| _Out_ PHANDLE | DeviceHandle, | ||
| _In_ ACCESS_MASK | DesiredAccess, | ||
| _In_ ULONG | ShareAccess | ||
| ) |
Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is for synchronous I/O access.
| [in] | DevicePath | |
| [out] | DeviceHandle | |
| [in] | DesiredAccess | |
| [in] | ShareAccess | See pOpenDeviceEx_UStr() parameters. |
Definition at line 102 of file devutils.c.
Referenced by DismountVolume().
| NTSTATUS pOpenDeviceEx_UStr | ( | _In_ PCUNICODE_STRING | DevicePath, |
| _Out_ PHANDLE | DeviceHandle, | ||
| _In_ ACCESS_MASK | DesiredAccess, | ||
| _In_ ULONG | ShareAccess | ||
| ) |
Open an existing device given by its NT-style path, which is assumed to be for a disk device or a partition. The open is for synchronous I/O access.
| [in] | DevicePath | Supplies the NT-style path to the device to open. |
| [out] | DeviceHandle | If successful, receives the NT handle of the opened device. Once the handle is no longer in use, call NtClose() to close it. |
| [in] | DesiredAccess | An ACCESS_MASK value combination that determines the requested access to the device. Because the open is for synchronous access, SYNCHRONIZE is automatically added to the access mask. |
| [in] | ShareAccess | Specifies the type of share access for the device. |
Definition at line 38 of file devutils.c.
Referenced by GetDeviceInfo_UStr(), InstallBootManagerAndBootEntries(), pOpenDevice_UStr(), and pOpenDeviceEx().