Cinder  0.9.1
Classes | Namespaces | Typedefs | Functions
CinderMsw.h File Reference
#include "cinder/Cinder.h"
#include "cinder/Vector.h"
#include "cinder/Surface.h"
#include "cinder/Stream.h"
#include <string>
#include <windows.h>
#include <Objidl.h>

Classes

struct  cinder::msw::ComDeleter
 
class  cinder::msw::ComOStream
 
class  cinder::msw::ComIStream
 

Namespaces

 cinder
 
 cinder::msw
 

Typedefs

template<typename T >
using cinder::msw::ManagedComRef = std::shared_ptr< T >
 
template<typename T >
using cinder::msw::ManagedComPtr = std::unique_ptr< T, ComDeleter >
 

Functions

Surface8uRef cinder::msw::convertHBitmap (HBITMAP hbitmap)
 
std::wstring cinder::msw::toWideString (const std::string &utf8String)
 
std::string cinder::msw::toUtf8String (const std::wstring &wideString)
 
vec2 cinder::msw::toVec2 (const ::POINTFX &p)
 
void cinder::msw::ComDelete (void *p)
 
template<typename T >
ManagedComRef< T > cinder::msw::makeComShared (T *p)
 
template<typename T >
ManagedComPtr< T > cinder::msw::makeComUnique (T *p)
 
void cinder::msw::initializeCom (DWORD params=COINIT_APARTMENTTHREADED|COINIT_DISABLE_OLE1DDE)