30#ifndef __IFX_MEMORY_HPP__
31#define __IFX_MEMORY_HPP__
112 if (Offsets ==
NULL) {
116 status = RtlSizeTAdd(Offsets->BufferLength, Offsets->BufferOffset, &
total);
134 __in size_t SourceBufferLength,
143 __in size_t DestinationBufferLength,
153 __in size_t SourceBufferLength,
156 __in size_t DestinationBufferLength,
virtual size_t GetBufferSize(VOID)=0
virtual USHORT GetFlags(VOID)=0
virtual ULONG Release(__in PVOID Tag, __in LONG Line, __in_opt PSTR File)=0
virtual PMDL GetMdl(VOID)=0
_Must_inspect_result_ NTSTATUS ValidateMemoryOffsets(__in_opt PWDFMEMORY_OFFSET Offsets)
virtual WDFMEMORY GetHandle(VOID)=0
virtual ULONG AddRef(__in PVOID Tag, __in LONG Line, __in_opt PSTR File)=0
virtual PFX_DRIVER_GLOBALS GetDriverGlobals(VOID)=0
_Must_inspect_result_ NTSTATUS CopyToPtr(__in_opt PWDFMEMORY_OFFSET SourceOffsets, __out_bcount(DestinationBufferLength) PVOID DestinationBuffer, __in size_t DestinationBufferLength, __in_opt PWDFMEMORY_OFFSET DestinationOffsets)
virtual PVOID GetBuffer(VOID)=0
virtual VOID Delete(VOID)=0
_Must_inspect_result_ NTSTATUS CopyFromPtr(__in_opt PWDFMEMORY_OFFSET DestinationOffsets, __in_bcount(SourceBufferLength) PVOID SourceBuffer, __in size_t SourceBufferLength, __in_opt PWDFMEMORY_OFFSET SourceOffsets)
static _Must_inspect_result_ NTSTATUS _CopyPtrToPtr(__in_bcount(SourceBufferLength) PVOID SourceBuffer, __in size_t SourceBufferLength, __in_opt PWDFMEMORY_OFFSET SourceOffsets, __out_bcount(DestinationBufferLength) PVOID DestinationBuffer, __in size_t DestinationBufferLength, __in_opt PWDFMEMORY_OFFSET DestinationOffsets)
#define NT_SUCCESS(StatCode)
#define _Must_inspect_result_
#define STATUS_INTEGER_OVERFLOW
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag