vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
sevAniGif - als kostenlose Vollversion auf unserer vb@rchiv CD Vol.5  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

Fortgeschrittene Programmierung
Deklaration 
Autor: Keyjunkie
Datum: 29.04.04 17:34

Hi wehr kann mir volgene C Deklaration in eine VB Deklaration umstellen ?

DECLARE_INTERFACE_(IDVBCoreSrc, IUnknown)
{
STDMETHOD(SetBufSize)
( THIS_
char* FileName,
int Size,
int* ResultSize
) PURE;

//Bytes related functions.
//All positions in bytes, but real positions will be automatic rounded to unit size.
STDMETHOD(SetBufSize64)
( THIS_
char* FileName,
__int64 Size,
__int64* ResultSize
) PURE;

STDMETHOD(GetPositions64)
( THIS_
__int64* BufferSize, //Length of buffer in Bytes
__int64* MaxPlayPos, //Maximal available position for playback in Bytes
__int64* PlayPos, //Current playback position
__int64* MaxRecPos, //Maximal available position for recording in Bytes
__int64* RecPos //Current recording position
) PURE;

STDMETHOD(SetPlayPos64)
( THIS_
__int64 PlayPos
) PURE;

STDMETHOD(SetRecPos64)
( THIS_
__int64 RecPos
) PURE;

STDMETHOD(GetTimes64)
( THIS_
__int64* HeadPos, //Maximal available position for playback in PTS
__int64* MaxPlayPos, //Maximal available position for playback in PTS
__int64* PlayPos, //Current playback position in PTS
__int64* MaxRecPos, //Maximal available position for recording in PTS
__int64* RecPos //Current recording position in PTS
) PURE;

//Blocks related functions.
STDMETHOD(GetPositions)
( THIS_
int *BufferSize, //Length of buffer [in units]
int *MaxPlayPos, //Maximal available position for playback [in units]
int *PlayPos, //Current playback position
int *MaxRecPos, //Maximal available position for recording [in units]
int *RecPos //Current recording position
) PURE;

STDMETHOD(SetPlayPos)
( THIS_
int PlayPos
) PURE;

STDMETHOD(SetRecPos)
( THIS_
int RecPos
) PURE;

STDMETHOD(SetRecSpeed)
( THIS_
int Speed
) PURE;

STDMETHOD(FlushBuffer)
( THIS_
) PURE;

};


Ich habe Probleme bei dieser Type Deklaration da ich nicht weis wie diese in VB geschrieben wird.

Danke in vorraus
Keyjunkie
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
Deklaration629Keyjunkie29.04.04 17:34

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel