ReactOS  0.4.15-dev-2704-gd5265b0
arbiter.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Kernel
3  * COPYRIGHT: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * FILE: lib/drivers/arbiter/arbiter.c
5  * PURPOSE: Hardware Resources Arbiter Library
6  * PROGRAMMERS: Copyright 2020 Vadim Galyant <vgal@rambler.ru>
7  */
8 
9 /* INCLUDES *******************************************************************/
10 
11 #include <ntifs.h>
12 #include <ndk/rtltypes.h>
13 
14 #include "arbiter.h"
15 
16 #define NDEBUG
17 #include <debug.h>
18 
19 /* GLOBALS ********************************************************************/
20 
21 /* DATA **********************************************************************/
22 
23 /* FUNCTIONS ******************************************************************/
24 
26 NTAPI
28  _Inout_ PARBITER_INSTANCE Arbiter,
29  _In_ PDEVICE_OBJECT BusDeviceObject,
30  _In_ CM_RESOURCE_TYPE ResourceType,
31  _In_ PCWSTR ArbiterName,
32  _In_ PCWSTR OrderName,
33  _In_ PARB_TRANSLATE_ORDERING TranslateOrderingFunction)
34 {
36 
37  DPRINT("ArbInitializeArbiterInstance: Initializing %S Arbiter\n", ArbiterName);
39 
41  return Status;
42 }
43 
44 /* EOF */
const uint16_t * PCWSTR
Definition: typedefs.h:57
NTSTATUS NTAPI ArbInitializeArbiterInstance(_Inout_ PARBITER_INSTANCE Arbiter, _In_ PDEVICE_OBJECT BusDeviceObject, _In_ CM_RESOURCE_TYPE ResourceType, _In_ PCWSTR ArbiterName, _In_ PCWSTR OrderName, _In_ PARB_TRANSLATE_ORDERING TranslateOrderingFunction)
Definition: arbiter.c:27
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS(NTAPI * PARB_TRANSLATE_ORDERING)(_Out_ PIO_RESOURCE_DESCRIPTOR OutIoDescriptor, _In_ PIO_RESOURCE_DESCRIPTOR IoDescriptor)
Definition: arbiter.h:219
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
Status
Definition: gdiplustypes.h:24
#define _Inout_
Definition: no_sal2.h:162
#define _In_
Definition: no_sal2.h:158
#define UNIMPLEMENTED
Definition: debug.h:115
#define STATUS_SUCCESS
Definition: shellext.h:65
#define DPRINT
Definition: sndvol32.h:71