VideoPortWriteRegisterBufferUshort function (video.h)

The VideoPortWriteRegisterBufferUshort function writes a number of USHORT values to a mapped register.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortWriteRegisterBufferUshort(
       PUSHORT Register,
  [in] PUSHORT Buffer,
       ULONG   Count
);

Parameters

Register

Pointer to the register. The given Register must be in a mapped memory-space range returned by VideoPortGetDeviceBase.

[in] Buffer

Pointer to a buffer containing the USHORT values to be written.

Count

Specifies the number of USHORT values to be transferred to the adapter.

Return value

None

Remarks

A miniport driver's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortWriteRegisterBufferUshort.

Callers of VideoPortWriteRegisterBufferUshortcan be running at any IRQL, provided that the memory pointed to by the Buffer parameter is resident and that pointed to by the Register parameter is resident, mapped device memory.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL Any level (see Remarks section)

See also

VideoPortGetDeviceBase