1 /* 2 * PROJECT: Kernel Mode Device Framework 3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) 4 * PURPOSE: Missing headers (wdfldr.h) 5 * COPYRIGHT: 2020 Victor Perevertkin (victor.perevertkin@reactos.org) 6 */ 7 8 // likely to be removed when the proper wdfldr.sys is ready 9 10 #ifndef _WDFLDR_H_ 11 #define _WDFLDR_H_ 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 typedef struct _LIBRARY_MODULE* PLIBRARY_MODULE; 18 typedef struct _WDF_LIBRARY_INFO* PWDF_LIBRARY_INFO; 19 20 typedef ULONG WDF_MAJOR_VERSION; 21 typedef ULONG WDF_MINOR_VERSION; 22 typedef ULONG WDF_BUILD_NUMBER; 23 typedef PVOID WDF_COMPONENT_GLOBALS, *PWDF_COMPONENT_GLOBALS; 24 25 typedef struct _WDF_INTERFACE_HEADER { 26 const GUID *InterfaceType; 27 ULONG InterfaceSize; 28 } WDF_INTERFACE_HEADER, *PWDF_INTERFACE_HEADER; 29 30 typedef struct _WDF_BIND_INFO *PWDF_BIND_INFO; 31 32 typedef NTSTATUS (STDCALL *PWDF_LDR_DIAGNOSTICS_VALUE_BY_NAME_AS_ULONG)(PUNICODE_STRING, PULONG); 33 34 #ifdef __cplusplus 35 } // extern "C" 36 #endif 37 38 #endif // _WDFLDR_H_ 39