Hallo Experten,
ich möchte eine Video Camera ansteuern, die beim Anstecken automatisch eine DLL läd. In der Beschreibung heißt das so:
'To obtain the control, you use the normal COM functions to ask for the specific interface you need from the capture filter.'
gefolgt von einem C Beispiel:
IBaseFilter* pSourceFilter;
...
CComQIPtr<IVideologyCMOS> pKs( pSourceFilter );
The primary interface for the custom controls in the 24B1.3X series is IVideologyCMOS. The GUID for this interface is 926ddb19-3c8e-476c-9068-eb4555a99231.
...
The IDL for the IVideologyCMOS interface is:
interface IVideologyCMOS : IUnknown
{
HRESULT GetAGC( [out,retval] long* plGain );
HRESULT SetAGC( [in] long lGain );
HRESULT GetMirror( [out, retval] long* plMirroring );
HRESULT SetMirror( [in] long lMirroring );
HRESULT GetFlip( [out, retval] long* plFlipping );
HRESULT SetFlip( [in] long lFlipping );
HRESULT GetShutterSpeed( [out,retval] eShutterSpeedCMOS* plShutter );
HRESULT SetShutterSpeed( [in] eShutterSpeedCMOS lShutter );
HRESULT Reset( );
HRESULT GetSnapshotMode( [out,retval] long* lOn );
HRESULT SetSnapshotMode( [in] long lOn );
}
...
und genau diese funktionen möchte ich von Delphi aus aufrufen.
weiß jemand von euch wie man das in Delphi hinkriegen kann?
Danke für die Hilfe!
Lukas
ich möchte eine Video Camera ansteuern, die beim Anstecken automatisch eine DLL läd. In der Beschreibung heißt das so:
'To obtain the control, you use the normal COM functions to ask for the specific interface you need from the capture filter.'
gefolgt von einem C Beispiel:
IBaseFilter* pSourceFilter;
...
CComQIPtr<IVideologyCMOS> pKs( pSourceFilter );
The primary interface for the custom controls in the 24B1.3X series is IVideologyCMOS. The GUID for this interface is 926ddb19-3c8e-476c-9068-eb4555a99231.
...
The IDL for the IVideologyCMOS interface is:
interface IVideologyCMOS : IUnknown
{
HRESULT GetAGC( [out,retval] long* plGain );
HRESULT SetAGC( [in] long lGain );
HRESULT GetMirror( [out, retval] long* plMirroring );
HRESULT SetMirror( [in] long lMirroring );
HRESULT GetFlip( [out, retval] long* plFlipping );
HRESULT SetFlip( [in] long lFlipping );
HRESULT GetShutterSpeed( [out,retval] eShutterSpeedCMOS* plShutter );
HRESULT SetShutterSpeed( [in] eShutterSpeedCMOS lShutter );
HRESULT Reset( );
HRESULT GetSnapshotMode( [out,retval] long* lOn );
HRESULT SetSnapshotMode( [in] long lOn );
}
...
und genau diese funktionen möchte ich von Delphi aus aufrufen.
weiß jemand von euch wie man das in Delphi hinkriegen kann?
Danke für die Hilfe!
Lukas