JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_win32_ComSmartPtr.h File Reference

Classes

class  juce::ComBaseClassHelper< ComClass >
 Handy base class for writing COM objects, providing ref-counting and a basic QueryInterface method. More...
 
class  juce::ComBaseClassHelperBase< ComClass >
 
class  juce::ComSmartPtr< ComClass >
 A simple COM smart pointer. More...
 
struct  juce::UUIDGetter< Type >
 
struct  juce::UUIDGetter<::IUnknown >
 

Namespaces

 juce
 

Macros

#define __uuidof(x)   UUIDGetter<x>::get()
 
#define JUCE_COMCLASS(name, guid)
 
#define JUCE_COMRESULT   HRESULT __stdcall
 
#define JUCE_DECLARE_UUID_GETTER(name, uuid)   template<> struct UUIDGetter<name> { static CLSID get() { return uuidFromString (uuid); } };
 

Functions

GUID juce::uuidFromString (const char *s) noexcept
 

Macro Definition Documentation

◆ __uuidof

◆ JUCE_COMCLASS

#define JUCE_COMCLASS (   name,
  guid 
)
Value:
struct name; \
JUCE_DECLARE_UUID_GETTER (name, guid) \
struct name

◆ JUCE_COMRESULT

#define JUCE_COMRESULT   HRESULT __stdcall

◆ JUCE_DECLARE_UUID_GETTER

#define JUCE_DECLARE_UUID_GETTER (   name,
  uuid 
)    template<> struct UUIDGetter<name> { static CLSID get() { return uuidFromString (uuid); } };