Class DSCaptureDevice.TDSDevice
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
(6 intermediate revisions by one user not shown) | |||
Line 26: | Line 26: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' DSDevice : [[Class Vcl.VclProperty|Vcl.VclProperty]] |
</code> | </code> | ||
== Summary == | == Summary == | ||
Line 41: | Line 41: | ||
=== Public === | === Public === | ||
+ | *[[Property DSCaptureDevice.TDSDevice.BaseFilter|BaseFilter]] - Returns the IBaseFilter interface of the device driver. | ||
*[[Property DSCaptureDevice.TDSDevice.OpenedDriverName|OpenedDriverName]] - Name of the driver currently used for capturing or output. | *[[Property DSCaptureDevice.TDSDevice.OpenedDriverName|OpenedDriverName]] - Name of the driver currently used for capturing or output. | ||
*[[Property DSCaptureDevice.TDSDevice.OpenedDeviceName|OpenedDeviceName]] - Name of the device currently used for capturing or output. | *[[Property DSCaptureDevice.TDSDevice.OpenedDeviceName|OpenedDeviceName]] - Name of the device currently used for capturing or output. | ||
Line 48: | Line 49: | ||
=== Public === | === Public === | ||
+ | *[[Method function DSCaptureDevice.TDSDevice.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
*[[Method function DSCaptureDevice.TDSDevice.IsSelectedDefault() : Boolean|function IsSelectedDefault() : Boolean]] | *[[Method function DSCaptureDevice.TDSDevice.IsSelectedDefault() : Boolean|function IsSelectedDefault() : Boolean]] | ||
*[[Method function DSCaptureDevice.TDSDevice.IsSelectedNone() : Boolean|function IsSelectedNone() : Boolean]] | *[[Method function DSCaptureDevice.TDSDevice.IsSelectedNone() : Boolean|function IsSelectedNone() : Boolean]] | ||
Line 60: | Line 62: | ||
=== Public === | === Public === | ||
+ | *[[Method function LPComponent.TLPPersistent.QueryInterface(TGUID;TObject) : HResult|function QueryInterface(IID : TGUID; Obj : TObject) : HResult]] | ||
+ | *[[Method function LPComponent.TLPPersistent.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
*[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | *[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | ||
[[Category:Classes]] | [[Category:Classes]] |
Latest revision as of 00:30, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: AudioLabBasicPkg
Unit: DSCaptureDevice
Inherits: TLPPersistent
Contents |
Syntax
Delphi:
type TDSDevice = class( TLPPersistent )
C++ Builder:
class TDSDevice : public TLPPersistent
Visual C++ (MFC):
class CTDSDevice : public CTLPPersistent
C# (.NET):
public ref class DSDevice : Vcl.VclProperty
Summary
Base class for the DirectShow video and audio device classes.
Description
Defines Base class for the DirectShow video and audio device classes.
Properties
Published
- DeviceName - User friendly name of the device.
Public
- BaseFilter - Returns the IBaseFilter interface of the device driver.
- OpenedDriverName - Name of the driver currently used for capturing or output.
- OpenedDeviceName - Name of the device currently used for capturing or output.
- DriverName - Driver name of the device.
Methods
Public
- function GetOwner() : TPersistent
- function IsSelectedDefault() : Boolean
- function IsSelectedNone() : Boolean
- function GetDeviceList(ADevicesList : TStrings) : Boolean - Call this method to get the list of available devices on the system.
- function GetDeviceList(ADevicesList : TStrings; ADriverInfo : TVLDSDriverInfo) : Boolean - Call this method to get the list of available devices on the system.
- function ShowDeviceSelctDialog() : Boolean - Shows a device selection dialog.
- procedure CloseDevice()