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 上运行,前提是 端口 参数指向的内存是驻留的映射设备内存。

要求

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

另请参阅

HwVidInterrupt

HwVidSynchronizeExecutionCallback

VideoPortGetDeviceBase