Copyright © 2001-2018 MultiMedia Soft

VideoMixer.Create method

Previous pageReturn to chapter overviewNext page

Remarks

 

Creates the video mixer: only one instance of the video mixer can be created during the life of the container application.

 

For further details about the use of the embedded video mixer see the VideoMixer object section.

For details about video mixing/blending refer to the How to use the video mixer tutorial.

 

 

Syntax

 

[Visual Basic]

control.VideoMixer.Create (

hWndParent as OLE_HANDLE,

nLeft as Long,

nTop as Long,

nWidth as Long,

nHeight as Long,

colorBackground as OLE_COLOR

) as Long


 

[C++]

long control.VideoMixer.Create (

OLE_HANDLE hWndParent,

long nLeft,

long nTop,

long nWidth,

long nHeight,

OLE_COLOR colorBackground

);


 

Parameter

Description

 

 

hWndParent

Handle of the parent window used for the video mixing rendering

nLeft

Left position of the video mixer window, expressed in client coordinates (pixels) of the parent window

nTop

Top position of the video mixer window, expressed in client coordinates (pixels) of the parent window

nWidth

Width of the video mixer window, expressed in pixels

nHeight

Height of the video mixer window, expressed in pixels

colorBackground

Color used to render the video mixer background

 

 

 

Return value

 

Value

Meaning

 

 

0

An error occurred (see the LastError property for further error details)

Other values

Unique identifier of the video mixer: this unique identifier will be used in order to invoke further methods related to the use of the video mixer