VideoPortReadPortUshort 函数 (video.h)

VideoPortReadPortUshort 函数从映射的 I/O 端口读取 USHORT 值。

语法

VIDEOPORT_DEPRECATED VIDEOPORT_API USHORT VideoPortReadPortUshort(
  PUSHORT Port
);

参数

Port

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

返回值

VideoPortReadPortUshort 返回从适配器读取的 USHORT 值。

注解

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

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

要求

要求
最低受支持的客户端 适用于 Windows 2000 及更高版本的 Windows 操作系统。
目标平台 桌面
标头 video.h (包括 Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL 请参见“备注”部分。

另请参阅

HwVidInterrupt

HwVidSynchronizeExecutionCallback

VideoPortGetDeviceBase