VideoPortZeroDeviceMemory

VOID VideoPortZeroDeviceMemory(

PVOID Destination,
ULONG Length
);

VideoPortZeroDeviceMemory fills an adapter frame buffer or other device memory with zeros.

Parameters

Destination

Specifies the base address of the adapter memory area. This value must be a mapped logical address returned by VideoPortGetDeviceBase.

Length

Specifies the size, in bytes, to be filled.

Comments

Miniport drivers should always call this function, rather than VideoPortZeroMemory, to fill on-adapter memory with zeros.

A miniport's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortZeroDeviceMemory.

See Also

HwVidInterrupt, HwVidSynchronizeExecutionCallback, VideoPortGetDeviceBase, VideoPortZeroMemory