[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,91 @@
/*++
Copyright (c) Microsoft Corporation
Module Name:
FxWmiIrpHandlerUm.cpp
Abstract:
This module implements the wmi irp handler for the driver frameworks.
Author:
Environment:
User mode only
Revision History:
--*/
#include "fxmin.hpp"
#include "FxWmiIrpHandler.hpp"
class FxWmiIrpHandler;
_Must_inspect_result_
NTSTATUS
FxWmiIrpHandler::PostCreateDeviceInitialize(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
return STATUS_NOT_IMPLEMENTED;
}
VOID
FxWmiIrpHandler::Deregister(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
}
_Must_inspect_result_
NTSTATUS
FxWmiIrpHandler::AddPowerPolicyProviderAndInstance(
__in PWDF_WMI_PROVIDER_CONFIG /* ProviderConfig */,
__in FxWmiInstanceInternalCallbacks* /* InstanceCallbacks */,
__inout FxWmiInstanceInternal** /* Instance */
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
return STATUS_NOT_IMPLEMENTED;
}
_Must_inspect_result_
NTSTATUS
FxWmiIrpHandler::Register(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
return STATUS_NOT_IMPLEMENTED;
}
VOID
FxWmiIrpHandler::Cleanup(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
}
VOID
FxWmiIrpHandler::ResetStateForPdoRestart(
VOID
)
{
ASSERTMSG("Not implemented for UMDF\n", FALSE);
}