VideoPortWritePortBufferUshort function

The VideoPortWritePortBufferUshort function writes a number of USHORT values to a mapped I/O port.

Syntax


VOID VideoPortWritePortBufferUshort(
       PUSHORT Port,
  _In_ PUSHORT Buffer,
       ULONG   Count
);

Parameters

Port

Pointer to the port. The given Port must be in a mapped I/O-space range returned by VideoPortGetDeviceBase.

Buffer [in]

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 VideoPortWritePortBufferUshort.

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

Requirements

Target platform

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

Any level (see Remarks section)

See also

VideoPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show: