1c2c66affSColin Finck@ stdcall VideoPortAcquireDeviceLock(ptr) 2c2c66affSColin Finck@ stdcall VideoPortAcquireSpinLock(ptr ptr ptr) 3c2c66affSColin Finck@ stdcall VideoPortAcquireSpinLockAtDpcLevel(ptr ptr) 4c2c66affSColin Finck@ stdcall VideoPortAllocateBuffer(ptr long ptr) 5c2c66affSColin Finck@ stdcall VideoPortAllocateCommonBuffer(ptr ptr long ptr long ptr) 6c2c66affSColin Finck@ stdcall VideoPortAllocateContiguousMemory(ptr long long long) 7c2c66affSColin Finck@ stdcall VideoPortAllocatePool(ptr long long long) 8c2c66affSColin Finck@ stdcall VideoPortAssociateEventsWithDmaHandle(ptr ptr ptr ptr) 9c2c66affSColin Finck@ stdcall VideoPortCheckForDeviceExistence(ptr long long long long long long) 10c2c66affSColin Finck 11c2c66affSColin Finck;; Starting NT 5.1, the following function was introduced for a mysterious reason 12c2c66affSColin Finck;; (it differs from the previous one only by its name). 13c2c66affSColin Finck@ stdcall VideoPortCheckForDeviceExistance(ptr long long long long long long) VideoPortCheckForDeviceExistence 14c2c66affSColin Finck 15c2c66affSColin Finck@ stdcall VideoPortClearEvent(ptr ptr) 16c2c66affSColin Finck@ stdcall VideoPortCompareMemory(ptr ptr long) NTOSKRNL.RtlCompareMemory 17c2c66affSColin Finck@ stdcall VideoPortCompleteDma(ptr ptr ptr long) 18c2c66affSColin Finck@ stdcall VideoPortCreateEvent(ptr long ptr ptr) 19c2c66affSColin Finck@ stdcall VideoPortCreateSecondaryDisplay(ptr ptr long) 20c2c66affSColin Finck@ stdcall VideoPortCreateSpinLock(ptr ptr) 21c2c66affSColin Finck@ stdcall VideoPortDDCMonitorHelper(ptr ptr ptr long) 22*889b077bSSerge Gautherie@ varargs VideoPortDebugPrint(long str) 23c2c66affSColin Finck@ stdcall VideoPortDeleteEvent(ptr ptr) 24c2c66affSColin Finck@ stdcall VideoPortDeleteSpinLock(ptr ptr) 25c2c66affSColin Finck@ stdcall VideoPortDisableInterrupt(ptr) 26c2c66affSColin Finck@ stdcall VideoPortDoDma(ptr ptr long) 27c2c66affSColin Finck@ stdcall VideoPortEnableInterrupt(ptr) 28c2c66affSColin Finck@ stdcall VideoPortEnumerateChildren(ptr ptr) 29c2c66affSColin Finck@ stdcall VideoPortFlushRegistry(ptr) 30c2c66affSColin Finck@ stdcall VideoPortFreeCommonBuffer(ptr long ptr long long long) 31c2c66affSColin Finck@ stdcall VideoPortFreeDeviceBase(ptr ptr) 32c2c66affSColin Finck@ stdcall VideoPortFreePool(ptr ptr) 33c2c66affSColin Finck@ stdcall VideoPortGetAccessRanges(ptr long ptr long ptr ptr ptr ptr) 34c2c66affSColin Finck@ stdcall VideoPortGetAgpServices(ptr ptr) 35c2c66affSColin Finck@ stdcall VideoPortGetAssociatedDeviceExtension(ptr) 36c2c66affSColin Finck@ stdcall VideoPortGetAssociatedDeviceID(ptr) 37c2c66affSColin Finck@ stdcall VideoPortGetBusData(ptr long long ptr long long) 38c2c66affSColin Finck@ stdcall VideoPortGetBytesUsed(ptr ptr) 39c2c66affSColin Finck@ stdcall VideoPortGetCommonBuffer(ptr long long ptr ptr long) 40c2c66affSColin Finck@ stdcall VideoPortGetCurrentIrql() 41c2c66affSColin Finck@ stdcall VideoPortGetDeviceBase(ptr long long long long) 42c2c66affSColin Finck@ stdcall VideoPortGetDeviceData(ptr long ptr ptr) 43c2c66affSColin Finck@ stdcall VideoPortGetDmaAdapter(ptr ptr) 44c2c66affSColin Finck@ stdcall VideoPortGetDmaContext(ptr ptr) 45c2c66affSColin Finck@ stdcall VideoPortGetMdl(ptr ptr) 46c2c66affSColin Finck@ stdcall VideoPortGetRegistryParameters(ptr wstr long ptr ptr) 47c2c66affSColin Finck@ stdcall VideoPortGetRomImage(ptr ptr long long) 48c2c66affSColin Finck@ stdcall VideoPortGetVersion(ptr ptr) 49c2c66affSColin Finck@ stdcall VideoPortGetVgaStatus(ptr ptr) 50c2c66affSColin Finck@ stdcall VideoPortInitialize(ptr ptr ptr ptr) 51c2c66affSColin Finck@ stdcall VideoPortInt10(ptr ptr) 52c2c66affSColin Finck;;@ fastcall -arch=i386,arm VideoPortInterlockedDecrement(ptr) NTOSKRNL.InterlockedDecrement 53c2c66affSColin Finck;;@ fastcall -arch=x86_64 VideoPortInterlockedDecrement(ptr) 54c2c66affSColin Finck@ fastcall VideoPortInterlockedDecrement(ptr) 55c2c66affSColin Finck;;@ fastcall -arch=i386,arm VideoPortInterlockedExchange(ptr long) NTOSKRNL.InterlockedExchange 56c2c66affSColin Finck;;@ fastcall -arch=x86_64 VideoPortInterlockedExchange(ptr long) 57c2c66affSColin Finck@ fastcall VideoPortInterlockedExchange(ptr long) 58c2c66affSColin Finck;;@ fastcall -arch=i386,arm VideoPortInterlockedIncrement(ptr) NTOSKRNL.InterlockedIncrement 59c2c66affSColin Finck;;@ fastcall -arch=x86_64 VideoPortInterlockedIncrement(ptr) 60c2c66affSColin Finck@ fastcall VideoPortInterlockedIncrement(ptr) 61c2c66affSColin Finck@ stdcall VideoPortIsNoVesa() 62c2c66affSColin Finck@ stdcall VideoPortLockBuffer(ptr ptr long long) 63c2c66affSColin Finck@ stdcall VideoPortLockPages(ptr ptr ptr ptr long) 64c2c66affSColin Finck@ stdcall VideoPortLogError(ptr ptr long long) 65c2c66affSColin Finck@ stdcall VideoPortMapBankedMemory(ptr long long ptr ptr ptr long long ptr ptr) 66c2c66affSColin Finck@ stdcall VideoPortMapDmaMemory(ptr ptr double ptr ptr ptr ptr ptr) 67c2c66affSColin Finck@ stdcall VideoPortMapMemory(ptr long long ptr ptr ptr) 68c2c66affSColin Finck@ stdcall VideoPortMoveMemory(ptr ptr long) NTOSKRNL.RtlMoveMemory 69c2c66affSColin Finck@ stdcall VideoPortPutDmaAdapter(ptr ptr) 70c2c66affSColin Finck@ stdcall VideoPortQueryPerformanceCounter(ptr ptr) 71c2c66affSColin Finck@ stdcall VideoPortQueryServices(ptr long ptr) 72c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortQuerySystemTime(ptr) NTOSKRNL.KeQuerySystemTime 73c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortQuerySystemTime(ptr) 74c2c66affSColin Finck@ stdcall VideoPortQueueDpc(ptr ptr ptr) 75c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortReadPortBufferUchar(ptr ptr long) HAL.READ_PORT_BUFFER_UCHAR 76c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortReadPortBufferUchar(ptr ptr long) 77c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortReadPortBufferUlong(ptr ptr long) HAL.READ_PORT_BUFFER_ULONG 78c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortReadPortBufferUlong(ptr ptr long) 7993028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadPortBufferUshort(ptr ptr long) HAL.READ_PORT_BUFFER_USHORT 8093028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadPortBufferUshort(ptr ptr long) 8193028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadPortUchar(ptr) HAL.READ_PORT_UCHAR 8293028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadPortUchar(ptr) 8393028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadPortUlong(ptr) HAL.READ_PORT_ULONG 8493028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadPortUlong(ptr) 8593028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadPortUshort(ptr) HAL.READ_PORT_USHORT 8693028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadPortUshort(ptr) 87c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortReadRegisterBufferUchar(ptr ptr long) NTOSKRNL.READ_REGISTER_BUFFER_UCHAR 88c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortReadRegisterBufferUchar(ptr ptr long) 89c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortReadRegisterBufferUlong(ptr ptr long) NTOSKRNL.READ_REGISTER_BUFFER_ULONG 90c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortReadRegisterBufferUlong(ptr ptr long) 9193028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadRegisterBufferUshort(ptr ptr long) NTOSKRNL.READ_REGISTER_BUFFER_USHORT 9293028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadRegisterBufferUshort(ptr ptr long) 9393028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadRegisterUchar(ptr) NTOSKRNL.READ_REGISTER_UCHAR 9493028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadRegisterUchar(ptr) 9593028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadRegisterUlong(ptr) NTOSKRNL.READ_REGISTER_ULONG 9693028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadRegisterUlong(ptr) 9793028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortReadRegisterUshort(ptr) NTOSKRNL.READ_REGISTER_USHORT 9893028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortReadRegisterUshort(ptr) 99c2c66affSColin Finck@ stdcall VideoPortReadStateEvent(ptr ptr) 100c2c66affSColin Finck@ stdcall VideoPortRegisterBugcheckCallback(ptr long ptr long) 101c2c66affSColin Finck@ stdcall VideoPortReleaseBuffer(ptr ptr) 102c2c66affSColin Finck@ stdcall VideoPortReleaseCommonBuffer(ptr ptr long long long ptr long) 103c2c66affSColin Finck@ stdcall VideoPortReleaseDeviceLock(ptr) 104c2c66affSColin Finck@ stdcall VideoPortReleaseSpinLock(ptr ptr long) 105c2c66affSColin Finck@ stdcall VideoPortReleaseSpinLockFromDpcLevel(ptr ptr) 106c2c66affSColin Finck@ stdcall VideoPortScanRom(ptr ptr long ptr) 107c2c66affSColin Finck@ stdcall VideoPortSetBusData(ptr long long ptr long long) 108c2c66affSColin Finck@ stdcall VideoPortSetBytesUsed(ptr ptr long) 109c2c66affSColin Finck@ stdcall VideoPortSetDmaContext(ptr ptr ptr) 110c2c66affSColin Finck@ stdcall VideoPortSetEvent(ptr ptr) 111c2c66affSColin Finck@ stdcall VideoPortSetRegistryParameters(ptr wstr ptr long) 112c2c66affSColin Finck@ stdcall VideoPortSetTrappedEmulatorPorts(ptr long ptr) 113c2c66affSColin Finck@ stdcall VideoPortSignalDmaComplete(ptr ptr) 114c2c66affSColin Finck@ stdcall VideoPortStallExecution(ptr) HAL.KeStallExecutionProcessor 115c2c66affSColin Finck@ stdcall VideoPortStartDma(ptr ptr ptr long ptr ptr ptr long) 116c2c66affSColin Finck@ stdcall VideoPortStartTimer(ptr) 117c2c66affSColin Finck@ stdcall VideoPortStopTimer(ptr) 118c2c66affSColin Finck@ stdcall VideoPortSynchronizeExecution(ptr long ptr ptr) 119c2c66affSColin Finck@ stdcall VideoPortUnlockBuffer(ptr ptr) 120c2c66affSColin Finck@ stdcall VideoPortUnlockPages(ptr ptr) 121c2c66affSColin Finck@ stdcall VideoPortUnmapDmaMemory(ptr ptr ptr ptr) 122c2c66affSColin Finck@ stdcall VideoPortUnmapMemory(ptr ptr ptr) 123c2c66affSColin Finck@ stdcall VideoPortVerifyAccessRanges(ptr long ptr) 124c2c66affSColin Finck@ stdcall VideoPortWaitForSingleObject(ptr ptr ptr) 125c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortWritePortBufferUchar(ptr ptr long) HAL.WRITE_PORT_BUFFER_UCHAR 126c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortWritePortBufferUchar(ptr ptr long) 127c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortWritePortBufferUlong(ptr ptr long) HAL.WRITE_PORT_BUFFER_ULONG 128c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortWritePortBufferUlong(ptr ptr long) 12993028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWritePortBufferUshort(ptr ptr long) HAL.WRITE_PORT_BUFFER_USHORT 13093028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWritePortBufferUshort(ptr ptr long) 13193028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWritePortUchar(ptr long) HAL.WRITE_PORT_UCHAR 13293028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWritePortUchar(ptr long) 13393028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWritePortUlong(ptr long) HAL.WRITE_PORT_ULONG 13493028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWritePortUlong(ptr long) 13593028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWritePortUshort(ptr long) HAL.WRITE_PORT_USHORT 13693028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWritePortUshort(ptr long) 137c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortWriteRegisterBufferUchar(ptr ptr long) NTOSKRNL.WRITE_REGISTER_BUFFER_UCHAR 138c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortWriteRegisterBufferUchar(ptr ptr long) 139c2c66affSColin Finck@ stdcall -arch=i386,arm VideoPortWriteRegisterBufferUlong(ptr ptr long) NTOSKRNL.WRITE_REGISTER_BUFFER_ULONG 140c2c66affSColin Finck@ stdcall -arch=x86_64 VideoPortWriteRegisterBufferUlong(ptr ptr long) 14193028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWriteRegisterBufferUshort(ptr ptr long) NTOSKRNL.WRITE_REGISTER_BUFFER_USHORT 14293028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWriteRegisterBufferUshort(ptr ptr long) 14393028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWriteRegisterUchar(ptr long) NTOSKRNL.WRITE_REGISTER_UCHAR 14493028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWriteRegisterUchar(ptr long) 14593028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWriteRegisterUlong(ptr long) NTOSKRNL.WRITE_REGISTER_ULONG 14693028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWriteRegisterUlong(ptr long) 14793028748STimo Kreuzer@ stdcall -arch=i386,arm VideoPortWriteRegisterUshort(ptr long) NTOSKRNL.WRITE_REGISTER_USHORT 14893028748STimo Kreuzer@ stdcall -arch=x86_64 VideoPortWriteRegisterUshort(ptr long) 149c2c66affSColin Finck@ stdcall VideoPortZeroDeviceMemory(ptr long) NTOSKRNL.RtlZeroMemory 15093028748STimo Kreuzer@ stdcall VideoPortZeroMemory(ptr long) NTOSKRNL.RtlZeroMemory 151c2c66affSColin Finck@ stdcall VpNotifyEaData(ptr ptr) 152c2c66affSColin Finck@ stdcall WdDdiWatchdogDpcCallback(ptr ptr ptr ptr) 153