Copyright © 2005-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]

Public Function Create (

hWndParent as IntPtr,

nLeft as Int32,

nTop as Int32,

nWidth as Int32,

nHeight as Int32,

colorBackground as Color

) as Int32


 

[C#]

public Int32 Create (

IntPtr hWndParent,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight,

Color colorBackground

);


 

[C++]

public: Int32 Create (

IntPtr hWndParent,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight,

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

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

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.