ReactOS  0.4.15-dev-5112-g22d8c0f
fxlibrarycommon.h
Go to the documentation of this file.
1 //
2 // Copyright (C) Microsoft. All rights reserved.
3 //
4 #ifndef __FX_LIBRARY_COMMON_H__
5 #define __FX_LIBRARY_COMMON_H__
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif // __cplusplus
10 
11 extern ULONG WdfLdrDbgPrintOn;
12 extern PCHAR WdfLdrType;
13 
14 extern WDFVERSION WdfVersion;
15 
17 
18 #define _LIT_(a) # a
19 #define LITERAL(a) _LIT_(a)
20 
21 
22 
23 
24 #define __Print(_x_) \
25 { \
26  if (WdfLdrDbgPrintOn) { \
27  } \
28 }
29 
30 #define WDF_ENHANCED_VERIFIER_OPTIONS_VALUE_NAME L"EnhancedVerifierOptions"
31 
32 typedef
35  OUT PRTL_OSVERSIONINFOW VersionInformation
36  );
37 
40  VOID
41  );
42 
45  VOID
46  );
47 
53  );
54 
59  );
60 
61 VOID
65  );
66 
67 #ifdef __cplusplus
68 } // extern "C"
69 #endif // __cplusplus
70 
71 #endif // __FX_LIBRARY_COMMON_H__
signed char * PCHAR
Definition: retypes.h:7
NTSTATUS(* PFN_RTL_GET_VERSION)(__out PRTL_OSVERSIONINFOW VersionInformation)
RTL_OSVERSIONINFOW gOsVersion
Definition: version.cpp:104
_Must_inspect_result_ NTSTATUS FxLibraryCommonCommission(VOID)
_Must_inspect_result_ NTSTATUS FxLibraryCommonRegisterClient(__inout PWDF_BIND_INFO Info, __deref_out PWDF_DRIVER_GLOBALS *WdfDriverGlobals, __in_opt PCLIENT_INFO ClientInfo)
LONG NTSTATUS
Definition: precomp.h:26
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
Definition: wdfchildlist.h:683
CLIENT_DATA ClientInfo
_Must_inspect_result_ NTSTATUS FxLibraryCommonUnregisterClient(__in PWDF_BIND_INFO Info, __in PWDF_DRIVER_GLOBALS WdfDriverGlobals)
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ NTSTATUS FxLibraryCommonDecommission(VOID)
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
Definition: wdfdevice.h:3531
VOID GetEnhancedVerifierOptions(__in PCLIENT_INFO ClientInfo, __out PULONG Options)
#define NTSTATUS
Definition: precomp.h:20
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:40
PCHAR WdfLdrType
Definition: version.cpp:108
unsigned int ULONG
Definition: retypes.h:1
ULONG WdfLdrDbgPrintOn
Definition: version.cpp:106
WDFVERSION WdfVersion