Einzelnen Beitrag anzeigen

EWeiss
(Gast)

n/a Beiträge
 
#43

AW: C++ Delphi Übersetzung 3DYDYoutube Filter

  Alt 5. Okt 2018, 21:21
Danke!

Hier nochmal der aktuelle Status habe Kommentiert was geht und was nicht.
Siehe '// ****'

Delphi-Quellcode:
{$REGION 'Interface DYDYoutubeFilter ISupportedSites'}
  ISupportedSites = interface(IUnknown)
    ['{FF762ACC-13EC-463A-A29C-FD4B0CD3E019}']
    // Version number equals to total number of functions within the interface
    // (ISupportedSites::kVersion is the current version). New functions are
    // appended to the interface. Function signatures are never change. Therefore
    // version number is the way to check whether particular function is available
    // in the interface
    function GetVersion: UINT; stdcall; // **** Funktioniert
    // Number of supported sites
    function GetCount: UINT; stdcall; // **** Funktioniert
    // Get site name or NULL if index >= GetCount()
    function GetName(index: UINT): PWideChar; stdcall; // **** Funktioniert
    // Test whether url can be analyzed for video retrieving. S_FALSE means that
    // url seems from the supported site but not a valid video clip page. When
    // S_OK is returned, canonical_url will contain canonical page url, otherwise
    // it will not be changed
    // If explicitly == TRUE then S_OK will be returned only if URL definitely
    // points to video page URL instead of maybe just to some other page from the
    // supported site. This can be determined only for few sites, for others need
    // page data to determine this
    function Test(url: PWideChar; explicitly: BOOL; var canonical_url: PWideChar): HRESULT; stdcall; // **** Funktioniert ABER URL ist Nil vielleicht muss das so sein
    // Returns clip start time encoded in URL, in milliseconds
    function GetStartTime(url: PWideChar): UINT; stdcall; // **** Funktioniert
  end;
{$ENDREGION}
Muss jetzt mal abwarten was da von dem noch kommt wenn nichts weiter stelle ich den Support ein.
Das ist zu stressig alles irgendwie zusammen zu klopfen ohne vernünftiges SDK.

gruss
  Mit Zitat antworten Zitat