MxDeviceObject m_AttachedDevice
MxDeviceObject m_DeviceObject
VOID DeleteSymbolicLink(VOID)
BOOLEAN IsRemoveLockEnabledForIo(VOID)
static FxDevice * GetFxDevice(__in MdDeviceObject DeviceObject)
VOID InvalidateDeviceState(VOID)
MdDeviceObject __inline GetSafePhysicalDevice(VOID)
static FxWdmDeviceExtension * _GetFxWdmExtension(__in MdDeviceObject DeviceObject)
MdRemoveLock GetRemoveLock(VOID)
UNICODE_STRING m_SymbolicLinkName
static __inline NTSTATUS _GetDeviceProperty(_In_ MdDeviceObject DeviceObject, _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty, _In_ ULONG BufferLength, _Out_opt_ PVOID PropertyBuffer, _Out_ PULONG ResultLength)
static __inline NTSTATUS _OpenDeviceRegistryKey(_In_ MdDeviceObject DeviceObject, _In_ ULONG DevInstKeyType, _In_ ACCESS_MASK DesiredAccess, _Out_ PHANDLE DevInstRegKey)
__inline VOID SetObject(__in_opt MdDeviceObject DeviceObject)
PVOID GetDeviceExtension(VOID)
__inline MdDeviceObject GetObject(VOID)
static VOID MxDetachDevice(_Inout_ MdDeviceObject Device)
static __inline VOID MxDeleteSymbolicLink(__in PUNICODE_STRING Link)
MxDeviceObject deviceObject
return pDevice GetDeviceObject()
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
NTSTATUS NTAPI IoOpenDeviceRegistryKey(IN PDEVICE_OBJECT DeviceObject, IN ULONG DevInstKeyType, IN ACCESS_MASK DesiredAccess, OUT PHANDLE DevInstRegKey)
NTSTATUS NTAPI IoGetDeviceProperty(IN PDEVICE_OBJECT DeviceObject, IN DEVICE_REGISTRY_PROPERTY DeviceProperty, IN ULONG BufferLength, OUT PVOID PropertyBuffer, OUT PULONG ResultLength)
VOID NTAPI IoInvalidateDeviceState(IN PDEVICE_OBJECT DeviceObject)
ULONG RemoveLockOptionFlags
WUDF_IO_REMOVE_LOCK IoRemoveLock
#define RtlZeroMemory(Destination, Length)
#define CONTAINING_RECORD(address, type, field)
#define WDF_PTR_ADD_OFFSET(_ptr, _offset)
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
@ WDF_REMOVE_LOCK_OPTION_ACQUIRE_FOR_IO
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
_In_ ULONG _In_ ACCESS_MASK _Out_ PHANDLE DevInstRegKey
_In_ ULONG DevInstKeyType