Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: third_party/decklink/win/include/DeckLinkAPIDiscovery.idl

Issue 599173002: Win Video Capture: Add Blackmagic DeckLink SDK Win files to the existing third_party folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/decklink/win/include/DeckLinkAPIDiscovery.idl
diff --git a/third_party/decklink/mac/include/DeckLinkAPIDiscovery.h b/third_party/decklink/win/include/DeckLinkAPIDiscovery.idl
similarity index 71%
copy from third_party/decklink/mac/include/DeckLinkAPIDiscovery.h
copy to third_party/decklink/win/include/DeckLinkAPIDiscovery.idl
index 18845dc1a6f1831e2efe2feccf5a457a8a9d8431..d9a4480bb9d2a8a64d0da56517cde4e4d81604d9 100644
--- a/third_party/decklink/mac/include/DeckLinkAPIDiscovery.h
+++ b/third_party/decklink/win/include/DeckLinkAPIDiscovery.idl
@@ -25,9 +25,6 @@
** -LICENSE-END-
*/
-#ifndef BMD_DECKLINKAPIDISCOVERY_H
-#define BMD_DECKLINKAPIDISCOVERY_H
-
#ifndef BMD_CONST
#if defined(_MSC_VER)
@@ -40,32 +37,29 @@
// Type Declarations
-// Interface ID Declarations
+// Enumeration Mapping
-BMD_CONST REFIID IID_IDeckLink = /* C418FBDD-0587-48ED-8FE5-640F0A14AF91 */ {0xC4,0x18,0xFB,0xDD,0x05,0x87,0x48,0xED,0x8F,0xE5,0x64,0x0F,0x0A,0x14,0xAF,0x91};
+cpp_quote("#if 0")
+cpp_quote("#endif")
// Forward Declarations
-class IDeckLink;
+interface IDeckLink;
/* Interface IDeckLink - represents a DeckLink device */
-class IDeckLink : public IUnknown
+[
+ object,
+ uuid(C418FBDD-0587-48ED-8FE5-640F0A14AF91),
+ helpstring("represents a DeckLink device")
+] interface IDeckLink : IUnknown
{
-public:
- virtual HRESULT GetModelName (/* out */ CFStringRef *modelName) = 0;
- virtual HRESULT GetDisplayName (/* out */ CFStringRef *displayName) = 0;
-
-protected:
- virtual ~IDeckLink () {}; // call Release method to drop reference count
+ HRESULT GetModelName([out] BSTR *modelName);
+ HRESULT GetDisplayName([out] BSTR *displayName);
};
-/* Functions */
-
-extern "C" {
+/* Coclasses */
-
-};
+importlib("stdole2.tlb");
-#endif /* defined(BMD_DECKLINKAPIDISCOVERY_H) */
« no previous file with comments | « third_party/decklink/win/include/DeckLinkAPIDeckControl.idl ('k') | third_party/decklink/win/include/DeckLinkAPIModes.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698