Bagikan melalui


VPE Callback Functions

The following table lists the video port extensions (VPE) callback functions that are implemented in a display driver. A display driver that supports VPE must implement some VPE callback functions; some are optional depending on the hardware capabilities.

VPE Callback Function Description

DdVideoPortCanCreate

Determines whether the driver can support a DirectDraw VPE object of the specified description.

DdVideoPortColorControl

Gets or sets the VPE object color controls.

DdVideoPortCreate

Notifies the driver that DirectDraw created a VPE object.

DdVideoPortDestroy

Notifies the driver that DirectDraw destroyed the specified VPE object.

DdVideoPortFlip

Performs a physical flip, causing the VPE object to start writing data to the new surface.

DdVideoPortGetBandwidth

Reports the bandwidth limitations of the device's frame buffer memory based on the specified VPE object output format.

DdVideoPortGetConnectInfo

Returns the connections supported by the specified VPE object.

DdVideoPortGetField

Determines whether the current field of an interlaced signal is even or odd.

DdVideoPortGetFlipStatus

Determines whether the most recently requested flip on a surface has occurred.

DdVideoPortGetInputFormats

Determines the input formats that the DirectDraw VPE object can accept.

DdVideoPortGetLine

Returns the current line number of the hardware video port.

DdVideoPortGetOutputFormats

Determines the output formats that the VPE object supports.

DdVideoPortGetSignalStatus

Retrieves the status of the video signal currently being presented to the hardware video port.

DdVideoPortUpdate

Starts and stops the VPE object and modifies the VPE object data stream.

DdVideoPortWaitForSync

Waits until the next vertical synch occurs.