⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eputils.hpp

📁 漏洞扫描系列中HB Network Scanner 测试用练习代码
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'eputils.pas' rev: 6.00

#ifndef eputilsHPP
#define eputilsHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Eputils
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TBits;
class PASCALIMPLEMENTATION TBits : public System::TObject 
{
	typedef System::TObject inherited;
	
public:
	bool operator[](int Index) { return Bits[Index]; }
	
private:
	void __fastcall SetSize(int Value);
	void __fastcall SetBit(int Index, bool Value);
	void __fastcall Error(void);
	
public:
	int FSize;
	void *FBits;
	__fastcall virtual ~TBits(void);
	int __fastcall OpenBit(void);
	bool __fastcall GetBit(int Index);
	__property bool Bits[int Index] = {read=GetBit, write=SetBit/*, default*/};
	__property int Size = {read=FSize, write=SetSize, nodefault};
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TBits(void) : System::TObject() { }
	#pragma option pop
	
};


#pragma pack(push, 1)
struct TFBColor
{
	Byte b;
	Byte g;
	Byte r;
} ;
#pragma pack(pop)

typedef TFBColor *PFBColor;

typedef TFBColor TBLine[1];

typedef TFBColor *PBLine;

typedef TFBColor *TPLines[1];

typedef PBLine *PPLines;

class DELPHICLASS TFBitmap;
class PASCALIMPLEMENTATION TFBitmap : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	void *Bits;
	void __fastcall Initialize(void);
	
public:
	PBLine *Pixels;
	int Gap;
	int RowInc;
	int Size;
	int Width;
	int Height;
	int Handle;
	int hDC;
	#pragma pack(push, 1)
	tagBITMAPINFO bmInfo;
	#pragma pack(pop)
	
	#pragma pack(push, 1)
	tagBITMAPINFOHEADER bmHeader;
	#pragma pack(pop)
	
	__fastcall TFBitmap(int HBmp);
	__fastcall virtual ~TFBitmap(void);
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE bool __fastcall PointInRect(const Types::TPoint &P, const Types::TRect &R);
extern PACKAGE int __fastcall Max(int X1, int X2);
extern PACKAGE int __fastcall Min(int X1, int X2);
extern PACKAGE int __fastcall RGBChange(int A, Shortint Rx, Shortint Gx, Shortint Bx);
extern PACKAGE Graphics::TColor __fastcall Compose(int r, int g, int b);
extern PACKAGE Graphics::TColor __fastcall MiddleColor(Graphics::TColor color1, Graphics::TColor color2);
extern PACKAGE void __fastcall Blur(Graphics::TBitmap* Sour, Graphics::TBitmap* Dest, Word Kf);
extern PACKAGE void __fastcall DrawBitmapTransparent(Graphics::TCanvas* Dest, int XOrigin, int YOrigin, Graphics::TBitmap* Bitmap, Graphics::TColor TransparentColor);
extern PACKAGE bool __fastcall GetDIB(HBITMAP Bitmap, HPALETTE Palette, void *BitmapInfo, void *FBits);
extern PACKAGE bool __fastcall SetDIB(HBITMAP Bitmap, HPALETTE Palette, void *BitmapInfo, void *FBits);
extern PACKAGE void __fastcall DrawBitmapRect(Graphics::TCanvas* Dest, int X, int Y, Graphics::TBitmap* Sour, const Types::TRect &SourR);
extern PACKAGE int __fastcall CreateRgnFromBmp(Graphics::TBitmap* B, Windows::PRgnData &RgnData);

}	/* namespace Eputils */
using namespace Eputils;
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// eputils

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -