25#include "FxSupportPch.hpp"
28#include "FxDeviceInterfaceUM.tmh"
143 IWudfDeviceStack *pDeviceStack;
151 pDeviceStack =
m_Device->GetDeviceStackInterface();
168 "Failed to %s device interface %!STATUS!",
199 IWudfDeviceStack *pDeviceStack;
206 pDeviceStack =
m_Device->GetDeviceStackInterface();
247 IWudfDeviceStack *pDeviceStack;
248 IWudfDeviceStack2 *pDeviceStack2;
253 pDeviceStack =
m_Device->GetDeviceStackInterface();
258 (
PVOID*)&pDeviceStack2);
260 pDeviceStack->Release();
_Must_inspect_result_ NTSTATUS Initialize(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in CONST GUID *InterfaceGUID, __in_opt PCUNICODE_STRING ReferenceString)
VOID SetState(__in BOOLEAN State)
UNICODE_STRING m_SymbolicLinkName
UNICODE_STRING m_ReferenceString
NTSTATUS GetSymbolicLinkName(_In_ FxString *LinkString)
GUID m_InterfaceClassGUID
_Must_inspect_result_ NTSTATUS Register(__in MdDeviceObject Pdo)
SINGLE_LIST_ENTRY m_Entry
static NTSTATUS NtStatusFromHr(_In_ IWudfDeviceStack *DevStack, _In_ HRESULT Hr)
static FxDevice * GetFxDevice(__in MdDeviceObject DeviceObject)
static __inline VOID MxFreePool(__in PVOID Ptr)
#define NT_SUCCESS(StatCode)
FX_VERIFY(INTERNAL, CHECK_NOT_NULL(LoaderInterface->pIWudfHost))
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
#define _Must_inspect_result_
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
#define TRACE_LEVEL_WARNING
_Must_inspect_result_ NTSTATUS FxDuplicateUnicodeString(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in const UNICODE_STRING *Source, __out PUNICODE_STRING Destination)
struct _SINGLE_LIST_ENTRY * Next
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFDEVICE Device
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING ReferenceString