Interface IVFScreenCapture3
IVFScreenCapture3 interface.
Namespace: VisioForge.ProcessingFilters.Interfaces
Assembly: VisioForge.ProcessingFilters.Interfaces.dll
Syntax
[Guid("259E0009-9963-4a71-91AE-34B96D754899")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVFScreenCapture3
Methods
get_window_size(IntPtr, out Int32, out Int32)
Gets window size by handle.
Declaration
int get_window_size(IntPtr handle, out int width, out int height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | handle | Window handle. |
| System.Int32 | width | Width. |
| System.Int32 | height | Height. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
init()
Inits filter.
Declaration
int init()
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
refresh_pic()
Refreshes picture.
Declaration
int refresh_pic()
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
set_display_index(Int32)
Sets display index to capture.
Declaration
int set_display_index(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Display index. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
set_fps(Double)
Sets FPS.
Declaration
int set_fps(double fps)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | fps | FPS. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
set_mode(VFScreenCaptureMode)
Sets mode.
Declaration
int set_mode(VFScreenCaptureMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| VFScreenCaptureMode | mode | Screen capture mode. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
set_mouse(Boolean)
Sets mouse cursor mode.
Declaration
int set_mouse(bool draw)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | draw | True to draw mouse. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
set_rect(VFRect)
Sets rect.
Declaration
int set_rect(VFRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| VFRect | rect | Rect. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
set_stream(IStream, Int64)
Sets stream.
Declaration
int set_stream(IStream stream, long length)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.InteropServices.ComTypes.IStream | stream | Stream. |
| System.Int64 | length | Length. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
set_window_handle(IntPtr)
Sets window handle to capture.
Declaration
int set_window_handle(IntPtr handle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | handle | Window handle. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |