VideoPortWritePortUshort - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortWritePortUshort(
  PUSHORT Port,
  USHORT  Value
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportwriteportushort)

VideoPortWritePortUshort function

Description

The VideoPortWritePortUshort function writes a USHORT value to a mapped I/O port.

Parameters

Port

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

Value

Specifies a USHORT value to be transferred to the adapter.

Return value

None

Remarks

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

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

See also

VideoPortGetDeviceBase