Expand Minimize

VideoPortZeroDeviceMemory function

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

Syntax


VOID VideoPortZeroDeviceMemory(
  _Out_ PVOID Destination,
        ULONG Length
);

Parameters

Destination [out]

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.

Return value

None

Remarks

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.

Requirements

Target platform

Desktop

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

See Remarks section.

See also

HwVidInterrupt
HwVidSynchronizeExecutionCallback
VideoPortGetDeviceBase
VideoPortZeroMemory

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft