// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API USHORT VideoPortReadPortUshort(
PUSHORT Port
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortReadPortUshort function reads a USHORT value from a mapped I/O port.
PortPointer to the port. The given Port must be in a mapped I/O-space range returned by VideoPortGetDeviceBase.
VideoPortReadPortUshort returns the USHORT value read from the adapter.
A miniport driver's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortReadPortUshort.
Callers of VideoPortReadPortUshort can be running at any IRQL, provided that the memory pointed to by the Port parameter is resident, mapped device memory.
HwVidSynchronizeExecutionCallback