1 /*++ 2 3 Copyright (c) Microsoft Corporation 4 5 Module Name: 6 7 FxDeviceInitShared.hpp 8 9 Abstract: 10 11 This header is split from FxDeviceInit.hpp to have definitions needed 12 in shared code. 13 14 Author: 15 16 17 Environment: 18 19 20 Revision History: 21 22 --*/ 23 24 #ifndef __FXDEVICEINITSHARED_HPP__ 25 #define __FXDEVICEINITSHARED_HPP__ 26 27 struct PdoInit { 28 29 PdoInit( 30 VOID 31 ) 32 { 33 DeviceText.Next = NULL; 34 LastDeviceTextEntry = &DeviceText.Next; 35 } 36 37 WDF_PDO_EVENT_CALLBACKS EventCallbacks; 38 39 CfxDevice* Parent; 40 41 FxString* DeviceID; 42 43 FxString* InstanceID; 44 45 FxCollectionInternal HardwareIDs; 46 47 FxCollectionInternal CompatibleIDs; 48 49 FxString* ContainerID; 50 51 SINGLE_LIST_ENTRY DeviceText; 52 PSINGLE_LIST_ENTRY* LastDeviceTextEntry; 53 54 FxDeviceDescriptionEntry* DescriptionEntry; 55 56 LCID DefaultLocale; 57 58 BOOLEAN Raw; 59 60 BOOLEAN Static; 61 62 BOOLEAN ForwardRequestToParent; 63 }; 64 65 #endif //__FXDEVICEINITSHARED_HPP__ 66