mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[SETUPLIB] Add some device utility functions; to be used later (#7258)
This commit is contained in:
parent
c59e2d20d9
commit
0f8dc6b2df
3 changed files with 112 additions and 0 deletions
24
base/setup/lib/utils/devutils.h
Normal file
24
base/setup/lib/utils/devutils.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* PROJECT: ReactOS Setup Library
|
||||
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
||||
* PURPOSE: Device utility functions
|
||||
* COPYRIGHT: Copyright 2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
NTSTATUS
|
||||
pOpenDeviceEx(
|
||||
_In_ PCWSTR DevicePath,
|
||||
_Out_ PHANDLE DeviceHandle,
|
||||
_In_ ACCESS_MASK DesiredAccess,
|
||||
_In_ ULONG ShareAccess);
|
||||
|
||||
NTSTATUS
|
||||
pOpenDevice(
|
||||
_In_ PCWSTR DevicePath,
|
||||
_Out_ PHANDLE DeviceHandle);
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue