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

📄 agentobjects_tlb.pas

📁 电脑编程技巧和源码。很不错的。
💻 PAS
📖 第 1 页 / 共 5 页
字号:

// *********************************************************************//
// DispIntf:  IAgentCtlCommandsDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F5BE8BE1-7DE6-11D0-91FE-00C04FD701A5}
// *********************************************************************//
  IAgentCtlCommandsDisp = dispinterface
    ['{F5BE8BE1-7DE6-11D0-91FE-00C04FD701A5}']
    property Item[const Name: WideString]: IAgentCtlCommandEx readonly dispid 0; default;
    function  Command(const Name: WideString): IAgentCtlCommandEx; dispid 15;
    property Count: Integer readonly dispid 2;
    property Caption: WideString dispid 3;
    property Voice: WideString dispid 4;
    property Visible: WordBool dispid 5;
    property Enum: IUnknown readonly dispid -4;
    function  Add(const Name: WideString; Caption: OleVariant; Voice: OleVariant; 
                  Enabled: OleVariant; Visible: OleVariant): IAgentCtlCommand; dispid 10;
    function  Insert(const Name: WideString; const RefName: WideString; Before: OleVariant; 
                     Caption: OleVariant; Voice: OleVariant; Enabled: OleVariant; 
                     Visible: OleVariant): IAgentCtlCommand; dispid 11;
    procedure Remove(const Name: WideString); dispid 13;
    procedure RemoveAll; dispid 14;
  end;

// *********************************************************************//
// Interface: IAgentCtlCommandsEx
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {6BA90C01-3910-11D1-ACB3-00C04FD97575}
// *********************************************************************//
  IAgentCtlCommandsEx = interface(IAgentCtlCommands)
    ['{6BA90C01-3910-11D1-ACB3-00C04FD97575}']
    procedure Set_DefaultCommand(const Name: WideString); safecall;
    function  Get_DefaultCommand: WideString; safecall;
    procedure Set_HelpContextID(ID: Integer); safecall;
    function  Get_HelpContextID: Integer; safecall;
    procedure Set_FontName(const FontName: WideString); safecall;
    function  Get_FontName: WideString; safecall;
    function  Get_FontSize: Integer; safecall;
    procedure Set_FontSize(FontSize: Integer); safecall;
    procedure Set_VoiceCaption(const VoiceCaption: WideString); safecall;
    function  Get_VoiceCaption: WideString; safecall;
    procedure Set_GlobalVoiceCommandsEnabled(Enable: WordBool); safecall;
    function  Get_GlobalVoiceCommandsEnabled: WordBool; safecall;
    property DefaultCommand: WideString read Get_DefaultCommand write Set_DefaultCommand;
    property HelpContextID: Integer read Get_HelpContextID write Set_HelpContextID;
    property FontName: WideString read Get_FontName write Set_FontName;
    property FontSize: Integer read Get_FontSize write Set_FontSize;
    property VoiceCaption: WideString read Get_VoiceCaption write Set_VoiceCaption;
    property GlobalVoiceCommandsEnabled: WordBool read Get_GlobalVoiceCommandsEnabled write Set_GlobalVoiceCommandsEnabled;
  end;

// *********************************************************************//
// DispIntf:  IAgentCtlCommandsExDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {6BA90C01-3910-11D1-ACB3-00C04FD97575}
// *********************************************************************//
  IAgentCtlCommandsExDisp = dispinterface
    ['{6BA90C01-3910-11D1-ACB3-00C04FD97575}']
    property DefaultCommand: WideString dispid 16;
    property HelpContextID: Integer dispid 17;
    property FontName: WideString dispid 21;
    property FontSize: Integer dispid 23;
    property VoiceCaption: WideString dispid 22;
    property GlobalVoiceCommandsEnabled: WordBool dispid 24;
    property Item[const Name: WideString]: IAgentCtlCommandEx readonly dispid 0; default;
    function  Command(const Name: WideString): IAgentCtlCommandEx; dispid 15;
    property Count: Integer readonly dispid 2;
    property Caption: WideString dispid 3;
    property Voice: WideString dispid 4;
    property Visible: WordBool dispid 5;
    property Enum: IUnknown readonly dispid -4;
    function  Add(const Name: WideString; Caption: OleVariant; Voice: OleVariant; 
                  Enabled: OleVariant; Visible: OleVariant): IAgentCtlCommand; dispid 10;
    function  Insert(const Name: WideString; const RefName: WideString; Before: OleVariant; 
                     Caption: OleVariant; Voice: OleVariant; Enabled: OleVariant; 
                     Visible: OleVariant): IAgentCtlCommand; dispid 11;
    procedure Remove(const Name: WideString); dispid 13;
    procedure RemoveAll; dispid 14;
  end;

// *********************************************************************//
// Interface: IAgentCtlCommand
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F5BE8BE3-7DE6-11D0-91FE-00C04FD701A5}
// *********************************************************************//
  IAgentCtlCommand = interface(IDispatch)
    ['{F5BE8BE3-7DE6-11D0-91FE-00C04FD701A5}']
    function  Get_Voice: WideString; safecall;
    procedure Set_Voice(const Voice: WideString); safecall;
    function  Get_Caption: WideString; safecall;
    procedure Set_Caption(const Caption: WideString); safecall;
    function  Get_Enabled: WordBool; safecall;
    procedure Set_Enabled(Enabled: WordBool); safecall;
    function  Get_Visible: WordBool; safecall;
    procedure Set_Visible(Visible: WordBool); safecall;
    function  Get_Confidence: Integer; safecall;
    procedure Set_Confidence(Confidence: Integer); safecall;
    function  Get_ConfidenceText: WideString; safecall;
    procedure Set_ConfidenceText(const Text: WideString); safecall;
    property Voice: WideString read Get_Voice write Set_Voice;
    property Caption: WideString read Get_Caption write Set_Caption;
    property Enabled: WordBool read Get_Enabled write Set_Enabled;
    property Visible: WordBool read Get_Visible write Set_Visible;
    property Confidence: Integer read Get_Confidence write Set_Confidence;
    property ConfidenceText: WideString read Get_ConfidenceText write Set_ConfidenceText;
  end;

// *********************************************************************//
// DispIntf:  IAgentCtlCommandDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F5BE8BE3-7DE6-11D0-91FE-00C04FD701A5}
// *********************************************************************//
  IAgentCtlCommandDisp = dispinterface
    ['{F5BE8BE3-7DE6-11D0-91FE-00C04FD701A5}']
    property Voice: WideString dispid 1;
    property Caption: WideString dispid 2;
    property Enabled: WordBool dispid 5;
    property Visible: WordBool dispid 6;
    property Confidence: Integer dispid 3;
    property ConfidenceText: WideString dispid 4;
  end;

// *********************************************************************//
// Interface: IAgentCtlCommandEx
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B0913410-3B44-11D1-ACBA-00C04FD97575}
// *********************************************************************//
  IAgentCtlCommandEx = interface(IAgentCtlCommand)
    ['{B0913410-3B44-11D1-ACBA-00C04FD97575}']
    procedure Set_HelpContextID(ID: Integer); safecall;
    function  Get_HelpContextID: Integer; safecall;
    procedure Set_VoiceCaption(const VoiceCaption: WideString); safecall;
    function  Get_VoiceCaption: WideString; safecall;
    property HelpContextID: Integer read Get_HelpContextID write Set_HelpContextID;
    property VoiceCaption: WideString read Get_VoiceCaption write Set_VoiceCaption;
  end;

// *********************************************************************//
// DispIntf:  IAgentCtlCommandExDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B0913410-3B44-11D1-ACBA-00C04FD97575}
// *********************************************************************//
  IAgentCtlCommandExDisp = dispinterface
    ['{B0913410-3B44-11D1-ACBA-00C04FD97575}']
    property HelpContextID: Integer dispid 7;
    property VoiceCaption: WideString dispid 8;
    property Voice: WideString dispid 1;
    property Caption: WideString dispid 2;
    property Enabled: WordBool dispid 5;
    property Visible: WordBool dispid 6;
    property Confidence: Integer dispid 3;
    property ConfidenceText: WideString dispid 4;
  end;

