[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,65 @@
/*++
Copyright (c) Microsoft Corporation
Module Name:
FxDeviceInitShared.hpp
Abstract:
This header is split from FxDeviceInit.hpp to have definitions needed
in shared code.
Author:
Environment:
Revision History:
--*/
#ifndef __FXDEVICEINITSHARED_HPP__
#define __FXDEVICEINITSHARED_HPP__
struct PdoInit {
PdoInit(
VOID
)
{
DeviceText.Next = NULL;
LastDeviceTextEntry = &DeviceText.Next;
}
WDF_PDO_EVENT_CALLBACKS EventCallbacks;
CfxDevice* Parent;
FxString* DeviceID;
FxString* InstanceID;
FxCollectionInternal HardwareIDs;
FxCollectionInternal CompatibleIDs;
FxString* ContainerID;
SINGLE_LIST_ENTRY DeviceText;
PSINGLE_LIST_ENTRY* LastDeviceTextEntry;
FxDeviceDescriptionEntry* DescriptionEntry;
LCID DefaultLocale;
BOOLEAN Raw;
BOOLEAN Static;
BOOLEAN ForwardRequestToParent;
};
#endif //__FXDEVICEINITSHARED_HPP__