foobar2000 SDK  2015-01-14
Public Member Functions | Private Member Functions
OleInitializeScope

#include <win32_misc.h>

Public Member Functions

 OleInitializeScope ()
 
 ~OleInitializeScope ()
 

Private Member Functions

 PFC_CLASS_NOT_COPYABLE (OleInitializeScope, OleInitializeScope)
 

Detailed Description

Definition at line 93 of file win32_misc.h.

Constructor & Destructor Documentation

OleInitializeScope::OleInitializeScope ( )
inline

Definition at line 95 of file win32_misc.h.

95  {
96  if (FAILED(OleInitialize(NULL))) throw pfc::exception("OleInitialize() failure");
97  }
std::exception exception
Definition: primitives.h:193
OleInitializeScope::~OleInitializeScope ( )
inline

Definition at line 98 of file win32_misc.h.

98  {
99  OleUninitialize();
100  }

Member Function Documentation

OleInitializeScope::PFC_CLASS_NOT_COPYABLE ( OleInitializeScope  ,
OleInitializeScope   
)
private

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