ifndef __DDKMMINI_INCLUDED__
__DDKMMINI_INCLUDED__	EQU	1
MINIPROC STRUC
	DD	?
MINIPROC ENDS

_DDMINIVDDTABLE	STRUC
dwMiniVDDContext	DWORD	<>
vddGetIRQInfo	DD	?
vddIsOurIRQ	DD	?
vddEnableIRQ	DD	?
vddSkipNextField	DD	?
vddBobNextField	DD	?
vddSetState	DD	?
vddLock	DD	?
vddFlipOverlay	DD	?
vddFlipVideoPort	DD	?
vddGetPolarity	DD	?
vddReserved1	DD	?
vddGetCurrentAutoflip	DD	?
vddGetPreviousAutoflip	DD	?
vddTransfer	DD	?
vddGetTransferStatus	DD	?
_DDMINIVDDTABLE	ENDS
LPDDMINIVDDTABLE STRUC
	DD	?
LPDDMINIVDDTABLE ENDS

_MDL	STRUC
MdlNext	DD	?
MdlSize	DW	?
MdlFlags	DW	?
Process	DD	?
lpMappedSystemVa	DD	?
lpStartVa	DD	?
ByteCount	DD	?
ByteOffset	DD	?
_MDL	ENDS
PMDL STRUC
	DD	?
PMDL ENDS
MDL_MAPPED_TO_SYSTEM_VA	EQU	0001H
MDL_PAGES_LOCKED	EQU	0002H
MDL_SOURCE_IS_NONPAGED_POOL	EQU	0004H
MDL_ALLOCATED_FIXED_SIZE	EQU	0008H
MDL_PARTIAL	EQU	0010H
MDL_PARTIAL_HAS_BEEN_MAPPED	EQU	0020H
MDL_IO_PAGE_READ	EQU	0040H
MDL_WRITE_OPERATION	EQU	0080H
MDL_PARENT_MAPPED_SYSTEM_VA	EQU	0100H
MDL_LOCK_HELD	EQU	0200H
MDL_SCATTER_GATHER_VA	EQU	0400H
MDL_IO_SPACE	EQU	0800H
MDL_NETWORK_HEADER	EQU	1000H
MDL_MAPPING_CAN_FAIL	EQU	2000H
MDL_ALLOCATED_MUST_SUCCEED	EQU	4000H
MDL_64_BIT_VA	EQU	8000H
MDL_MAPPING_FLAGS	EQU	<(MDL_MAPPED_TO_SYSTEM_VA OR MDL_PAGES_LOCKED OR MDL_SOURCE_IS_NONPAGED_POOL OR MDL_PARTIAL_HAS_BEEN_MAPPED OR MDL_PARENT_MAPPED_SYSTEM_VA OR MDL_LOCK_HELD OR MDL_SYSTEM_VA OR MDL_IO_SPACE)>
PKEVENT STRUC
	DD	?
PKEVENT ENDS

_DDSURFACEDATA	STRUC
dwSize	DWORD	<>
ddsCaps	DWORD	<>
dwSurfaceOffset	DWORD	<>
fpLockPtr	DWORD	<>
dwWidth	DWORD	<>
dwHeight	DWORD	<>
lPitch	DD	?
dwOverlayFlags	DWORD	<>
dwOverlayOffset	DWORD	<>
dwOverlaySrcWidth	DWORD	<>
dwOverlaySrcHeight	DWORD	<>
dwOverlayDestWidth	DWORD	<>
dwOverlayDestHeight	DWORD	<>
dwVideoPortId	DWORD	<>
pInternal1	DD	?
pInternal2	DD	?
pInternal3	DD	?
dwFormatFlags	DWORD	<>
dwFormatFourCC	DWORD	<>
dwFormatBitCount	DWORD	<>
dwRBitMask	DWORD	<>
dwGBitMask	DWORD	<>
dwBBitMask	DWORD	<>
dwSurfInternalFlags	DWORD	<>
dwIndex	DWORD	<>
dwRefCnt	DWORD	<>
dwDriverReserved1	DWORD	<>
dwDriverReserved2	DWORD	<>
dwDriverReserved3	DWORD	<>
_DDSURFACEDATA	ENDS
LPDDSURFACEDATA STRUC
	DD	?
LPDDSURFACEDATA ENDS

DDVIDEOPORTDATA	STRUC
dwSize	DWORD	<>
dwVideoPortId	DWORD	<>
dwVPFlags	DWORD	<>
dwOriginOffset	DWORD	<>
dwHeight	DWORD	<>
dwVBIHeight	DWORD	<>
dwDriverReserved1	DWORD	<>
dwDriverReserved2	DWORD	<>
dwDriverReserved3	DWORD	<>
DDVIDEOPORTDATA	ENDS
LPDDVIDEOPORTDATA STRUC
	DD	?
LPDDVIDEOPORTDATA ENDS

_DDGETIRQINFO	STRUC
dwSize	DWORD	<>
dwFlags	DWORD	<>
dwIRQNum	DWORD	<>
_DDGETIRQINFO	ENDS
IRQINFO_HANDLED	EQU	01H
IRQINFO_NOTHANDLED	EQU	02H
IRQINFO_NODISABLEFORDOSBOX	EQU	04H

_DDENABLEIRQINFO	STRUC
dwSize	DWORD	<>
dwIRQSources	DWORD	<>
dwLine	DWORD	<>
IRQCallback	DWORD	<>
dwContext	DWORD	<>
_DDENABLEIRQINFO	ENDS

