[WDF] Add Windows Driver Framework files

Takern from Microsoft GitHub repo:
d9c6040fe9

Licensed under MIT
This commit is contained in:
Victor Perevertkin 2020-09-24 23:51:15 +03:00
parent 545df81502
commit 8a978a179f
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
475 changed files with 285099 additions and 0 deletions

View file

@ -0,0 +1,89 @@
/*++
Copyright (c) Microsoft Corporation
ModuleName:
MxFileObjectUm.h
Abstract:
User Mode implementation of File Object defined in MxFileObject.h
--*/
#pragma once
struct IWudfFile;
typedef IWudfFile * MdFileObject;
#include "MxFileObject.h"
__inline
PLARGE_INTEGER
MxFileObject::GetCurrentByteOffset(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
return NULL;
}
__inline
ULONG
MxFileObject::GetFlags(
VOID
)
{
return 0;
}
__inline
VOID
MxFileObject::SetFsContext(
_In_ PVOID Value
)
{
UNREFERENCED_PARAMETER(Value);
ASSERTMSG("Not implemented for UMDF\n", FALSE);
}
__inline
VOID
MxFileObject::SetFsContext2(
_In_ PVOID Value
)
{
UNREFERENCED_PARAMETER(Value);
ASSERTMSG("Not implemented for UMDF\n", FALSE);
}
__inline
PVOID
MxFileObject::GetFsContext(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
return NULL;
}
__inline
PVOID
MxFileObject::GetFsContext2(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
return NULL;
}