// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortZeroDeviceMemory(
[out] PVOID Destination,
ULONG Length
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortZeroDeviceMemory function fills an adapter frame buffer or other device memory with zeros.
Destination [out]Specifies the base address of the adapter memory area. This value must be a mapped logical address returned by VideoPortGetDeviceBase.
LengthSpecifies the size, in bytes, to be filled.
None
Miniport drivers should always call this function, rather than VideoPortZeroMemory, to fill on-adapter memory with zeros.
A miniport driver's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortZeroDeviceMemory.
Callers of VideoPortZeroDeviceMemory can be running at any IRQL if the memory pointed to by the Destination parameter is in nonpaged pool. Otherwise, the caller must be running at IRQL < DISPATCH_LEVEL.
HwVidSynchronizeExecutionCallback