foobar2000 SDK  2015-01-14
Public Member Functions
CoInitializeScope

#include <win32_misc.h>

Public Member Functions

 CoInitializeScope ()
 
 CoInitializeScope (DWORD params)
 
 ~CoInitializeScope ()
 

Detailed Description

Definition at line 106 of file win32_misc.h.

Constructor & Destructor Documentation

CoInitializeScope::CoInitializeScope ( )
inline

Definition at line 108 of file win32_misc.h.

108  {
109  if (FAILED(CoInitialize(NULL))) throw pfc::exception("CoInitialize() failed");
110  }
std::exception exception
Definition: primitives.h:193
CoInitializeScope::CoInitializeScope ( DWORD  params)
inline

Definition at line 111 of file win32_misc.h.

111  {
112  if (FAILED(CoInitializeEx(NULL, params))) throw pfc::exception("CoInitialize() failed");
113  }
std::exception exception
Definition: primitives.h:193
CoInitializeScope::~CoInitializeScope ( )
inline

Definition at line 114 of file win32_misc.h.

114  {
115  CoUninitialize();
116  }

The documentation for this class was generated from the following file: