24#include "fxobjectpch.hpp"
28#if defined(EVENT_TRACING)
29#include "FxObjectUm.tmh"
39#include <WdfFileObject_private.h>
47WDFEXPORT(WdfFileObjectIncrementProcessKeepAliveCount)(
57WDFEXPORT(WdfFileObjectDecrementProcessKeepAliveCount)(
150 "Insufficient query buffer size for file object query "
151 "Required size %d, %!STATUS!",
152 RequiredBufferLength,
158 if (
nullptr == QueryBuffer) {
161 "NULL query buffer for file object query, %!STATUS!",
173 if (FileObjectInterface->
Size != RequiredBufferLength) {
176 "Wrong struct version provided for file object query, "
184 WDFEXPORT(WdfFileObjectIncrementProcessKeepAliveCount);
186 WDFEXPORT(WdfFileObjectDecrementProcessKeepAliveCount);
static _Must_inspect_result_ NTSTATUS _ObjectQuery(_In_ FxObject *Object, _In_ CONST GUID *Guid, _In_ ULONG QueryBufferLength, _Out_writes_bytes_(QueryBufferLength) PVOID QueryBuffer)
#define _IRQL_requires_max_(irql)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
PFX_DRIVER_GLOBALS pFxDriverGlobals
FxVerifierDbgBreakPoint(pFxDriverGlobals)
_In_ WDFFILEOBJECT FileObject
#define _Out_writes_bytes_(size)
#define _Must_inspect_result_
#define IsEqualGUID(rguid1, rguid2)
#define STATUS_BUFFER_TOO_SMALL
#define TRACE_LEVEL_ERROR
PFN_WDFP_FILEOBJECT_DECREMENT_PROCESS_KEEP_ALIVE_COUNT WdfpFileObjectDecrementProcessKeepAliveCount
PFN_WDFP_FILEOBJECT_INCREMENT_PROCESS_KEEP_ALIVE_COUNT WdfpFileObjectIncrementProcessKeepAliveCount
#define STATUS_INVALID_PARAMETER
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
struct _WDFP_FILEOBJECT_INTERFACE WDFP_FILEOBJECT_INTERFACE
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID * Guid
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID _In_ ULONG QueryBufferLength