// video.h
VIDEOPORT_API VOID VideoPortZeroMemory(
[out] PVOID Destination,
ULONG Length
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortZeroMemory function fills a block of system memory with zeros.
Destination [out]Specifies the starting address of the block of memory. This value must be in a mapped logical range returned by VideoPortGetDeviceBase.
LengthSpecifies the size, in bytes, of the block.
None
Miniport drivers' DriverEntry functions generally call VideoPortZeroMemory to initialize the VIDEO_HW_INITIALIZATION_DATA structure with zeros.
The given Destination must be in a mapped logical range returned by VideoPortGetDeviceBase and/or a system space RAM address, such as an address on the stack. Use VideoPortZeroDeviceMemory to fill any device-memory block, such as a frame buffer, with zeros.
A miniport driver's HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortZeroMemory.
Callers of VideoPortZeroMemory 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