[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,81 @@
/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
FxIoTargetRemoteKm.hpp
Abstract:
Kernel-mode specific definitions of FxIoTargetRemote
Author:
Environment:
kernel mode only
Revision History:
--*/
#ifndef _FXIOTARGETREMOTEKM_H_
#define _FXIOTARGETREMOTEKM_H_
__inline
NTSTATUS
FxIoTargetRemote::InitRemoteModeSpecific(
__in FxDeviceBase* Device
)
{
UNREFERENCED_PARAMETER(Device);
//
// Nothing mode-specific work to do for KM here.
//
DO_NOTHING();
return STATUS_SUCCESS;
}
__inline
VOID
FxIoTargetRemote::RemoveModeSpecific(
VOID
)
{
//
// Nothing mode-specific work to do for KM here.
//
DO_NOTHING();
}
__inline
_Must_inspect_result_
NTSTATUS
FxIoTargetRemote::OpenLocalTargetByFile(
_In_ PWDF_IO_TARGET_OPEN_PARAMS OpenParams
)
{
UNREFERENCED_PARAMETER(OpenParams);
//
// Nothing mode-specific work to do for KM here.
//
DO_NOTHING();
return STATUS_SUCCESS;
}
__inline
HANDLE
FxIoTargetRemote::GetTargetHandle(
VOID
)
{
return m_TargetHandle;
}
#endif // _FXIOTARGETREMOTEKM_H_