37EFI_GUID BlpEfiSecureBootPrivateNamespace = { 0x77FA9ABD , 0x0359, 0x4D32, { 0xBD, 0x60, 0x28, 0xF4, 0xE7, 0x8F, 0x78, 0x4B } };
57 CurrentPath1 = DevicePath1;
58 CurrentPath2 = DevicePath2;
117 DevicePath = NextDevicePath;
194 AddressMapped =
FALSE;
221 NextEntry = HashList->
Flink;
224 while (NextEntry != HashList)
239 NextEntry = NextEntry->
Flink;
256 (
PVOID*)&InterfaceAddress);
263 (
PVOID*)&InterfaceAddress,
305 AddressMapped =
TRUE;
353 AddressMapped =
FALSE;
510 if (EfiProtocol->AddressMapped)
546 NextEntry = ListHead->
Flink;
547 while (NextEntry != ListHead)
573 NextEntry = NextEntry->
Flink;
650 ULONG LocalAttributes;
665 (
UINT32*)&LocalAttributes,
718 if ((SecureBoot !=
TRUE) || (SetupMode))
769 SecureBootEnabled =
FALSE;
880 EfiStatus = ConInEx->SetState(ConInEx, KeyToggleState);
1053 EfiStatus = TextInterface->QueryMode(TextInterface,
Mode,
Columns,
Rows);
1085 EfiStatus = TextInterface->SetMode(TextInterface,
Mode);
1117 EfiStatus = TextInterface->SetAttribute(TextInterface, Attribute);
1150 EfiStatus = TextInterface->SetCursorPosition(TextInterface, Column, Row);
1182 EfiStatus = TextInterface->EnableCursor(TextInterface, Visible);
1214 EfiStatus = TextInterface->OutputString(TextInterface,
String);
1285 FrameBuffer->QuadPart = GopInterface->Mode->FrameBufferBase;
1335 *
Mode = GopInterface->Mode->Mode;
1370 if (
Mode == GopInterface->Mode->Mode)
1376 EfiStatus = GopInterface->SetMode(GopInterface,
Mode);
1414 if (!(
Buffer) || !(HandleCount))
1621 sizeof(*TableGuid)))
1851 BOOLEAN UseEfiBuffer, HaveRamDisk;
1863 PVOID LibraryBuffer;
1866 EfiMemoryMapSize = MapKey =
DescriptorSize = DescriptorVersion = 0;
1867 LibraryBuffer =
NULL;
1876 UseEfiBuffer =
TRUE;
1894 &DescriptorVersion);
1961 &DescriptorVersion);
1997 &DescriptorVersion);
2028 HaveRamDisk =
FALSE;
2035 EfiPrintf(
L"===============================================================\r\n");
2037 while (EfiMemoryMapSize != 0)
2040 if ((UseEfiBuffer) && (OldMode !=
BlRealMode))
2049 if ((UseEfiBuffer) && (OldMode !=
BlRealMode))
2076 EfiPrintf(
L"%08X 0x%016I64X-0x%016I64X 0x%I64X\r\n",
2221 Pages = (EfiBufferPage + Pages) - EfiBufferPage;
2273 if (LibraryBuffer != 0)
2299 if (!(FirmwareData) || !(FirmwareData->Version))
2327 if (FirmwareData->Version == 1)
2380 ULONG PathProtocols, BlockProtocols;
2407 while (PathProtocols)
2424 while (BlockProtocols)
2428 BlockArray[--BlockProtocols]);
#define EFI_ACPI_TABLE_GUID
#define EFI_ACPI_20_TABLE_GUID
#define EFI_BLOCK_IO_PROTOCOL_GUID
FORCEINLINE EFI_DEVICE_PATH_PROTOCOL * NextDevicePathNode(_In_ PVOID Node)
#define EFI_DEVICE_PATH_PROTOCOL_GUID
FORCEINLINE UINTN DevicePathNodeLength(_In_ PVOID Node)
FORCEINLINE BOOLEAN IsDevicePathEndType(_In_ PVOID Node)
#define EFI_GLOBAL_VARIABLE
#define EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID
#define EFI_LOADED_IMAGE_PROTOCOL_GUID
#define EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID
UINT8 EFI_KEY_TOGGLE_STATE
#define EFI_TOGGLE_STATE_VALID
#define EFI_MEDIA_CHANGED
UINT64 EFI_PHYSICAL_ADDRESS
#define EFI_SECURITY_VIOLATION
#define EFI_PAGES_TO_SIZE(Pages)
#define EFI_ALREADY_STARTED
#define EFI_INVALID_PARAMETER
#define EFI_WRITE_PROTECTED
#define EFI_VOLUME_CORRUPTED
#define EFI_ACCESS_DENIED
#define EFI_BAD_BUFFER_SIZE
#define EFI_BUFFER_TOO_SMALL
#define EFI_OUT_OF_RESOURCES
@ EfiMemoryMappedIOPortSpace
#define EFI_MEMORY_RUNTIME
#define EFI_1_02_SYSTEM_TABLE_REVISION
#define EFI_OPEN_PROTOCOL_GET_PROTOCOL
#define EFI_UGA_DRAW_PROTOCOL_GUID
static const COLUMN_LIST Columns[]
NTSTATUS BlockIoEfiCompareDevice(_In_ PBL_DEVICE_DESCRIPTOR Device, _In_ EFI_HANDLE Handle)
PBL_MEMORY_DESCRIPTOR MmMdFindDescriptorFromMdl(_In_ PBL_MEMORY_DESCRIPTOR_LIST MdList, _In_ ULONG Flags, _In_ ULONGLONG Page)
#define BL_FIRMWARE_DESCRIPTOR_VERSION
NTSTATUS MmMdFreeDescriptor(_In_ PBL_MEMORY_DESCRIPTOR MemoryDescriptor)
NTSTATUS MmMdAddDescriptorToList(_In_ PBL_MEMORY_DESCRIPTOR_LIST MdList, _In_ PBL_MEMORY_DESCRIPTOR MemoryDescriptor, _In_ ULONG Flags)
PBL_MEMORY_DESCRIPTOR MmMdInitByteGranularDescriptor(_In_ ULONG Flags, _In_ BL_MEMORY_TYPE Type, _In_ ULONGLONG BasePage, _In_ ULONGLONG VirtualPage, _In_ ULONGLONG PageCount)
NTSTATUS BlHtStore(_In_ ULONG TableId, _In_ PBL_HASH_ENTRY Entry, _In_ PVOID Data, _In_ ULONG DataSize)
#define BL_MM_FLAG_REQUEST_COALESCING
BL_TRANSLATION_TYPE MmTranslationType
#define BL_LIBRARY_FLAG_INITIALIZATION_COMPLETED
#define BL_MM_INCLUDE_MAPPED_ALLOCATED
NTSTATUS MmPapAllocatePagesInRange(_Inout_ PVOID *PhysicalAddress, _In_ BL_MEMORY_TYPE MemoryType, _In_ ULONGLONG Pages, _In_ ULONG Attributes, _In_ ULONG Alignment, _In_opt_ PBL_ADDRESS_RANGE Range, _In_ ULONG Type)
PVOID BlMmAllocateHeap(_In_ SIZE_T Size)
NTSTATUS BlHtCreate(_In_ ULONG Size, _In_ PBL_HASH_TABLE_HASH_FUNCTION HashFunction, _In_ PBL_HASH_TABLE_COMPARE_FUNCTION CompareFunction, _Out_ PULONG Id)
enum _BL_MEMORY_TYPE BL_MEMORY_TYPE
NTSTATUS BlMmUnmapVirtualAddressEx(_In_ PVOID VirtualAddress, _In_ ULONGLONG Size)
NTSTATUS MmPapFreePages(_In_ PVOID Address, _In_ ULONG WhichList)
PBL_DEVICE_DESCRIPTOR BlpBootDevice
#define BL_MM_ADD_DESCRIPTOR_COALESCE_FLAG
#define BL_MM_REMOVE_PHYSICAL_REGION_FLAG
VOID BlpArchSwitchContext(_In_ BL_ARCH_MODE NewMode)
enum _BL_MEMORY_ATTR BL_MEMORY_ATTR
#define BL_MM_ADD_DESCRIPTOR_TRUNCATE_FLAG
PBL_ARCH_CONTEXT CurrentExecutionContext
NTSTATUS BlHtDelete(_In_ ULONG TableId, _In_ PBL_HASH_ENTRY Entry)
BL_LIBRARY_PARAMETERS BlpLibraryParameters
#define BL_HT_VALUE_IS_INLINE
#define BL_MM_FLAG_USE_FIRMWARE_FOR_MEMORY_MAP_BUFFERS
ULONG MmDescriptorCallTreeCount
NTSTATUS BlMmMapPhysicalAddressEx(_In_ PVOID *VirtualAddress, _In_ ULONG Attributes, _In_ ULONGLONG Size, _In_ PHYSICAL_ADDRESS PhysicalAddress)
VOID MmMdFreeList(_In_ PBL_MEMORY_DESCRIPTOR_LIST MdList)
NTSTATUS MmMdRemoveRegionFromMdlEx(__in PBL_MEMORY_DESCRIPTOR_LIST MdList, __in ULONG Flags, __in ULONGLONG BasePage, __in ULONGLONG PageCount, __in PBL_MEMORY_DESCRIPTOR_LIST NewMdList)
@ BlMemoryExecuteProtected
@ BlMemoryUncachedExported
FORCEINLINE PVOID PhysicalAddressToPtr(_In_ PHYSICAL_ADDRESS PhysicalAddress)
NTSTATUS BlMmFreeHeap(_In_ PVOID Buffer)
BOOLEAN BlMmTranslateVirtualAddress(_In_ PVOID VirtualAddress, _Out_ PPHYSICAL_ADDRESS PhysicalAddress)
NTSTATUS BlHtLookup(_In_ ULONG TableId, _In_ PBL_HASH_ENTRY Entry, _Out_ PBL_HASH_VALUE *Value)
enum _BL_ARCH_MODE BL_ARCH_MODE
BIOS_MEMORY_MAP MemoryMap[32]
NTSTATUS BlSecureBootIsEnabled(_Out_ PBOOLEAN SecureBootEnabled)
BL_FIRMWARE_DESCRIPTOR EfiFirmwareData
NTSTATUS EfiGetNtStatusCode(_In_ EFI_STATUS EfiStatus)
struct _BL_EFI_PROTOCOL * PBL_EFI_PROTOCOL
EFI_GUID EfiGraphicsOutputProtocol
EFI_DEVICE_PATH * EfiIsDevicePathParent(_In_ EFI_DEVICE_PATH *DevicePath1, _In_ EFI_DEVICE_PATH *DevicePath2)
NTSTATUS EfiVmOpenProtocol(_In_ EFI_HANDLE Handle, _In_ EFI_GUID *Protocol, _Outptr_ PVOID *Interface)
NTSTATUS EfiConOutQueryMode(_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface, _In_ ULONG Mode, _In_ UINTN *Columns, _In_ UINTN *Rows)
NTSTATUS EfiCloseProtocol(_In_ EFI_HANDLE Handle, _In_ EFI_GUID *Protocol)
EFI_BOOT_SERVICES * EfiBS
NTSTATUS EfiGopGetCurrentMode(_In_ EFI_GRAPHICS_OUTPUT_PROTOCOL *GopInterface, _Out_ UINTN *Mode, _Out_ EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Information)
VOID EfiPrintf(_In_ PWCHAR Format,...)
BL_MEMORY_TYPE MmFwpGetOsMemoryType(_In_ EFI_MEMORY_TYPE MemoryType)
EFI_HANDLE EfiImageHandle
EFI_GUID EfiRootAcpiTable10Guid
EFI_GUID EfiDevicePathProtocol
EFI_GUID EfiBlockIoProtocol
EFI_SYSTEM_TABLE * EfiSystemTable
NTSTATUS EfiOpenProtocol(_In_ EFI_HANDLE Handle, _In_ EFI_GUID *Protocol, _Outptr_ PVOID *Interface)
VOID EfiResetSystem(_In_ EFI_RESET_TYPE ResetType)
EFI_GUID EfiLoadedImageProtocol
EFI_GUID EfiRootAcpiTableGuid
BOOLEAN BlpFirmwareEnabled
NTSTATUS EfiConOutSetMode(_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface, _In_ ULONG Mode)
VOID EfiConOutReadCurrentMode(_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface, _Out_ EFI_SIMPLE_TEXT_OUTPUT_MODE *Mode)
BOOLEAN EfiProtHashTableInitialized
NTSTATUS BlpFwInitialize(_In_ ULONG Phase, _In_ PBL_FIRMWARE_DESCRIPTOR FirmwareData)
NTSTATUS BlSecureBootCheckForFactoryReset(VOID)
PBL_FIRMWARE_DESCRIPTOR EfiFirmwareParameters
NTSTATUS EfiFreePages(_In_ ULONG Pages, _In_ EFI_PHYSICAL_ADDRESS PhysicalAddress)
NTSTATUS BlFwEnumerateDevice(_In_ PBL_DEVICE_DESCRIPTOR Device)
EFI_STATUS EfiGetEfiStatusCode(_In_ NTSTATUS Status)
EFI_GUID BlpEfiSecureBootPrivateNamespace
EFI_GUID EfiSimpleTextInputExProtocol
NTSTATUS EfiVmCloseProtocol(_In_ EFI_HANDLE Handle, _In_ EFI_GUID *Protocol)
NTSTATUS EfiStall(_In_ ULONG StallTime)
BOOLEAN BlpFirmwareChecked
NTSTATUS EfiVmpFreeInterfaceEntry(_In_ EFI_HANDLE Handle, _In_ PBL_EFI_PROTOCOL EfiProtocol)
BL_MEMORY_ATTR MmFwpGetOsAttributeType(_In_ ULONGLONG Attribute)
NTSTATUS BlpSecureBootEFIIsEnabled(VOID)
EFI_DEVICE_PATH * EfiGetLeafNode(_In_ EFI_DEVICE_PATH *DevicePath)
NTSTATUS EfiConOutSetCursorPosition(_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface, _In_ ULONG Column, _In_ ULONG Row)
WCHAR BlScratchBuffer[8192]
NTSTATUS EfiGetMemoryMap(_Out_ UINTN *MemoryMapSize, _Inout_ EFI_MEMORY_DESCRIPTOR *MemoryMap, _Out_ UINTN *MapKey, _Out_ UINTN *DescriptorSize, _Out_ UINTN *DescriptorVersion)
EFI_RUNTIME_SERVICES * EfiRT
EFI_SIMPLE_TEXT_INPUT_PROTOCOL * EfiConIn
NTSTATUS EfiConnectController(_In_ EFI_HANDLE ControllerHandle)
NTSTATUS EfiConOutSetAttribute(_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface, _In_ ULONG Attribute)
NTSTATUS BlFwGetParameters(_In_ PBL_FIRMWARE_DESCRIPTOR Parameters)
NTSTATUS EfiConInExSetState(_In_ EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *ConInEx, _In_ EFI_KEY_TOGGLE_STATE *KeyToggleState)
VOID EfiGopGetFrameBuffer(_In_ EFI_GRAPHICS_OUTPUT_PROTOCOL *GopInterface, _Out_ PHYSICAL_ADDRESS *FrameBuffer, _Out_ UINTN *FrameBufferSize)
EFI_GUID EfiUgaDrawProtocol
EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL * EfiConInEx
NTSTATUS EfiConOutOutputString(_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface, _In_ PWCHAR String)
NTSTATUS EfiConOutEnableCursor(_In_ SIMPLE_TEXT_OUTPUT_INTERFACE *TextInterface, _In_ BOOLEAN Visible)
NTSTATUS EfiGetVariable(_In_ PWCHAR VariableName, _In_ EFI_GUID *VendorGuid, _Out_opt_ PULONG Attributes, _Inout_ PULONG DataSize, _Out_ PVOID Data)
EFI_GUID EfiGlobalVariable
struct _BL_EFI_PROTOCOL BL_EFI_PROTOCOL
NTSTATUS EfiVmpCloseProtocol(_In_ EFI_HANDLE Handle, _In_ EFI_GUID *Protocol)
NTSTATUS EfiGopSetMode(_In_ EFI_GRAPHICS_OUTPUT_PROTOCOL *GopInterface, _In_ ULONG Mode)
NTSTATUS MmFwGetMemoryMap(_Out_ PBL_MEMORY_DESCRIPTOR_LIST MemoryMap, _In_ ULONG Flags)
NTSTATUS EfiAllocatePages(_In_ ULONG Type, _In_ ULONG Pages, _Inout_ EFI_PHYSICAL_ADDRESS *Memory)
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL * EfiConOut
NTSTATUS EfipGetSystemTable(_In_ EFI_GUID *TableGuid, _Out_ PPHYSICAL_ADDRESS TableAddress)
NTSTATUS EfiLocateHandleBuffer(_In_ EFI_LOCATE_SEARCH_TYPE SearchType, _In_ EFI_GUID *Protocol, _Inout_ PULONG HandleCount, _Inout_ EFI_HANDLE **Buffer)
NTSTATUS EfipGetRsdt(_Out_ PPHYSICAL_ADDRESS FoundRsdt)
NTSTATUS EfiSetWatchdogTimer(VOID)
NTSTATUS EfiConInExReset(VOID)
NTSTATUS EfiConInReset(VOID)
while(CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext))
#define STATUS_NOT_SUPPORTED
#define STATUS_NOT_IMPLEMENTED
#define NT_SUCCESS(StatCode)
#define RemoveEntryList(Entry)
#define InsertTailList(ListHead, Entry)
#define IsListEmpty(ListHead)
#define RtlCompareMemory(s1, s2, l)
#define InitializeListHead(ListHead)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
__CRT_INLINE int __cdecl vsnwprintf(wchar_t *s, size_t n, const wchar_t *format, va_list arg)
#define RtlEqualMemory(dst, src, len)
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define STATUS_INVALID_BUFFER_SIZE
#define STATUS_MEDIA_CHANGED
#define STATUS_DEVICE_ALREADY_ATTACHED
#define STATUS_DRIVER_UNABLE_TO_LOAD
#define STATUS_INVALID_SIGNATURE
#define STATUS_DEVICE_NOT_READY
#define STATUS_BUFFER_TOO_SMALL
EFI_ALLOCATE_PAGES AllocatePages
EFI_LOCATE_HANDLE LocateHandle
EFI_CLOSE_PROTOCOL CloseProtocol
EFI_SET_WATCHDOG_TIMER SetWatchdogTimer
EFI_HANDLE_PROTOCOL HandleProtocol
EFI_GET_MEMORY_MAP GetMemoryMap
EFI_OPEN_PROTOCOL OpenProtocol
EFI_CONNECT_CONTROLLER ConnectController
EFI_PHYSICAL_ADDRESS PhysicalStart
EFI_GET_VARIABLE GetVariable
EFI_RESET_SYSTEM ResetSystem
EFI_BOOT_SERVICES * BootServices
EFI_CONFIGURATION_TABLE * ConfigurationTable
EFI_HANDLE ConsoleInHandle
EFI_RUNTIME_SERVICES * RuntimeServices
EFI_SIMPLE_TEXT_INPUT_PROTOCOL * ConIn
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL * ConOut
UINTN NumberOfTableEntries
BL_LOCAL_DEVICE_TYPE Type
EFI_TEXT_STRING OutputString
struct _LIST_ENTRY * Flink
PHYSICAL_ADDRESS XsdtAddress
_In_ SIZE_T DescriptorSize
static BOOLEAN ModeChanged
struct _LIST_ENTRY * PLIST_ENTRY
#define RtlCopyMemory(Destination, Source, Length)
#define CONTAINING_RECORD(address, type, field)
#define STATUS_IO_DEVICE_ERROR
#define STATUS_MEDIA_WRITE_PROTECTED
#define STATUS_ACCESS_DENIED
#define STATUS_INVALID_PARAMETER
#define STATUS_REQUEST_ABORTED
#define STATUS_UNSUCCESSFUL
#define STATUS_DISK_CORRUPT_ERROR
#define STATUS_INSUFFICIENT_RESOURCES
EFI_MEMORY_DESCRIPTOR * EfiMemoryMap
_Must_inspect_result_ _In_ WDFDEVICE Device
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY * Memory
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
int WINAPI EndPage(_In_ HDC)
int WINAPI StartPage(_In_ HDC)
_Must_inspect_result_ _In_ ULONG Flags
_In_ ULONG _In_ PHYSICAL_ADDRESS _Inout_ PULONG _Out_ PPHYSICAL_ADDRESS TranslatedAddress
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
#define ROUND_TO_PAGES(Size)
#define BYTES_TO_PAGES(Size)
_In_ BOOLEAN _In_ ULONG _Out_ PULONG HashValue