Description


Include file: xvideo.h

Parent class: XMediaWindow

Overview

Functions

XVideo

Parameters

XFrameWindow * owner the owner of the video

Remarks

Construct a video-window. To use this control you must invoke the multimedia-library!

~XVideo

Remarks

The destructor MUST be called before the message-loop of an aplication is destroyed. Therefore overwrite QueryForClose() of the owning framewindow and call the destructor of XVideo in that function.

SetViewPort

Parameters

XFrameWindow * window the window to show the video

Return-Value

LONG resultcode

Remarks

Set a framewindow as the viewport where videos are displayed

SetVolume

Parameters

USHORT volume volume in percent

Return-Value

LONG resultcode

Remarks

Set volume

CloseDevice

Return-Value

LONG resultcode

Remarks

Close the device

OpenDevice

Return-Value

LONG resultcode

Remarks

Open the device


This document was generated by Jens von Pilgrim's Autodoc