ReactOS 0.4.15-dev-5664-g3bf4ef6
globalsum.cpp
Go to the documentation of this file.
1//
2// Copyright (C) Microsoft. All rights reserved.
3//
4#include "fxobjectpch.hpp"
5#include "fxldrum.h"
6
7extern "C" {
8
12 )
13{
14 UNREFERENCED_PARAMETER(DebugExtension);
15
16 //DO_NOTHING()
17}
18
22 _In_ PCUNICODE_STRING /*ServiceKeyName*/
23 )
24{
25 return TRUE; // Then it won't even call the next method
26}
27
28VOID
30 _In_ PCUNICODE_STRING ServiceKeyName
31 )
32{
33 UNREFERENCED_PARAMETER(ServiceKeyName);
34
35 ASSERTMSG("Not implemented for UMDF\n", FALSE);
36}
37
41 __in ULONG Major,
43 )
44{
45 if ((WdfBindInfo->Version.Major > Major) ||
46 (WdfBindInfo->Version.Major == Major &&
48 return TRUE;
49 }
50 else {
51 return FALSE;
52 }
53}
54
55}
56
60 VOID
61 )
62{
63 //
64 // COnvert the returned BOOL into BOOLEAN
65 //
66 return (IsDebuggerPresent() != FALSE);
67}
unsigned char BOOLEAN
#define __in
Definition: dbghelp.h:35
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
VOID FxFreeAllocatedMdlsDebugInfo(__in FxDriverGlobalsDebugExtension *DebugExtension)
Definition: globalsum.cpp:10
unsigned int ULONG
Definition: retypes.h:1
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define _In_
Definition: ms_sal.h:308
#define ASSERTMSG(msg, exp)
Definition: nt_native.h:431
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
_Must_inspect_result_ BOOLEAN IsCorrectVersionRegistered(_In_ PCUNICODE_STRING ServiceKeyName)
Definition: globalskm.cpp:112
PWDF_BIND_INFO WdfBindInfo
Definition: fxglobals.h:405
_Must_inspect_result_ BOOLEAN IsVersionGreaterThanOrEqualTo(__in ULONG Major, __in ULONG Minor)
Definition: globalskm.cpp:92
VOID RegisterClientVersion(_In_ PCUNICODE_STRING ServiceKeyName)
Definition: globalskm.cpp:162
_Must_inspect_result_ BOOLEAN IsDebuggerAttached(VOID)
Definition: globalskm.cpp:250
WDF_VERSION Version
Definition: fxldr.h:133
WDF_MAJOR_VERSION Major
Definition: fxldr.h:122
WDF_MINOR_VERSION Minor
Definition: fxldr.h:123
BOOL WINAPI IsDebuggerPresent(void)
Definition: debugger.c:580
_Out_opt_ PULONG Minor
Definition: cmfuncs.h:44