C# Class Capture.Hook.BaseDXHook

Inheritance: IDXHook
Afficher le fichier Open project: remcoros/Direct3DCapture

Protected Properties

Свойство Type Description
Hooks List
InterfaceEventProxy Capture.Interface.ClientCaptureInterfaceEventProxy

Méthodes publiques

Méthode Description
BaseDXHook ( CaptureInterface ssInterface ) : System
Cleanup ( ) : void
Dispose ( ) : void
Hook ( ) : void

Méthodes protégées

Méthode Description
CopyStream ( Stream input, Stream output ) : void
DebugMessage ( string message ) : void
Dispose ( bool disposing ) : void
Frame ( ) : void
GetVTblAddress ( IntPtr vTable, int i ) : IntPtr
GetVTblAddresses ( IntPtr pointer, int numberOfMethods ) : System.IntPtr[]
GetVTblAddresses ( IntPtr pointer, int startIndex, int numberOfMethods ) : System.IntPtr[]
InterfaceEventProxy_ScreenshotRequested ( Capture.Interface.ScreenshotRequest request ) : void
ProcessCapture ( Capture.Hook.RetrieveImageDataParams data ) : void
ReadFullStream ( Stream stream ) : byte[]

Reads data from a stream until the end is reached. The data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.

TraceMessage ( string message ) : void

Private Methods

Méthode Description
BitmapFromBytes ( byte bitmapData ) : Bitmap
GetEncoder ( ImageFormat format ) : System.Drawing.Imaging.ImageCodecInfo
InterfaceEventProxy_DisplayText ( Capture.Interface.DisplayTextEventArgs args ) : void

Method Details

BaseDXHook() public méthode

public BaseDXHook ( CaptureInterface ssInterface ) : System
ssInterface Capture.Interface.CaptureInterface
Résultat System

Cleanup() public abstract méthode

public abstract Cleanup ( ) : void
Résultat void

CopyStream() protected static méthode

protected static CopyStream ( Stream input, Stream output ) : void
input Stream
output Stream
Résultat void

DebugMessage() protected méthode

protected DebugMessage ( string message ) : void
message string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Frame() protected méthode

protected Frame ( ) : void
Résultat void

GetVTblAddress() protected méthode

protected GetVTblAddress ( IntPtr vTable, int i ) : IntPtr
vTable System.IntPtr
i int
Résultat System.IntPtr

GetVTblAddresses() protected méthode

protected GetVTblAddresses ( IntPtr pointer, int numberOfMethods ) : System.IntPtr[]
pointer System.IntPtr
numberOfMethods int
Résultat System.IntPtr[]

GetVTblAddresses() protected méthode

protected GetVTblAddresses ( IntPtr pointer, int startIndex, int numberOfMethods ) : System.IntPtr[]
pointer System.IntPtr
startIndex int
numberOfMethods int
Résultat System.IntPtr[]

Hook() public abstract méthode

public abstract Hook ( ) : void
Résultat void

InterfaceEventProxy_ScreenshotRequested() protected méthode

protected InterfaceEventProxy_ScreenshotRequested ( Capture.Interface.ScreenshotRequest request ) : void
request Capture.Interface.ScreenshotRequest
Résultat void

ProcessCapture() protected méthode

protected ProcessCapture ( Capture.Hook.RetrieveImageDataParams data ) : void
data Capture.Hook.RetrieveImageDataParams
Résultat void

ReadFullStream() protected static méthode

Reads data from a stream until the end is reached. The data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.
protected static ReadFullStream ( Stream stream ) : byte[]
stream Stream The stream to read data from
Résultat byte[]

TraceMessage() protected méthode

protected TraceMessage ( string message ) : void
message string
Résultat void

Property Details

Hooks protected_oe property

protected List Hooks
Résultat List

InterfaceEventProxy protected_oe property

protected ClientCaptureInterfaceEventProxy,Capture.Interface InterfaceEventProxy
Résultat Capture.Interface.ClientCaptureInterfaceEventProxy