【delphi开源代码栏目提醒】:网学会员为需要delphi开源代码的朋友们搜集整理了CAPWNDLib_TLB.pas相关资料,希望对各位网友有所帮助!
unit CAPWNDLib_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// PASTLWTR : $Revision: 1.88 $
// File generated on 00-10-14 20:01:25 from Type Library described below.
// ************************************************************************ //
// Type Lib: D:\MID2000\CAPWND.OCX (1)
// IID\LCID: {4080C1A4-81EC-11D1-88B4-0040053C743D}\0
// Helpfile: D:\MID2000\Capwnd.hlp
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\SYSTEM\STDOLE2.TLB)
// (2) v4.0 StdVCL, (C:\WINDOWS\SYSTEM\STDVCL40.DLL)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
interface
uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
// TypeLibrary Major and minor versions
CAPWNDLibMajorVersion = 1;
CAPWNDLibMinorVersion = 0;
LIBID_CAPWNDLib: TGUID = '{4080C1A4-81EC-11D1-88B4-0040053C743D}';
DIID__DCapwnd: TGUID = '{4080C1A5-81EC-11D1-88B4-0040053C743D}';
DIID__DCapwndEvents: TGUID = '{4080C1A6-81EC-11D1-88B4-0040053C743D}';
CLASS_Capwnd: TGUID = '{4080C1A7-81EC-11D1-88B4-0040053C743D}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
_DCapwnd = dispinterface;
_DCapwndEvents = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
Capwnd = _DCapwnd;
// *********************************************************************//
// Declaration of structures, unions and aliases.
// *********************************************************************//
PSmallint1 = ^Smallint; {*}
// *********************************************************************//
// DispIntf: _DCapwnd
// Flags: (4112) Hidden Dispatchable
// GUID: {4080C1A5-81EC-11D1-88B4-0040053C743D}
// *********************************************************************//
_DCapwnd = dispinterface
['{4080C1A5-81EC-11D1-88B4-0040053C743D}']
property DriverName: WideString dispid 1;
property Rate: Integer dispid 2;
property ImgHeight: Integer dispid 3;
property ImgWidth: Integer dispid 4;
property CaptureAudio: WordBool dispid 5;
property DeviceCount: Integer dispid 6;
property DeviceIndex: Integer dispid 7;
procedure Connect; dispid 8;
procedure DisConnect; dispid 9;
procedure EditCopy; dispid 10;
procedure OverLay; dispid 11;
procedure Preview; dispid 12;
procedure Capture; dispid 13;
procedure SaveFileTo(const szPath: WideString); dispid 14;
procedure SetVideoFormat; dispid 15;
procedure SetVideoSource; dispid 16;
procedure Freeze; dispid 17;
procedure SetTime(nTime: Integer); dispid 18;
function SetVideoSize(nWidth: Integer; nHeight: Integer): WordBool; dispid 19;
function SaveDib(const szName: WideString): WordBool; dispid 20;
procedure MoveWnd(x: Integer; y: Integer; width: Integer; height: Integer); dispid 21;
procedure SetCompression; dispid 22;
procedure SaveDefaultDib; dispid 23;
property DeviceList[nIndex: Integer]: WideString dispid 26;
function ConnectTOIndex(nIndex: Integer): WordBool; dispid 24;
function ConnectToName(const strName: WideString): WordBool; dispid 25;
end;
// *********************************************************************//
// DispIntf: _DCapwndEvents
// Flags: (4096) Dispatchable
// GUID: {4080C1A6-81EC-11D1-88B4-0040053C743D}
// *********************************************************************//
_DCapwndEvents = dispinterface
['{4080C1A6-81EC-11D1-88B4-0040053C743D}']
procedure Click; dispid -600;
procedure KeyDown(var KeyCode: Smallint; Shift: Smallint); dispid -602;
procedure KeyPress(var KeyAscii: Smallint); dispid -603;
procedure KeyUp(var KeyCode: Smallint; Shift: Smallint); dispid -604;
end;
// *********************************************************************//
// OLE Control Proxy class declaration
// Control Name : TCapwnd
// Help String : Capwnd Control
// Default Interface: _DCapwnd
// Def. Intf. DISP? : Yes
// Event Interface: _DCapwndEvents
// TypeFlags : (34) CanCreate Control
// *********************************************************************//
TCapwnd = class(TOleControl)
private
FIntf: _DCapwnd;
function GetControlInterface: _DCapwnd;
protected
procedure CreateControl;
procedure InitControlData; override;
function Get_DeviceList(nIndex: Integer): WideString;
procedure Set_DeviceList(nIndex: Integer; const Param2: WideString);
public
procedure Connect;
procedure DisConnect;
procedure EditCopy;
procedure OverLay;
procedure Preview;
procedure Capture;
procedure SaveFileTo(const szPath: WideString);
procedure SetVideoFormat;
procedure SetVideoSource;
procedure Freeze;
procedure SetTime(nTime: Integer);
function SetVideoSize(nWidth: Integer; nHeight: Integer): WordBool;
function SaveDib(const szName: WideString): WordBool;
procedure MoveWnd(x: Integer; y: Integer; width: Integer; height: Integer);
procedure SetCompression;
procedure SaveDefaultDib;
function ConnectTOIndex(nIndex: Integer): WordBool;
function ConnectToName(const strName: WideString): WordBool;
property ControlInterface: _DCapwnd read GetControlInterface;
property DefaultInterface: _DCapwnd read GetControlInterface;
property DeviceList[nIndex: Integer]: WideString read Get_DeviceList write Set_DeviceList;
published
property TabStop;
property Align;
property DragCursor
上一篇:
frmBuildingstyleFind.frm
下一篇:
电咖汽车入选2018独角兽企业榜百强 发布“天际”品牌将推高估值