1 /*++ 2 3 Copyright (c) Microsoft Corporation 4 5 ModuleName: 6 7 MxFileObjectUm.h 8 9 Abstract: 10 11 User Mode implementation of File Object defined in MxFileObject.h 12 13 --*/ 14 15 #pragma once 16 17 struct IWudfFile; 18 19 typedef IWudfFile * MdFileObject; 20 21 #include "MxFileObject.h" 22 23 __inline 24 PLARGE_INTEGER GetCurrentByteOffset(VOID)25MxFileObject::GetCurrentByteOffset( 26 VOID 27 ) 28 { 29 ASSERTMSG("Not implemented for UMDF\n", FALSE); 30 return NULL; 31 } 32 33 __inline 34 ULONG GetFlags(VOID)35MxFileObject::GetFlags( 36 VOID 37 ) 38 { 39 40 41 42 43 44 45 46 47 return 0; 48 } 49 50 __inline 51 VOID SetFsContext(_In_ PVOID Value)52MxFileObject::SetFsContext( 53 _In_ PVOID Value 54 ) 55 { 56 UNREFERENCED_PARAMETER(Value); 57 ASSERTMSG("Not implemented for UMDF\n", FALSE); 58 } 59 60 __inline 61 VOID SetFsContext2(_In_ PVOID Value)62MxFileObject::SetFsContext2( 63 _In_ PVOID Value 64 ) 65 { 66 UNREFERENCED_PARAMETER(Value); 67 ASSERTMSG("Not implemented for UMDF\n", FALSE); 68 } 69 70 __inline 71 PVOID GetFsContext(VOID)72MxFileObject::GetFsContext( 73 VOID 74 ) 75 { 76 ASSERTMSG("Not implemented for UMDF\n", FALSE); 77 return NULL; 78 } 79 80 __inline 81 PVOID GetFsContext2(VOID)82MxFileObject::GetFsContext2( 83 VOID 84 ) 85 { 86 ASSERTMSG("Not implemented for UMDF\n", FALSE); 87 return NULL; 88 } 89 90