_DDFLIPVIDEOPORTINFO	STRUC
dwSize	DWORD	<>
lpVideoPortData	DWORD	<>
lpCurrentSurface	DWORD	<>
lpTargetSurface	DWORD	<>
dwFlipVPFlags	DWORD	<>
_DDFLIPVIDEOPORTINFO	ENDS

_DDFLIPOVERLAYINFO	STRUC
dwSize	DWORD	<>
lpCurrentSurface	DWORD	<>
lpTargetSurface	DWORD	<>
dwFlags	DWORD	<>
_DDFLIPOVERLAYINFO	ENDS

_DDSTATEININFO	STRUC
dwSize	DWORD	<>
lpSurfaceData	DWORD	<>
lpVideoPortData	DWORD	<>
_DDSTATEININFO	ENDS

_DDSTATEOUTINFO	STRUC
dwSize	DWORD	<>
dwSoftwareAutoflip	DWORD	<>
dwSurfaceIndex	DWORD	<>
dwVBISurfaceIndex	DWORD	<>
_DDSTATEOUTINFO	ENDS

_DDPOLARITYININFO	STRUC
dwSize	DWORD	<>
lpVideoPortData	DWORD	<>
_DDPOLARITYININFO	ENDS

_DDPOLARITYOUTINFO	STRUC
dwSize	DWORD	<>
bPolarity	DWORD	<>
_DDPOLARITYOUTINFO	ENDS

_DDLOCKININFO	STRUC
dwSize	DWORD	<>
lpSurfaceData	DWORD	<>
_DDLOCKININFO	ENDS

_DDLOCKOUTINFO	STRUC
dwSize	DWORD	<>
dwSurfacePtr	DWORD	<>
_DDLOCKOUTINFO	ENDS

_DDBOBINFO	STRUC
dwSize	DWORD	<>
lpSurface	DWORD	<>
_DDBOBINFO	ENDS

_DDSKIPINFO	STRUC
dwSize	DWORD	<>
lpVideoPortData	DWORD	<>
dwSkipFlags	DWORD	<>
_DDSKIPINFO	ENDS

_DDSETSKIPINFO	STRUC
dwSize	DWORD	<>
lpVideoPortData	DWORD	<>
dwPattern	DWORD	<>
dwPatternSize	DWORD	<>
_DDSETSKIPINFO	ENDS

_DDGETAUTOFLIPININFO	STRUC
dwSize	DWORD	<>
lpVideoPortData	DWORD	<>
_DDGETAUTOFLIPININFO	ENDS

_DDGETAUTOFLIPOUTINFO	STRUC
dwSize	DWORD	<>
dwSurfaceIndex	DWORD	<>
dwVBISurfaceIndex	DWORD	<>
_DDGETAUTOFLIPOUTINFO	ENDS

_DDTRANSFERININFO	STRUC
dwSize	DWORD	<>
lpSurfaceData	DWORD	<>
dwStartLine	DWORD	<>
dwEndLine	DWORD	<>
dwTransferID	DWORD	<>
dwTransferFlags	DWORD	<>
lpDestMDL	DD	?
_DDTRANSFERININFO	ENDS

_DDTRANSFEROUTINFO	STRUC
dwSize	DWORD	<>
dwBufferPolarity	DWORD	<>
_DDTRANSFEROUTINFO	ENDS

_DDGETTRANSFERSTATUSOUTINFO	STRUC
dwSize	DWORD	<>
dwTransferID	DWORD	<>
_DDGETTRANSFERSTATUSOUTINFO	ENDS
DDIRQ_DISPLAY_VSYNC	EQU	00000001H
DDIRQ_BUSMASTER	EQU	00000002H
DDIRQ_VPORT0_VSYNC	EQU	00000004H
DDIRQ_VPORT0_LINE	EQU	00000008H
DDIRQ_VPORT1_VSYNC	EQU	00000010H
DDIRQ_VPORT1_LINE	EQU	00000020H
DDIRQ_VPORT2_VSYNC	EQU	00000040H
DDIRQ_VPORT2_LINE	EQU	00000080H
DDIRQ_VPORT3_VSYNC	EQU	00000100H
DDIRQ_VPORT3_LINE	EQU	00000200H
DDIRQ_VPORT4_VSYNC	EQU	00000400H
DDIRQ_VPORT4_LINE	EQU	00000800H
DDIRQ_VPORT5_VSYNC	EQU	00001000H
DDIRQ_VPORT5_LINE	EQU	00002000H
DDIRQ_VPORT6_VSYNC	EQU	00004000H
DDIRQ_VPORT6_LINE	EQU	00008000H
DDIRQ_VPORT7_VSYNC	EQU	00010000H
DDIRQ_VPORT7_LINE	EQU	00020000H
DDIRQ_VPORT8_VSYNC	EQU	00040000H
DDIRQ_VPORT8_LINE	EQU	00080000H
DDIRQ_VPORT9_VSYNC	EQU	00010000H
DDIRQ_VPORT9_LINE	EQU	00020000H
DDIRQ_MISCELLANOUS	EQU	80000000H
DDSKIP_SKIPNEXT	EQU	1
DDSKIP_ENABLENEXT	EQU	2
DDVPFLIP_VIDEO	EQU	00000001H
DDVPFLIP_VBI	EQU	00000002H
DDTRANSFER_SYSTEMMEMORY	EQU	00000001H
DDTRANSFER_NONLOCALVIDMEM	EQU	00000002H
DDTRANSFER_INVERT	EQU	00000004H
DDTRANSFER_CANCEL	EQU	00000080H
DDTRANSFER_HALFLINES	EQU	00000100H
endif
