1 /*++
2 
3 Copyright (c) Microsoft Corporation.  All rights reserved.
4 
5 Module Name:
6 
7     FxRelatedDeviceListUm.cpp
8 
9 Abstract:
10     This object derives from the transactioned list and provides a unique
11     object check during the addition of an item.
12 
13 Author:
14 
15 
16 
17 
18 Environment:
19 
20     User mode only
21 
22 Revision History:
23 
24 --*/
25 
26 #include <fxmin.hpp>
27 
28 _Must_inspect_result_
29 NTSTATUS
Add(__in PFX_DRIVER_GLOBALS,__inout FxRelatedDevice *)30 FxRelatedDeviceList::Add(
31     __in PFX_DRIVER_GLOBALS /*FxDriverGlobals*/,
32     __inout FxRelatedDevice* /*Entry*/
33     )
34 {
35     UfxVerifierTrapNotImpl();
36     return STATUS_NOT_IMPLEMENTED;
37 }
38 
39 VOID
Remove(__in PFX_DRIVER_GLOBALS,__in MdDeviceObject)40 FxRelatedDeviceList::Remove(
41     __in PFX_DRIVER_GLOBALS /*FxDriverGlobals*/,
42     __in MdDeviceObject /*Device*/
43     )
44 {
45     UfxVerifierTrapNotImpl();
46     return;
47 }
48 
49 _Must_inspect_result_
50 FxRelatedDevice*
GetNextEntry(__in_opt FxRelatedDevice *)51 FxRelatedDeviceList::GetNextEntry(
52     __in_opt FxRelatedDevice* /*Entry*/
53     )
54 {
55     UfxVerifierTrapNotImpl();
56     return NULL;
57 }
58 
59 _Must_inspect_result_
60 NTSTATUS
ProcessAdd(__in FxTransactionedEntry *)61 FxRelatedDeviceList::ProcessAdd(
62     __in FxTransactionedEntry * /*NewEntry*/
63     )
64 {
65     UfxVerifierTrapNotImpl();
66     return STATUS_NOT_IMPLEMENTED;
67 }
68 
69 BOOLEAN
Compare(__in FxTransactionedEntry *,__in PVOID)70 FxRelatedDeviceList::Compare(
71     __in FxTransactionedEntry* /*Entry*/,
72     __in PVOID /*Data*/
73     )
74 {
75     UfxVerifierTrapNotImpl();
76     return FALSE;
77 }
78 
79 VOID
EntryRemoved(__in FxTransactionedEntry *)80 FxRelatedDeviceList::EntryRemoved(
81     __in FxTransactionedEntry* /*Entry*/
82     )
83 {
84     UfxVerifierTrapNotImpl();
85     return;
86 }
87