// *********************************************************************//
// Interface: IAgentCtlRequest
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {1DAB85C3-803A-11D0-AC63-00C04FD97575}
// *********************************************************************//
  IAgentCtlRequest = interface(IDispatch)
    ['{1DAB85C3-803A-11D0-AC63-00C04FD97575}']
    function  Get_ID: Integer; safecall;
    function  Get_Status: Integer; safecall;
    function  Get_Description: WideString; safecall;
    function  Get_Number: Integer; safecall;
    property ID: Integer read Get_ID;
    property Status: Integer read Get_Status;
    property Description: WideString read Get_Description;
    property Number: Integer read Get_Number;
  end;

// *********************************************************************//
// DispIntf:  IAgentCtlRequestDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {1DAB85C3-803A-11D0-AC63-00C04FD97575}
// *********************************************************************//
  IAgentCtlRequestDisp = dispinterface
    ['{1DAB85C3-803A-11D0-AC63-00C04FD97575}']
    property ID: Integer readonly dispid 0;
    property Status: Integer readonly dispid 1;
    property Description: WideString readonly dispid 2;
    property Number: Integer readonly dispid 3;
  end;

// *********************************************************************//
// Interface: IAgentCtlAnimationNames
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {8B77181C-D3EF-11D1-8500-00C04FA34A14}
// *********************************************************************//
  IAgentCtlAnimationNames = interface(IDispatch)
    ['{8B77181C-D3EF-11D1-8500-00C04FA34A14}']
    function  Get_Enum: IUnknown; safecall;
    property Enum: IUnknown read Get_Enum;
  end;

// *********************************************************************//
// DispIntf:  IAgentCtlAnimationNamesDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {8B77181C-D3EF-11D1-8500-00C04FA34A14}
// *********************************************************************//
  IAgentCtlAnimationNamesDisp = dispinterface
    ['{8B77181C-D3EF-11D1-8500-00C04FA34A14}']
    property Enum: IUnknown readonly dispid -4;
  end;

// *********************************************************************//
// Interface: IAgentCtlAudioObject
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F5BE8BDB-7DE6-11D0-91FE-00C04FD701A5}
// *********************************************************************//
  IAgentCtlAudioObject = interface(IDispatch)
    ['{F5BE8BDB-7DE6-11D0-91FE-00C04FD701A5}']
    function  Get_Enabled: WordBool; safecall;
    function  Get_SoundEffects: WordBool; safecall;
    property Enabled: WordBool read Get_Enabled;
    property SoundEffects: WordBool read Get_SoundEffects;
  end;

// *********************************************************************//
// DispIntf:  IAgentCtlAudioObjectDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F5BE8BDB-7DE6-11D0-91FE-00C04FD701A5}
// *********************************************************************//
  IAgentCtlAudioObjectDisp = dispinterface
    ['{F5BE8BDB-7DE6-11D0-91FE-00C04FD701A5}']
    property Enabled: WordBool readonly dispid 1;
    property SoundEffects: WordBool readonly dispid 2;
  end;

// *********************************************************************//
// Interface: IAgentCtlAudioObjectEx
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F5BE8BF0-7DE6-11D0-91FE-00C04FD701A5}
// *********************************************************************//
  IAgentCtlAudioObjectEx = interface(IAgentCtlAudioObject)
    ['{F5BE8BF0-7DE6-11D0-91FE-00C04FD701A5}']
    function  Get_Status: Smallint; safecall;
    property Status: Smallint read Get_Status;
  end;

// *********************************************************************//
// DispIntf:  IAgentCtlAudioObjectExDisp
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {F5BE8BF0-7DE6-11D0-91FE-00C04FD701A5}
// *********************************************************************//
  IAgentCtlAudioObjectExDisp = dispinterface

⌨️ 快捷键说明

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