VideoPortReadPortBufferUshort 函数 (video.h)

VideoPortReadPortBufferUshort 函数从映射的 I/O 端口读取大量 USHORT 值,并将其写入缓冲区。

语法

VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortReadPortBufferUshort(
        PUSHORT Port,
  [out] PUSHORT Buffer,
        ULONG   Count
);

参数

Port

指向端口的指针。 给定的 端口 必须位于由 VideoPortGetDeviceBase返回的映射 I/O 空间范围内。

[out] Buffer

指向写入 USHORT 值的数组的缓冲区的指针。

Count

指定要写入缓冲区的 USHORT 值的数目。

返回值

没有

言论

缓冲区必须足够大,才能至少包含指定的 USHORT 值数。

微型端口驱动程序的 HwVidInterruptHwVidSynchronizeExecutionCallback 函数可以调用 VideoPortReadPortBufferUshort

VideoPortReadPortBufferUshort 的调用方可以在任何 IRQL 上运行,前提是 Buffer 参数指向的内存是驻留的,端口 参数指向的内存是驻留的映射设备内存。

要求

要求 价值
最低支持的客户端 在 Windows 2000 及更高版本的 Windows作系统中可用。
目标平台 桌面
标头 video.h (include Video.h)
Videoprt.lib
DLL Videoprt.sys
IRQL 请参阅“备注”部分。

另请参阅

HwVidInterrupt

HwVidSynchronizeExecutionCallback

VideoPortGetDeviceBase