C# Class Hansha.Core.DesktopDuplication.DesktopDuplicationScreen

Inheritance: IScreen
Show file Open project: Deathspike/Hansha Class Usage Examples

Public Methods

Method Description
DesktopDuplicationScreen ( int adapterIndex, int outputIndex ) : System.Runtime.InteropServices
Dispose ( ) : void
GetFrame ( int timeoutInMilliseconds ) : ScreenFrame

Private Methods

Method Description
AcquireNextFrame ( int timeoutInMilliseconds ) : bool
InitializeAdapter ( int adapterIndex ) : Adapter1
InitializeOutput ( Adapter1 adapter, int outputIndex ) : SharpDX.DXGI.Output
InitializeOutputDuplication ( SharpDX.DXGI.Output output ) : SharpDX.DXGI.OutputDuplication
InitializeTexture2DDescription ( SharpDX.Mathematics.Interop.RawRectangle desktopBounds ) : Texture2DDescription
ProcessBoundaries ( ) : void
ProcessModifiedRegions ( ) : void
ProcessMoveRegions ( ) : void
ProcessPixels ( ) : void
ReleaseFrame ( ) : void

Method Details

DesktopDuplicationScreen() public method

public DesktopDuplicationScreen ( int adapterIndex, int outputIndex ) : System.Runtime.InteropServices
adapterIndex int
outputIndex int
return System.Runtime.InteropServices

Dispose() public method

public Dispose ( ) : void
return void

GetFrame() public method

public GetFrame ( int timeoutInMilliseconds ) : ScreenFrame
timeoutInMilliseconds int
return ScreenFrame