# Cinder

# include/cinder/msw/CinderMsw.h File Reference

Go to the source code of this file.

## Classes
class | cinder::msw::ComOStream
| Wraps a cinder::OStream with a COM IStream. More...
## Namespaces
namespace | cinder
namespace | cinder::msw
## Functions
Surface8u | cinder::msw::convertHBitmap (HBITMAP hbitmap)
Vec2f | cinder::msw::toVec2f (const ::POINTFX &p)
| Converts a Win32 POINTFX fixed point point to a cinder::Vec2f.
void | cinder::msw::ComDelete (void *p)
| A free function designed to interact with makeComShared.
template<typename T >
shared_ptr< T > | cinder::msw::makeComShared (T *p)
| Creates a shared_ptr whose deleter will properly decrement the reference count of a COM object.
void | cinder::msw::initializeCom (DWORD params=COINIT_APARTMENTTHREADED|COINIT_DISABLE_OLE1DDE)
| Initializes COM on this thread. Uses Boost's thread local storage to prevent multiple initializations per thread.