VideoMixer.GetHWND method |
|
Remarks
Obtains the window handle (HWND) of the video mixer rendering window.
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 GetHWND ( nMixerUniqueId as Int32, ByRef hWnd as IntPtr ) as enumErrorCodes |
[C#] public enumErrorCodes GetHWND ( Int32 nMixerUniqueId, ref IntPtr hWnd ); |
[C++] public: enumErrorCodes GetHWND ( Int32 nMixerUniqueId, IntPtr __gc *hWnd ); |
Parameter |
Description |
|
|
nMixerUniqueId |
Unique identifier of the video mixer returned by a previous call to the VideoMixer.Create method |
hWnd |
Reference that, on return from the method call, will contain the HWND of the video mixer rendering window. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |