VideoPortReadRegisterUshort 函数 (video.h)

VideoPortReadRegisterUshort 函数从映射寄存器范围读取 USHORT 值。

语法

VIDEOPORT_DEPRECATED VIDEOPORT_API USHORT VideoPortReadRegisterUshort(
  PUSHORT Register
);

参数

Register

指向寄存器的指针。 给定的 寄存器 必须位于 VideoPortGetDeviceBase返回的映射内存空间范围内。

返回值

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

言论

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

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

要求

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

另请参阅

HwVidInterrupt

HwVidSynchronizeExecutionCallback

VideoPortGetDeviceBase