C# Class HookTestClient.D3D9SurfaceCapturer

显示文件 Open project: polyu/Cloud_Game Class Usage Examples

Public Methods

Method Description
D3D9SurfaceCapturer ( MainForm parent ) : System
GetBuffer ( ) : Byte[]
Initialize ( IntPtr targetWindow, string targetWindowName, int width, int height, int fps ) : bool
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
CaptureThread ( ) : void
InvokeCaptured ( Byte data ) : void

Method Details

D3D9SurfaceCapturer() public method

public D3D9SurfaceCapturer ( MainForm parent ) : System
parent MainForm
return System

GetBuffer() public method

public GetBuffer ( ) : Byte[]
return Byte[]

Initialize() public method

public Initialize ( IntPtr targetWindow, string targetWindowName, int width, int height, int fps ) : bool
targetWindow System.IntPtr
targetWindowName string
width int
height int
fps int
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void