// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortReadPortBufferUlong(
PULONG Port,
[out] PULONG Buffer,
ULONG Count
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortReadPortBufferUlong function reads a number of ULONG values from a mapped I/O port and writes them into a buffer.
PortPointer to the I/O port. The given Port must be in a mapped I/O-space range returned by VideoPortGetDeviceBase.
Buffer [out]Pointer to a buffer into which the ULONG values are written.
CountSpecifies the number of ULONG values to be written to the buffer.
None
The buffer must be large enough to contain at least the specified number of ULONG values.
A miniport driver's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortReadPortBufferUlong.
Callers of VideoPortReadPortBufferUlong can be running at any IRQL, provided that the memory pointed to by the Buffer parameter is resident and that pointed to by the Port parameter is resident, mapped device memory.
HwVidSynchronizeExecutionCallback