Expand Minimize

VideoPortReadPortBufferUlong function

The VideoPortReadPortBufferUlong function reads a number of ULONG values from a mapped I/O port and writes them into a buffer.

Syntax


VOID VideoPortReadPortBufferUlong(
  PULONG Port,
  _Out_  PULONG Buffer,
  ULONG Count
);

Parameters

Port

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

Buffer [out]

Pointer to a buffer into which the ULONG values are written.

Count

Specifies the number of ULONG values to be written to the buffer.

Return value

None

Remarks

The buffer must be large enough to contain at least the specified number of ULONG values.

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

Callers of VideoPortReadPortBufferUlong 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

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

See Remarks section.

See also

HwVidInterrupt
HwVidSynchronizeExecutionCallback
VideoPortGetDeviceBase

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft