C# Class ScreenshotInject.BaseDXHook

Inheritance: IDXHook
Afficher le fichier Open project: stani/GScreensTool

Protected Properties

Свойство Type Description
bitmap Bitmap

Méthodes publiques

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

Méthodes protégées

Méthode Description
CheckAuto ( ) : void
CopyStream ( Stream input, Stream output ) : void
DebugMessage ( string message ) : void
DrawOverlay ( Object dev ) : void
DrawText ( Object device, String text, String text2 = null, int alpha ) : void
GetImageFormat ( String format ) : ImageFormat
GetVTblAddresses ( IntPtr pointer, int numberOfMethods ) : System.IntPtr[]
PrepareFile ( String fileName ) : string
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.

SaveFile ( ) : void
SendResponse ( Stream stream, System.Guid requestId ) : void
SendResponse ( byte bitmapData, System.Guid requestId ) : void
UpdateFPS ( ) : int

Private Methods

Méthode Description
CopyMemory ( IntPtr Destination, IntPtr Source, uint Length ) : void
SaveFileInt ( object param ) : void

Method Details

BaseDXHook() public méthode

public BaseDXHook ( ScreenshotInterface ssInterface ) : System
ssInterface ScreenshotInterface
Résultat System

CheckAuto() protected méthode

protected CheckAuto ( ) : void
Résultat void

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

DrawOverlay() protected méthode

protected DrawOverlay ( Object dev ) : void
dev Object
Résultat void

DrawText() protected méthode

protected DrawText ( Object device, String text, String text2 = null, int alpha ) : void
device Object
text String
text2 String
alpha int
Résultat void

GetImageFormat() protected méthode

protected GetImageFormat ( String format ) : ImageFormat
format String
Résultat ImageFormat

GetVTblAddresses() protected méthode

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

Hook() public abstract méthode

public abstract Hook ( ) : void
Résultat void

PrepareFile() protected méthode

protected PrepareFile ( String fileName ) : string
fileName String
Résultat string

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[]

SaveFile() protected méthode

protected SaveFile ( ) : void
Résultat void

SendResponse() protected méthode

protected SendResponse ( Stream stream, System.Guid requestId ) : void
stream Stream
requestId System.Guid
Résultat void

SendResponse() protected méthode

protected SendResponse ( byte bitmapData, System.Guid requestId ) : void
bitmapData byte
requestId System.Guid
Résultat void

UpdateFPS() protected méthode

protected UpdateFPS ( ) : int
Résultat int

Property Details

bitmap protected_oe property

protected Bitmap bitmap
Résultat Bitmap