The VideoPortZeroMemory function fills a block of system memory with zeros.
VIDEOPORT_API VOID VideoPortZeroMemory( PVOID Destination, ULONG Length );
Specifies the starting address of the block of memory. This value must be in a mapped logical range returned by VideoPortGetDeviceBase.
Specifies the size, in bytes, of the block.
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.
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.
|Minimum supported client||Available in Windows 2000 and later versions of the Windows operating systems.|
|Header||video.h (include Video.h)|
|IRQL||See Remarks section.|