57#ifndef NO_NTVDD_COMPAT
187#define VDD_DMA_ADDR 0x01
188#define VDD_DMA_COUNT 0x02
189#define VDD_DMA_PAGE 0x04
190#define VDD_DMA_STATUS 0x08
191#define VDD_DMA_ALL (VDD_DMA_ADDR | VDD_DMA_COUNT | VDD_DMA_PAGE | VDD_DMA_STATUS)
228#define getMODE() ((getMSW() & MSW_PE) ? VDM_PM : VDM_V86)
244#define VdmFlushCache(sel, off, len, mode) TRUE
245#define VdmUnmapFlat(sel, off, buf, mode) TRUE
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLuint GLsizei GLsizei * length
VOID(WINAPI * PVDD_MEMORY_HANDLER)(PVOID FaultAddress, ULONG RWMode)
struct _VDD_USER_HANDLERS * PVDD_USER_HANDLERS
BOOL WINAPI VDDInstallUserHook(_In_ HANDLE hVdd, _In_ PFNVDD_UCREATE Ucr_Handler, _In_ PFNVDD_UTERMINATE Uterm_Handler, _In_ PFNVDD_UBLOCK Ublock_Handler, _In_ PFNVDD_URESUME Uresume_Handler)
VOID(WINAPI * PFNVDD_URESUME)(VOID)
VOID(WINAPI * PFNVDD_OUTSB)(WORD iport, PBYTE data, WORD count)
VOID(WINAPI * PFNVDD_UTERMINATE)(USHORT DosPDB)
VOID(WINAPI * PFNVDD_UCREATE)(USHORT DosPDB)
VOID(WINAPI * PFNVDD_OUTW)(WORD iport, WORD data)
VOID(WINAPI * PFNVDD_INW)(WORD iport, PWORD data)
struct _VDD_DMA_INFO * PVDD_DMA_INFO
struct _VDD_IO_HANDLERS * PVDD_IO_HANDLERS
VOID WINAPI VDDTerminateVDM(VOID)
VOID WINAPI VDDSimulate16(VOID)
struct _VDD_IO_PORTRANGE VDD_IO_PORTRANGE
VOID(WINAPI * PFNVDD_UBLOCK)(VOID)
VOID(WINAPI * PFNVDD_OUTB)(WORD iport, BYTE data)
DWORD WINAPI VDDRequestDMA(_In_ HANDLE hVdd, _In_ WORD iChannel, _Inout_ PVOID Buffer, _In_ DWORD length)
VOID(WINAPI * PFNVDD_INSB)(WORD iport, PBYTE data, WORD count)
BOOL WINAPI VDDInstallIOHook(_In_ HANDLE hVdd, _In_ WORD cPortRange, _In_ PVDD_IO_PORTRANGE pPortRange, _In_ PVDD_IO_HANDLERS IoHandlers)
VOID(WINAPI * PFNVDD_OUTSW)(WORD iport, PWORD data, WORD count)
BOOL WINAPI VDDIncludeMem(_In_ HANDLE hVdd, _In_ PVOID Address, _In_ ULONG Size)
BOOL WINAPI VDDQueryDMA(_In_ HANDLE hVdd, _In_ WORD iChannel, _In_ PVDD_DMA_INFO pDmaInfo)
struct _VDD_DMA_INFO VDD_DMA_INFO
WORD WINAPI VDDReserveIrqLine(_In_ HANDLE hVdd, _In_ WORD IrqLine)
BOOL WINAPI VDDDeInstallUserHook(_In_ HANDLE hVdd)
struct _VDD_USER_HANDLERS VDD_USER_HANDLERS
PVOID WINAPI VdmMapFlat(_In_ USHORT Segment, _In_ ULONG Offset, _In_ VDM_MODE Mode)
BOOL WINAPI VDDInstallMemoryHook(_In_ HANDLE hVdd, _In_ PVOID pStart, _In_ DWORD dwCount, _In_ PVDD_MEMORY_HANDLER MemoryHandler)
BOOL WINAPI VDDFreeMem(_In_ HANDLE hVdd, _In_ PVOID Address, _In_ ULONG Size)
VOID(WINAPI * PFNVDD_INSW)(WORD iport, PWORD data, WORD count)
BOOL WINAPI VdmFlushCache(_In_ USHORT Segment, _In_ ULONG Offset, _In_ ULONG Size, _In_ VDM_MODE Mode)
VOID WINAPI VDDDeInstallIOHook(_In_ HANDLE hVdd, _In_ WORD cPortRange, _In_ PVDD_IO_PORTRANGE pPortRange)
VOID(WINAPI * PFNVDD_INB)(WORD iport, PBYTE data)
BOOL WINAPI VDDDeInstallMemoryHook(_In_ HANDLE hVdd, _In_ PVOID pStart, _In_ DWORD dwCount)
BOOL WINAPI VDDSetDMA(_In_ HANDLE hVdd, _In_ WORD iChannel, _In_ WORD fDMA, _In_ PVDD_DMA_INFO pDmaInfo)
struct _VDD_IO_HANDLERS VDD_IO_HANDLERS
struct _VDD_IO_PORTRANGE * PVDD_IO_PORTRANGE
BOOL WINAPI VdmUnmapFlat(_In_ USHORT Segment, _In_ ULONG Offset, _In_ PVOID Buffer, _In_ VDM_MODE Mode)
BOOL WINAPI VDDExcludeMem(_In_ HANDLE hVdd, _In_ PVOID Address, _In_ ULONG Size)
BOOL WINAPI VDDReleaseIrqLine(_In_ HANDLE hVdd, _In_ WORD IrqLine)
BOOL WINAPI VDDAllocMem(_In_ HANDLE hVdd, _In_ PVOID Address, _In_ ULONG Size)
_In_ ULONG _In_ ULONG Offset
PFNVDD_OUTSB outsb_handler
PFNVDD_OUTSW outsw_handler
PFNVDD_UBLOCK Ublock_Handler
struct _VDD_USER_HANDLERS * next
PFNVDD_URESUME uresume_handler
PFNVDD_UTERMINATE Uterm_Handler
PFNVDD_UCREATE ucr_handler
PFNVDD_UTERMINATE uterm_handler
PFNVDD_UCREATE Ucr_Handler
PFNVDD_UBLOCK ublock_handler
PFNVDD_URESUME Uresume_Handler
VOID WINAPI MemoryHandler(IN PVOID FaultAddress, IN ULONG RWMode)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size